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