The NFS mountpoint is a directory.
This commit is contained in:
parent
bf5d2a4054
commit
537a9c7e34
|
@ -97,6 +97,7 @@
|
||||||
- name: autofs | Force the ownership of the mount point
|
- name: autofs | Force the ownership of the mount point
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
dest: "{{ item.mountpoint_prefix }}/{{ item.path }}"
|
dest: "{{ item.mountpoint_prefix }}/{{ item.path }}"
|
||||||
|
state: "{{ item.state | default('directory') }}"
|
||||||
owner: "{{ item.owner_uid }}"
|
owner: "{{ item.owner_uid }}"
|
||||||
group: "{{ item.owner_gid }}"
|
group: "{{ item.owner_gid }}"
|
||||||
mode: "{{ item.permissions }}"
|
mode: "{{ item.permissions }}"
|
||||||
|
|
Loading…
Reference in New Issue