forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/r_connector: Fix the behaviour when we have to connect as a remote user different than root.
This commit is contained in:
parent
bdd8d9bc86
commit
36fbd99291
|
@ -2,3 +2,6 @@
|
||||||
- name: Restart the NSLCD service
|
- name: Restart the NSLCD service
|
||||||
service: name=nslcd state=restarted
|
service: name=nslcd state=restarted
|
||||||
|
|
||||||
|
- name: Restart the NSCD service
|
||||||
|
service: name=nscd state=restarted
|
||||||
|
|
||||||
|
|
|
@ -55,6 +55,10 @@
|
||||||
with_items: '{{ r_connector_ldap_map_common }}'
|
with_items: '{{ r_connector_ldap_map_common }}'
|
||||||
notify: Restart the NSLCD service
|
notify: Restart the NSLCD service
|
||||||
|
|
||||||
|
- name: Create the ldap-auth-config directory
|
||||||
|
file: dest=/etc/auth-client-config/profile.d state=directory
|
||||||
|
notify: Restart the NSLCD 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
|
||||||
|
@ -65,7 +69,9 @@
|
||||||
|
|
||||||
- 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
|
||||||
notify: Restart the NSLCD service
|
notify:
|
||||||
|
- Restart the NSLCD service
|
||||||
|
- Restart the NSCD service
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- r_connector_install
|
- r_connector_install
|
||||||
|
|
Loading…
Reference in New Issue