From ce73aab536e5cf3b91a2305e2f292627d157892b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 17 Dec 2024 05:38:20 +0100 Subject: add nfs role --- roles/nfs/handlers/main.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 roles/nfs/handlers/main.yml (limited to 'roles/nfs/handlers') diff --git a/roles/nfs/handlers/main.yml b/roles/nfs/handlers/main.yml new file mode 100644 index 0000000..e92820d --- /dev/null +++ b/roles/nfs/handlers/main.yml @@ -0,0 +1,4 @@ +- name: Reload NFS mounts + become: true + ansible.builtin.command: /usr/sbin/exportfs -arv + listen: nfs_configured -- cgit v1.2.3