Add ldap replica rives
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
pz2891 2020-11-09 18:53:36 +01:00 committed by root
parent d6590ea1a8
commit 37e3fe2231
2 changed files with 12 additions and 4 deletions

11
hosts
View file

@ -159,10 +159,8 @@ dhcp-rives-backup.adm.auro.re
unifi-rives.adm.auro.re unifi-rives.adm.auro.re
dns-rives-backup.adm.auro.re dns-rives-backup.adm.auro.re
radius-rives-backup.adm.auro.re radius-rives-backup.adm.auro.re
routeur-rives-backup.adm.auro.re
ldap-replica-rives.adm.auro.re
###############################################################################
# Groups by location
# -aurore services # -aurore services
[aurore:children] [aurore:children]
@ -238,6 +236,7 @@ ldap_replica_pacaterie
ldap_replica_edc ldap_replica_edc
ldap_replica_gs ldap_replica_gs
ldap_replica_ovh ldap_replica_ovh
ldap_replica_rives
[ldap_replica_fleming] [ldap_replica_fleming]
ldap-replica-fleming.adm.auro.re ldap-replica-fleming.adm.auro.re
@ -253,3 +252,7 @@ ldap-replica-gs.adm.auro.re
[ldap_replica_ovh] [ldap_replica_ovh]
ldap-replica-ovh.adm.auro.re ldap-replica-ovh.adm.auro.re
[ldap_replica_rives]
ldap-replica-rives.adm.auro.re

View file

@ -10,6 +10,11 @@ gid nslcd
uri ldap://{{ uri }} uri ldap://{{ uri }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if 'rives_vm' in group_names or 'rives_pve' in group_names %}
{% for uri in groups['ldap_replica_rives'] %}
uri ldap://{{ uri }}
{% endfor %}
{% endif %}
{% if 'pacaterie_vm' in group_names or 'pacaterie_pve' in group_names %} {% if 'pacaterie_vm' in group_names or 'pacaterie_pve' in group_names %}
{% for uri in groups['ldap_replica_pacaterie'] %} {% for uri in groups['ldap_replica_pacaterie'] %}
uri ldap://{{ uri }} uri ldap://{{ uri }}