mirror of
https://github.com/roles-ansible/ansible_role_restic/
synced 2024-09-19 23:11:33 +02:00
8 lines
252 B
YAML
8 lines
252 B
YAML
---
|
|
- name: (RUN BACKUP) Run backup script
|
|
ansible.builtin.shell:
|
|
cmd: "{{ restic_script_dir }}/backup-{{ item.name | replace(' ', '') }}.sh"
|
|
no_log: "{{ restic_no_log }}"
|
|
with_items: '{{ restic_backups }}'
|
|
when:
|
|
- item.name is defined
|