1
0
pet-project-server/playbook-eget.yml

33 lines
880 B
YAML

---
- name: 'Install eget'
hosts: all
vars_files:
- 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'
ansible.builtin.import_role:
name: eget
vars:
eget_version: '1.3.4'
eget_install_path: '{{ eget_bin_path }}'
- name: 'Install rclone with eget'
ansible.builtin.command:
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: '{{ eget_bin_path }} aristocratos/btop --quiet --upgrade-only --to {{ eget_install_dir }} --tag v1.4.2'
changed_when: false