Update eget installation path
This commit is contained in:
parent
4ae238a09a
commit
dda5cb4449
@ -6,6 +6,12 @@
|
||||
- vars/ports.yml
|
||||
- vars/vars.yml
|
||||
|
||||
# See: https://github.com/zyedidia/eget/releases
|
||||
|
||||
vars:
|
||||
eget_install_dir: '/usr/local/bin'
|
||||
eget_bin_path: '{{ (eget_install_dir, "eget") | path_join }}'
|
||||
|
||||
tasks:
|
||||
|
||||
- name: 'Install eget'
|
||||
@ -13,14 +19,14 @@
|
||||
name: eget
|
||||
vars:
|
||||
eget_version: '1.3.4'
|
||||
eget_install_path: '/usr/bin/eget'
|
||||
eget_install_path: '{{ eget_bin_path }}'
|
||||
|
||||
- name: 'Install rclone with eget'
|
||||
ansible.builtin.command:
|
||||
cmd: '/usr/bin/eget rclone/rclone --quiet --upgrade-only --to /usr/bin --tag v1.68.2 --asset zip'
|
||||
cmd: '{{ eget_bin_path }} rclone/rclone --quiet --upgrade-only --to {{ eget_install_dir }} --tag v1.69.2 --asset zip'
|
||||
changed_when: false
|
||||
|
||||
- name: 'Install btop with eget'
|
||||
ansible.builtin.command:
|
||||
cmd: '/usr/bin/eget aristocratos/btop --quiet --upgrade-only --to /usr/bin --tag v1.4.0'
|
||||
cmd: '{{ eget_bin_path }} aristocratos/btop --quiet --upgrade-only --to {{ eget_install_dir }} --tag v1.4.2'
|
||||
changed_when: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user