Configuring the NFS server using variables is more customizable

This commit is contained in:
Raphael Dannecker 2025-03-02 11:12:16 +01:00
parent 18b2cb8ccf
commit 831f453512
3 changed files with 154 additions and 150 deletions

View file

@ -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: