Add new ldap replica at ovh

This commit is contained in:
chirac 2020-11-03 14:21:26 +01:00
parent a213e18d9c
commit 518560b392
2 changed files with 10 additions and 1 deletions

6
hosts
View file

@ -55,7 +55,7 @@ passbolt.adm.auro.re
vpn-ovh.adm.auro.re
docker-ovh.adm.auro.re
switchs-manager.adm.auro.re
ldap-replica-ovh.adm.auro.re
[ovh_testing_vm]
#re2o-test.adm.auro.re
@ -231,6 +231,7 @@ ldap_replica_fleming
ldap_replica_pacaterie
ldap_replica_edc
ldap_replica_gs
ldap_replica_ovh
[ldap_replica_fleming]
ldap-replica-fleming.adm.auro.re
@ -243,3 +244,6 @@ ldap-replica-edc.adm.auro.re
[ldap_replica_gs]
ldap-replica-gs.adm.auro.re
[ldap_replica_ovh]
ldap-replica-ovh.adm.auro.re

View file

@ -25,6 +25,11 @@ uri ldap://{{ uri }}
uri ldap://{{ uri }}
{% endfor %}
{% endif %}
{% if 'ovh_vm' in group_names or 'ovh_container' in group_names or 'ovh_pve' in group_names %}
{% for uri in groups['ldap_replica_ovh'] %}
uri ldap://{{ uri }}
{% endfor %}
{% endif %}
uri {{ ldap_master_uri }}
# The search base that will be used for all queries.