From 6f97857b9154c0840ee6d9f721738cf2de511ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Thu, 13 Apr 2023 17:57:54 +0200 Subject: [PATCH] post-install: execute motd-carp-state.sh only once an hour --- CHANGELOG | 1 + roles/post-install/tasks/motd.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 2d33a5c..92ffd8a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -69,6 +69,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * evobackup: zzz_evobackup upstream release 22.12, and call zzz_evobackup with bash * base: install bash, now needed for zzz_evobackup script * base: dump-server-state.sh upstream release 23.03 +* post-install: execute motd-carp-state.sh only once an hour ### Fixed diff --git a/roles/post-install/tasks/motd.yml b/roles/post-install/tasks/motd.yml index f04a3b0..ff42a90 100644 --- a/roles/post-install/tasks/motd.yml +++ b/roles/post-install/tasks/motd.yml @@ -27,6 +27,7 @@ cron: name: dynamic motd for CARP job: "/bin/sh /usr/share/scripts/motd-carp-state.sh" + minute: "0" disabled: true when: - not (root_crontab_content.stdout