diff --git a/ansible/roles/nfs_mounts/tasks/autofs.yml b/ansible/roles/nfs_mounts/tasks/autofs.yml index daf9f01adbe2a8b5957d43323ff7285ee8705a1d..301c2660f103f799e79d33fdf59bb27a302c91db 100644 --- a/ansible/roles/nfs_mounts/tasks/autofs.yml +++ b/ansible/roles/nfs_mounts/tasks/autofs.yml @@ -1,16 +1,16 @@ --- - name: Create base directories ansible.builtin.file: - path: "{{ item.dir }}" + path: "{{ item.path }}" state: directory mode: "{{ item.mode }}" loop: - - { dir: /local, mode: '0777' } - - { dir: /share, mode: '0755' } + - { path: /local, mode: '0777' } + - { path: /share, mode: '0755' } - name: Create mountpoint dirs ansible.builtin.file: - path: "{{ item.dir }}" + path: "{{ item.path }}" state: directory mode: "{{ item.mode }}" loop: