From 0fb53e0fba0b4fd9de5ba45abe56004bed3944ce Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 27 Jun 2023 08:31:19 -0700 Subject: [PATCH] base: only compress logs on log01, not everything Signed-off-by: Kevin Fenzi --- roles/base/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 1f15390db6..7a93161d84 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -540,6 +540,7 @@ copy: src=compress-log.cron dest=/etc/cron.d/ mode=0644 tags: - compress + when: inventory_hostname.startswith('log0') - name: Set crypto-policy to LEGACY on fedora 33 hosts to get 2fa working import_tasks: crypto-policies.yml