Fix ansible issues
This commit is contained in:
parent
0bbfe1acec
commit
d92de81c56
4 changed files with 9 additions and 7 deletions
playbooks
|
@ -21,7 +21,7 @@
|
|||
|
||||
- name: Backup unused services
|
||||
ansible.builtin.command:
|
||||
cmd: sudo autorestic -c .autorestic.all.yml backup -l {{ item }}
|
||||
cmd: sudo autorestic -c .autorestic.all.yml backup -l {{ item.name }}
|
||||
chdir: "{{ (services_path, 'backup') | path_join }}"
|
||||
loop: "{{ unused_services_backups }}"
|
||||
changed_when: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue