Prevent borgmatic_cron_checks_day from becoming 0. By @wolfskaempf (#44)
borgmatic_cron_checks_day could become 0 in the previous configuration, causing cron to reject the /etc/cron.d/borgmatic vile
This commit is contained in:
parent
5c67c0d935
commit
30981f3d59
@ -30,6 +30,6 @@ bb_repo_name: "{{ inventory_hostname }}"
|
||||
bb_sshkey: "{{ root_user['ssh_public_key'] }}"
|
||||
borgmatic_cron_hour: "{{ 6 | random }}"
|
||||
borgmatic_cron_minute: "{{ 59 | random }}"
|
||||
borgmatic_cron_checks_day: "{{ 28 | random }}"
|
||||
borgmatic_cron_checks_day: "{{ range(1, 28) | random }}"
|
||||
borgmatic_cron_checks_hour: "{{ range(7, 24) | random }}"
|
||||
borgmatic_cron_checks_minute: "{{ 59 | random }}"
|
||||
|
Loading…
Reference in New Issue
Block a user