From aa54dcffdc979a6a7e25e74e12f1e74d365089f8 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Mon, 9 Oct 2023 18:24:53 +0200 Subject: [PATCH] set access mode to 0000 to disable writes in mount point --- roles/nfs-host/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nfs-host/tasks/main.yml b/roles/nfs-host/tasks/main.yml index 9f67277..f98c2bb 100644 --- a/roles/nfs-host/tasks/main.yml +++ b/roles/nfs-host/tasks/main.yml @@ -18,7 +18,7 @@ state: directory owner: nobody group: nogroup - mode: '0777' + mode: '0000' # modify /etc/exports# # echo '/srv/nfs 10.0.0.0/24(rw,sync,no_subtree_check)'