From 381bece56f757406ba931c1c854ab1ec35e50f66 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 10 Nov 2023 13:46:53 +0100 Subject: [PATCH] Disable logging into syslog when using journal. --- vars/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vars/main.yml b/vars/main.yml index 57c32f8..bd734ec 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -36,3 +36,5 @@ docker_el_packages: - docker-ce - docker-ce-cli - containerd.io + +rsyslog_disable_var_log_syslog: "{% if docker_log_to_journal %}true{% else %}false{% endif %}"