style: make ansible-lint happier

This commit is contained in:
VC
2024-07-05 11:53:33 +02:00
parent 59c7369d68
commit 2d3fd5bd8e
3 changed files with 26 additions and 24 deletions

View File

@@ -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