aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/nfs/handlers/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-12-17 05:38:20 +0100
committerEgor Tensin <egor@tensin.name>2024-12-17 05:48:46 +0100
commitce73aab536e5cf3b91a2305e2f292627d157892b (patch)
tree8cbce44c71f7094db4dfb724e10d8d59fa31c1bd /roles/nfs/handlers/main.yml
parentv4.1.0 (diff)
downloadinfra-ansible-ce73aab536e5cf3b91a2305e2f292627d157892b.tar.gz
infra-ansible-ce73aab536e5cf3b91a2305e2f292627d157892b.zip
add nfs role
Diffstat (limited to '')
-rw-r--r--roles/nfs/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
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