From 00eafd9e441f26680923e41304a2bde87c6162fa Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 13 Dec 2025 08:32:04 +0100 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Remove=20ansible=5Fremote?= =?UTF-8?q?=5Ftmp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit removes the `ansible_remote_tmp` variable definition to resolve warnings related to auto-created temporary directories. This change ensures the system adheres to best practices and avoids potential issues with temporary file management during Ansible execution. The removal simplifies the configuration and improves the overall stability of the deployment process. --- tasks/edit-journald.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/edit-journald.yml b/tasks/edit-journald.yml index 6eb8015..6bcd01d 100644 --- a/tasks/edit-journald.yml +++ b/tasks/edit-journald.yml @@ -10,8 +10,8 @@ - { regexp: "^#?ForwardToSyslog", line: ForwardToSyslog=no } - { regexp: "^#?SystemMaxUse", line: SystemMaxUse=100M } notify: Restart systemd-journald - vars: - ansible_remote_tmp: /tmp # Prevent warnings for auto-created tmp dir + # vars: + # ansible_remote_tmp: /tmp # Prevent warnings for auto-created tmp dir # A succesful vacuum does impact log size, but is not considered a change - name: Vacuum journalctl before