mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-06 07:28:44 +00:00
29 lines
910 B
YAML
29 lines
910 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:
|
|
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
|
dest: "{{ bin_install_path }}/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:
|
|
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/opera-proxy.linux-amd64"
|
|
dest: "{{ bin_install_path }}/opera-proxy"
|
|
mode: a+x
|
|
force: true
|