mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-06-16 01:17:59 +02:00
- renamed borgmatic_cron_name to borgmatic_timer_cron_name to be more convergent.
- Change recommendations implemented by m3nu so that creation of a timer (systemd or cron) is optional and can be selected via borgmatic_timer.
This commit is contained in:
parent
de797a3b48
commit
dd0521b816
@ -14,8 +14,8 @@ borg_retention_policy:
|
|||||||
keep_weekly: 4
|
keep_weekly: 4
|
||||||
keep_monthly: 6
|
keep_monthly: 6
|
||||||
borg_version: false
|
borg_version: false
|
||||||
borgmatic_timer_systemd: true
|
borgmatic_timer_cron_name: "borgmatic"
|
||||||
borgmatic_cron_name: "borgmatic"
|
borgmatic_timer: systemd
|
||||||
borgmatic_timer_hour: "{{ range(0, 5) | random(seed=inventory_hostname) }}"
|
borgmatic_timer_hour: "{{ range(0, 5) | random(seed=inventory_hostname) }}"
|
||||||
borgmatic_timer_minute: "{{ range(0, 59) | random(seed=inventory_hostname) }}"
|
borgmatic_timer_minute: "{{ range(0, 59) | random(seed=inventory_hostname) }}"
|
||||||
borgmatic_timer_day_of_the_week: "{{ ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] | random }}" # or ""
|
borgmatic_timer_day_of_the_week: "{{ ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] | random }}" # or ""
|
||||||
|
Loading…
Reference in New Issue
Block a user