1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
ansible_role_restic/tasks/run_backup.yml

9 lines
252 B
YAML
Raw Normal View History

---
- name: (RUN BACKUP) Run backup script
ansible.builtin.shell:
cmd: "{{ restic_script_dir }}/backup-{{ item.name | replace(' ', '') }}.sh"
2023-08-31 15:00:19 +02:00
no_log: "{{ restic_no_log }}"
with_items: '{{ restic_backups }}'
when:
- item.name is defined