Fix mismatch with the ansible cron interface
This commit is contained in:
parent
d9ab865fd9
commit
38d1cd78e1
@ -36,7 +36,7 @@ rsnapshot:
|
||||
- interval: daily
|
||||
minute: "1-59/2" # every odd minute
|
||||
#minute: 0
|
||||
#hourly: 0
|
||||
#hour: 0
|
||||
backups:
|
||||
- name: staticsite
|
||||
source: "/opt/nginx/{{ nginx_name }}/"
|
||||
|
@ -43,7 +43,7 @@
|
||||
job: "/usr/bin/rsnapshot -c {{ rsnapshot_confdir }}/{{ item.0.name }}.conf {{ item.1.interval }}"
|
||||
user: "root"
|
||||
minute: "{{ item.1.minute | default('*') }}"
|
||||
hour: "{{ item.1.hourly | default('*') }}"
|
||||
hour: "{{ item.1.hour | default('*') }}"
|
||||
day: "{{ item.1.day | default('*') }}"
|
||||
weekday: "{{ item.1.weekday | default('*') }}"
|
||||
month: "{{ item.1.month | default('*') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user