ansible/roles/ldap_client/handlers/main.yml

17 lines
386 B
YAML
Raw Normal View History

---
- name: Reconfigure libnss-ldapd package
command: dpkg-reconfigure libnss-ldapd -f noninteractive
- name: Restart nslcd service
service:
name: nslcd
state: restarted
# Empty cache when nslcd is restarted
- name: Restart nscd service
service:
name: nscd
state: restarted
ignore_errors: true # Sometimes service do not exist
2019-02-19 10:49:18 +01:00
listen: Restart nslcd service