diff options
-rw-r--r-- | handlers/restart_services.yml | 3 | ||||
-rw-r--r-- | roles/nfs/client/files/idmapd.conf | 2 | ||||
-rw-r--r-- | roles/nfs/client/tasks/main.yml | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index 5290ecaac..a7c6ae20e 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -170,3 +170,6 @@ - name: flush journald tmpfiles to persistent store command: pkill -f -USR1 systemd-journald + +- name: restart idmapd + service: name=nfs-idmapd state=restarted diff --git a/roles/nfs/client/files/idmapd.conf b/roles/nfs/client/files/idmapd.conf index b9ade0f18..8bfb7629c 100644 --- a/roles/nfs/client/files/idmapd.conf +++ b/roles/nfs/client/files/idmapd.conf @@ -28,7 +28,7 @@ Domain = fedoraproject.org # is a dynamically loadable plugin library. # New methods may be defined and inserted in the list. # The default is "nsswitch". -Method = nsswitch +Method = static # Optional. This is a comma-separated, ordered list of # translation methods to be used for translating GSS diff --git a/roles/nfs/client/tasks/main.yml b/roles/nfs/client/tasks/main.yml index 7dc80d914..4ec58617c 100644 --- a/roles/nfs/client/tasks/main.yml +++ b/roles/nfs/client/tasks/main.yml @@ -3,6 +3,8 @@ copy: src=idmapd.conf dest=/etc/idmapd.conf tags: - nfs/client + notify: + - restart idmapd - name: route config for netapp network copy: src=route-eth1.{{ datacenter }} dest=/etc/sysconfig/network-scripts/route-eth1 |