ansible_role_restic/tasks/run_backup.yml

4 lines
148 B
YAML

---
- name: (RUN BACKUP) Run backup script
ansible.builtin.shell:
cmd: "{{ restic_script_dir }}/backup-{{ item.name | replace(' ', '') }}.sh"