1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic.git synced 2024-12-11 23:41:32 +01:00
This commit is contained in:
Matthias Leutenegger 2019-08-15 14:51:42 +02:00
parent 3d89fa80c6
commit 6257b6ae1c

View file

@ -25,9 +25,9 @@
weekday: '{{ schedule_weekday | default("*") }}' weekday: '{{ schedule_weekday | default("*") }}'
month: '{{ schedule_month | default("*") }}' month: '{{ schedule_month | default("*") }}'
state: present state: present
become: yes become: true
when: when:
- restic_create_cron - restic_create_cron
- item.name is defined - item.name is defined
- item.scheduled - item.scheduled
with_items: '{{ restic_backups }}' with_items: '{{ restic_backups }}'