Fix ansible issues

This commit is contained in:
Tobias Reisinger 2024-10-29 00:13:56 +01:00
parent 0bbfe1acec
commit d92de81c56
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 9 additions and 7 deletions

View file

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