Create group for non pve physical server

This commit is contained in:
chirac 2020-10-17 19:48:17 +02:00
parent 8adf6b8105
commit 0d7bfbd872
2 changed files with 6 additions and 2 deletions

6
hosts
View file

@ -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

View file

@ -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 %}