From 18cde94846046197402cc40334805a7fac23421c Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Wed, 22 Jan 2025 14:40:52 +0100 Subject: [PATCH] Mount nfs share for additional programs and data --- roles/lmn_mount/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/lmn_mount/tasks/main.yml b/roles/lmn_mount/tasks/main.yml index 5c650f4..011c209 100644 --- a/roles/lmn_mount/tasks/main.yml +++ b/roles/lmn_mount/tasks/main.yml @@ -92,6 +92,14 @@ state: present fstype: none +- name: Mount NFSv4 tools directory + ansible.posix.mount: + src: files:tools + path: /lmn/tools + opts: rw,_netdev,x-systemd.automount,x-systemd.idle-timeout=10s,timeo=100,soft + state: present + fstype: nfs4 + - name: Mount NFSv4 home directory ansible.posix.mount: src: server:/default-school