specify nslcd URI in auth1 container
This commit is contained in:
parent
2ac852d746
commit
09ad06cac3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue