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