From 8bd00c5defa95a66ec29a2f3c4db5e509a263c9a Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Mon, 9 Oct 2023 18:18:51 -0600 Subject: [PATCH] chmod on host tmp folder Signed-off-by: Florent Poinsard --- ansible/roles/host/tasks/clean.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/host/tasks/clean.yml b/ansible/roles/host/tasks/clean.yml index 910e39d2b..acfe0dadb 100644 --- a/ansible/roles/host/tasks/clean.yml +++ b/ansible/roles/host/tasks/clean.yml @@ -16,6 +16,8 @@ block: - name: Remove tmp directories shell: | - rm -Rf /tmp/* + rm -Rf /tmp/ + mkdir /tmp + chmod 1777 /tmp rm -Rf /root/.ansible/tmp/* changed_when: false