diff --git a/hosts b/hosts index 6c2061a..7f11a74 100644 --- a/hosts +++ b/hosts @@ -30,6 +30,7 @@ re2o-ldap.adm.auro.re re2o-db.adm.auro.re pendragon.adm.auro.re services-bdd-local.adm.auro.re +backup.adm.auro.re ############################################################################### @@ -108,8 +109,12 @@ routeur-pacaterie-backup.adm.auro.re ############################################################################### # Emilie du Chatelet +[edc_server] +perceval.adm.auro.re + [edc_pve] chapalux.adm.auro.re +escalope.adm.auro.re [edc_vm] routeur-edc.adm.auro.re @@ -129,7 +134,6 @@ ldap-replica-edc-backup.adm.auro.re # George Sand [gs_pve] -perceval.adm.auro.re lancelot.adm.auro.re odin.adm.auro.re diff --git a/roles/ldap-client/templates/nslcd.conf.j2 b/roles/ldap-client/templates/nslcd.conf.j2 index 1cb7856..00a3f2e 100644 --- a/roles/ldap-client/templates/nslcd.conf.j2 +++ b/roles/ldap-client/templates/nslcd.conf.j2 @@ -15,7 +15,7 @@ uri ldap://{{ uri }} uri ldap://{{ uri }} {% endfor %} {% endif %} -{% if 'edc_vm' in group_names or 'edc_pve' in group_names %} +{% if 'edc_vm' in group_names or 'edc_pve' in group_names or 'edc_server' in group_names %} {% for uri in groups['ldap_replica_edc'] %} uri ldap://{{ uri }} {% endfor %}