From 24bf145a34be4e9a26701d4a034904c6852a867d Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 21 Jun 2024 22:08:03 -0500 Subject: [PATCH] all: Do not auto-update on weekends I don't want machines updating themselves, rebooting, and potentially breaking stuff over the weekend. --- group_vars/all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index 0428ea8..3ceed45 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -107,7 +107,7 @@ dnf_automatic_email_to: gyrfalcon@ebonfire.com dnf_automatic_email_host: mail.pyrocufflink.blue dnf_automatic_schedule: >- - {{ ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + {{ ['Mon', 'Tue', 'Wed', 'Thu'] | random(seed=inventory_hostname) | string }} *-*-* 04:00:00 America/Chicago