specify nslcd URI in auth1 container

This commit is contained in:
Max Erenberg 2021-06-27 16:33:15 -04:00
parent 2ac852d746
commit 09ad06cac3
1 changed files with 6 additions and 0 deletions

View File

@ -96,6 +96,12 @@
src: ldap/nsswitch.conf
dest: /etc/nsswitch.conf
notify: restart nslcd
- name: specify URI in nslcd.conf
replace:
path: /etc/nslcd.conf
regexp: '^uri .*$'
replace: "uri ldap://ldap1.{{ base_domain }}"
notify: restart nslcd
- name: disable mail_badpass for sudo
replace:
path: /etc/sudoers