Merge branch 'ldap' into 'newinfra'

[ldap] Petit nettoyage

See merge request nounous/ansible!201
certbot_on_virtu
_benjamin 2021-02-03 15:18:50 +00:00
commit deb15b0819
2 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,6 @@ glob_ldap:
- 172.16.10.12 - 172.16.10.12
- 172.16.10.13 - 172.16.10.13
base: 'dc=crans,dc=org' base: 'dc=crans,dc=org'
local: false # local configuration but default value
home_nounous: home_nounous:
ip: 172.16.10.1 ip: 172.16.10.1

View File

@ -8,7 +8,7 @@ uid nslcd
gid nslcd gid nslcd
# The location at which the LDAP server(s) should be reachable. # The location at which the LDAP server(s) should be reachable.
{% if ldap.local %} {% if 'ldap_server' in group_names %}
uri ldapi:/// uri ldapi:///
{% else %} {% else %}
{% for server in ldap.servers %} {% for server in ldap.servers %}