Update playbooks/borgmatic-backup.yml
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
- name: Generate deterministic backup offset
|
||||
set_fact:
|
||||
backup_offset: >-
|
||||
{{ (inventory_hostname | hash('md5') | int(base=16)) % backup_window }}
|
||||
{{ ((inventory_hostname | hash('md5') | int(base=16)) % backup_window) | int }}
|
||||
|
||||
- name: Split offset into minutes and seconds
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user