From dd0521b816bcb83e2c58b343d4c7f6462b879aa6 Mon Sep 17 00:00:00 2001 From: Frank Dornheim <524257+conloos@users.noreply.github.com> Date: Wed, 8 Mar 2023 15:06:47 +0100 Subject: [PATCH] - 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. --- defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index a2913e3..c2c89ad 100755 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -14,8 +14,8 @@ borg_retention_policy: keep_weekly: 4 keep_monthly: 6 borg_version: false -borgmatic_timer_systemd: true -borgmatic_cron_name: "borgmatic" +borgmatic_timer_cron_name: "borgmatic" +borgmatic_timer: systemd borgmatic_timer_hour: "{{ range(0, 5) | 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 ""