mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-31 19:58:25 +00:00
34 lines
1,006 B
YAML
34 lines
1,006 B
YAML
|
|
- name: Get latest hola-proxy version
|
||
|
|
community.general.github_release:
|
||
|
|
user: Snawoot
|
||
|
|
repo: hola-proxy
|
||
|
|
action: latest_release
|
||
|
|
register: hola_version
|
||
|
|
|
||
|
|
- name: "Installing hola-proxy {{ hola_version.tag }}"
|
||
|
|
become: true
|
||
|
|
ansible.builtin.get_url:
|
||
|
|
remote_src: yes
|
||
|
|
# TODO: insert v before version ??
|
||
|
|
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
||
|
|
dest: "/usr/bin/hola-proxy"
|
||
|
|
mode: a+x
|
||
|
|
force: true
|
||
|
|
|
||
|
|
- name: Get latest opera-proxy version
|
||
|
|
community.general.github_release:
|
||
|
|
user: Snawoot
|
||
|
|
repo: opera-proxy
|
||
|
|
action: latest_release
|
||
|
|
register: opera_version
|
||
|
|
|
||
|
|
- name: "Installing opera-proxy {{ opera_version.tag }}"
|
||
|
|
become: true
|
||
|
|
ansible.builtin.get_url:
|
||
|
|
remote_src: yes
|
||
|
|
# TODO: insert v before version ??
|
||
|
|
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
|
||
|
|
dest: "/usr/bin/hola-proxy"
|
||
|
|
mode: a+x
|
||
|
|
force: true
|