change method to static, add restart handler for nfs-idmapd and use it

This commit is contained in:
Kevin Fenzi 2017-03-06 23:12:51 +00:00
parent a63ff7fc1e
commit 960e39e9fb
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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