diff --git a/tasks/nfs-kernel-server.yml b/tasks/nfs-kernel-server.yml index 316d4be..9515acd 100644 --- a/tasks/nfs-kernel-server.yml +++ b/tasks/nfs-kernel-server.yml @@ -78,7 +78,7 @@ when: ansible_distribution_file_variety == "Debian" - name: Refresh the exports - shell: exportfs -a + shell: exportfs -r when: update_exportfs is changed tags: ['san', 'nfs', 'storage', 'kernel_nfs', 'kernel_nfs_conf']