config/roles/installs/tasks/proxy.yml
2025-08-24 00:22:54 +03:00

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