{{ ansible_managed | comment }}

[Unit]
Description=Timer for borgmatic backup

[Timer]
{% if borg_keep_hourly > 0 %}
OnCalendar=hourly
RandomizedDelaySec=60m
{% else %}
OnCalendar=daily
RandomizedDelaySec=24h
{% endif %}
FixedRandomDelay=true

[Install]
WantedBy=timers.target