Format playbooks with ansible-lint
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: 'Install eget'
|
||||
- name: "Install eget"
|
||||
hosts: all
|
||||
|
||||
vars_files:
|
||||
@@ -9,39 +9,38 @@
|
||||
# See: https://github.com/zyedidia/eget/releases
|
||||
|
||||
vars:
|
||||
eget_install_dir: '{{ bin_prefix }}'
|
||||
eget_install_dir: "{{ bin_prefix }}"
|
||||
eget_bin_path: '{{ (eget_install_dir, "eget") | path_join }}'
|
||||
|
||||
tasks:
|
||||
|
||||
- name: 'Install eget'
|
||||
- name: "Install eget"
|
||||
ansible.builtin.import_role:
|
||||
name: eget
|
||||
vars:
|
||||
eget_version: '1.3.4'
|
||||
eget_install_path: '{{ eget_bin_path }}'
|
||||
eget_version: "1.3.4"
|
||||
eget_install_path: "{{ eget_bin_path }}"
|
||||
|
||||
- name: 'Install rclone'
|
||||
- name: "Install rclone"
|
||||
ansible.builtin.command:
|
||||
cmd: '{{ eget_bin_path }} rclone/rclone --quiet --upgrade-only --to {{ eget_install_dir }} --asset zip --tag v1.69.2'
|
||||
cmd: "{{ eget_bin_path }} rclone/rclone --quiet --upgrade-only --to {{ eget_install_dir }} --asset zip --tag v1.69.2"
|
||||
changed_when: false
|
||||
|
||||
- name: 'Install btop'
|
||||
- name: "Install btop"
|
||||
ansible.builtin.command:
|
||||
cmd: '{{ eget_bin_path }} aristocratos/btop --quiet --upgrade-only --to {{ eget_install_dir }} --tag v1.4.2'
|
||||
cmd: "{{ eget_bin_path }} aristocratos/btop --quiet --upgrade-only --to {{ eget_install_dir }} --tag v1.4.2"
|
||||
changed_when: false
|
||||
|
||||
- name: 'Install restic'
|
||||
- name: "Install restic"
|
||||
ansible.builtin.command:
|
||||
cmd: '{{ eget_bin_path }} restic/restic --quiet --upgrade-only --to {{ eget_install_dir }} --tag v0.18.0'
|
||||
cmd: "{{ eget_bin_path }} restic/restic --quiet --upgrade-only --to {{ eget_install_dir }} --tag v0.18.0"
|
||||
changed_when: false
|
||||
|
||||
- name: 'Install gobackup'
|
||||
- name: "Install gobackup"
|
||||
ansible.builtin.command:
|
||||
cmd: '{{ eget_bin_path }} gobackup/gobackup --quiet --upgrade-only --to {{ eget_install_dir }} --tag v2.14.0'
|
||||
cmd: "{{ eget_bin_path }} gobackup/gobackup --quiet --upgrade-only --to {{ eget_install_dir }} --tag v2.14.0"
|
||||
changed_when: false
|
||||
|
||||
- name: 'Install task'
|
||||
- name: "Install task"
|
||||
ansible.builtin.command:
|
||||
cmd: '{{ eget_bin_path }} go-task/task --quiet --upgrade-only --to {{ eget_install_dir }} --asset tar.gz --tag v3.43.3'
|
||||
cmd: "{{ eget_bin_path }} go-task/task --quiet --upgrade-only --to {{ eget_install_dir }} --asset tar.gz --tag v3.43.3"
|
||||
changed_when: false
|
||||
|
Reference in New Issue
Block a user