style: make ansible-lint happier
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
---
|
||||
|
||||
- name: download restic
|
||||
get_url:
|
||||
- name: Download restic
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ restic_download_url }}"
|
||||
dest: "/tmp"
|
||||
mode: 0644
|
||||
|
||||
- name: uncompress restic
|
||||
shell:
|
||||
- name: Uncompress restic
|
||||
ansible.builtin.command:
|
||||
cmd: "bzip2 -dc /tmp/restic_{{ restic_version }}_{{ restic_system }}_{{ restic_architecture }}.bz2 > {{ restic_path }}"
|
||||
changed_when: true
|
||||
|
||||
- name: check restic exe
|
||||
file:
|
||||
- name: Check restic exe
|
||||
ansible.builtin.file:
|
||||
path: "{{ restic_path }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
|
Reference in New Issue
Block a user