diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index 5290ecaac0..a7c6ae20e5 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 b9ade0f188..8bfb7629ce 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 7dc80d9145..4ec58617ce 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