Merge pull request #10 from dverhelst/bug/idempotent_cron
As per Ansible 2.3 it's possible to use seed from the inventory hostname
This commit is contained in:
commit
9abce45afa
@ -33,8 +33,8 @@ borgbackup_retention:
|
|||||||
yearly: 1
|
yearly: 1
|
||||||
|
|
||||||
borgbackup_cron_day: "*"
|
borgbackup_cron_day: "*"
|
||||||
borgbackup_cron_hour: "{{ 5|random }}"
|
borgbackup_cron_hour: "{{ 5|random(seed=inventory_hostname) }}"
|
||||||
borgbackup_cron_minute: "{{ 59|random }}"
|
borgbackup_cron_minute: "{{ 59|random(seed=inventory_hostname) }}"
|
||||||
|
|
||||||
borgbackup_appendonly: False
|
borgbackup_appendonly: False
|
||||||
borgbackup_appendonly_repoconfig: False
|
borgbackup_appendonly_repoconfig: False
|
||||||
|
Loading…
Reference in New Issue
Block a user