aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/nfs/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nfs/tasks/main.yml')
-rw-r--r--roles/nfs/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nfs/tasks/main.yml b/roles/nfs/tasks/main.yml
index a563a11..4ec48be 100644
--- a/roles/nfs/tasks/main.yml
+++ b/roles/nfs/tasks/main.yml
@@ -22,11 +22,11 @@
dest: /etc/exports
owner: root
group: root
- mode: '644'
+ mode: '0644'
register: nfs_exports_conf
- name: Reload NFS mounts
- become: true
when: nfs_exports_conf is changed
+ become: true
ansible.builtin.command: /usr/sbin/exportfs -arv
changed_when: true