forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/r_connector: Fix the configuration of the ldap services.
This commit is contained in:
parent
ea08934146
commit
637a420b6d
|
@ -1,6 +1,6 @@
|
||||||
passwd: compat ldap
|
passwd: compat ldap
|
||||||
group: compat
|
group: compat
|
||||||
shadow: compat
|
shadow: compat ldap
|
||||||
|
|
||||||
hosts: files dns
|
hosts: files dns
|
||||||
networks: files
|
networks: files
|
||||||
|
|
|
@ -53,19 +53,27 @@
|
||||||
- name: Install the pam ldap configuration. We cannot use the debian tools, they are broken on ubuntu in non interactive mode
|
- name: Install the pam ldap configuration. We cannot use the debian tools, they are broken on ubuntu in non interactive mode
|
||||||
copy: src={{ item }} dest=/etc/pam.d/{{ item }}
|
copy: src={{ item }} dest=/etc/pam.d/{{ item }}
|
||||||
with_items: '{{ r_connector_ldap_map_common }}'
|
with_items: '{{ r_connector_ldap_map_common }}'
|
||||||
notify: Restart the NSLCD service
|
notify:
|
||||||
|
- Restart the NSLCD service
|
||||||
|
- Restart the NSCD service
|
||||||
|
|
||||||
- name: Create the ldap-auth-config directory
|
- name: Create the ldap-auth-config directory
|
||||||
file: dest=/etc/auth-client-config/profile.d state=directory
|
file: dest=/etc/auth-client-config/profile.d state=directory
|
||||||
notify: Restart the NSLCD service
|
notify:
|
||||||
|
- Restart the NSLCD service
|
||||||
|
- Restart the NSCD service
|
||||||
|
|
||||||
- name: Install the ldap-auth-config file
|
- name: Install the ldap-auth-config file
|
||||||
copy: src=ldap-auth-config dest=/etc/auth-client-config/profile.d/ldap-auth-config
|
copy: src=ldap-auth-config dest=/etc/auth-client-config/profile.d/ldap-auth-config
|
||||||
notify: Restart the NSLCD service
|
notify:
|
||||||
|
- Restart the NSLCD service
|
||||||
|
- Restart the NSCD service
|
||||||
|
|
||||||
- name: Install the nsswitch.conf file
|
- name: Install the nsswitch.conf file
|
||||||
copy: src=nsswitch.conf dest=/etc/nsswitch.conf
|
copy: src=nsswitch.conf dest=/etc/nsswitch.conf
|
||||||
notify: Restart the NSLCD service
|
notify:
|
||||||
|
- Restart the NSLCD service
|
||||||
|
- Restart the NSCD service
|
||||||
|
|
||||||
- name: Install the nslcd configuration
|
- name: Install the nslcd configuration
|
||||||
template: src=nslcd.conf.j2 dest=/etc/nslcd.conf mode=0640 owner=root group=nslcd
|
template: src=nslcd.conf.j2 dest=/etc/nslcd.conf mode=0640 owner=root group=nslcd
|
||||||
|
|
|
@ -31,3 +31,4 @@ tls_reqcert demand
|
||||||
# The search scope.
|
# The search scope.
|
||||||
#scope sub
|
#scope sub
|
||||||
|
|
||||||
|
bind_timelimit 120
|
||||||
|
|
Loading…
Reference in New Issue