--- # restart nslcd service to apply changes - name: restart nslcd service: name: "{{ nslcd_daemon }}" state: restarted # restart autofs service to apply changes - name: restart autofs service: name: "{{ autofs_daemon }}" state: restarted