Update playbooks/borgmatic-backup.yml

This commit is contained in:
2025-07-30 17:51:04 +00:00
parent 1e0abc3147
commit c55cf91606

View File

@@ -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: