mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-03-11 20:47:07 +00:00
bin path choice, proxy fix, common tasks
This commit is contained in:
parent
a6e521986b
commit
2fe632b325
7 changed files with 36 additions and 12 deletions
|
|
@ -1,3 +1,7 @@
|
|||
- name: Common actions
|
||||
ansible.builtin.include_role:
|
||||
name: common
|
||||
|
||||
- name: Installing ansible packages
|
||||
ansible.builtin.import_tasks: ansible.yml
|
||||
when: "'ansible' in apps"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
||||
dest: "/usr/bin/hola-proxy"
|
||||
dest: "{{ bin_install_path }}/hola-proxy"
|
||||
mode: a+x
|
||||
force: true
|
||||
|
||||
|
|
@ -24,6 +24,6 @@
|
|||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
|
||||
dest: "/usr/bin/hola-proxy"
|
||||
dest: "{{ bin_install_path }}/opera-proxy"
|
||||
mode: a+x
|
||||
force: true
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
src: "https://github.com/InioX/matugen/releases/download/v2.4.1/matugen-2.4.1-x86_64.tar.gz"
|
||||
dest: "/usr/bin/" # TODO: user local install (?)
|
||||
dest: "{{ bin_install_path }}/"
|
||||
mode: a+x
|
||||
keep_newer: true
|
||||
extra_opts:
|
||||
|
|
@ -64,6 +64,6 @@
|
|||
become: true
|
||||
ansible.builtin.get_url:
|
||||
url: "https://github.com/AvengeMedia/dgop/releases/download/{{ dgop_version.tag }}/dgop-{{ dgop_version.tag }}-linux-amd64"
|
||||
dest: "/usr/bin/dgop" # TODO: user local install (?)
|
||||
dest: "{{ bin_install_path }}/dgop"
|
||||
mode: a+x
|
||||
force: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue