Configuring the NFS server using variables is more customizable
This commit is contained in:
parent
18b2cb8ccf
commit
831f453512
3 changed files with 154 additions and 150 deletions
|
@ -94,11 +94,12 @@
|
|||
|
||||
- name: Mount NFSv4 tools directory
|
||||
ansible.posix.mount:
|
||||
src: files:tools
|
||||
src: "{{ nfs_server }}:tools"
|
||||
path: /lmn/tools
|
||||
opts: rw,_netdev,x-systemd.automount,x-systemd.idle-timeout=10s,timeo=100,soft
|
||||
state: present
|
||||
fstype: nfs4
|
||||
when: nfs_server is defined
|
||||
|
||||
- name: Mount NFSv4 home directory
|
||||
ansible.posix.mount:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue