diff --git a/config/ansible/tasks/servers/geesefs.yml b/config/ansible/tasks/servers/geesefs.yml index ee818c2..ba703b9 100644 --- a/config/ansible/tasks/servers/geesefs.yml +++ b/config/ansible/tasks/servers/geesefs.yml @@ -54,7 +54,7 @@ ansible.builtin.file: path: "{{ temp_dir.path }}" state: absent - when: temp_dir.path is defined + when: needs_installation | bool and temp_dir.path is defined - name: Create mount directory if it doesn't exist ansible.builtin.file: