Don't hardcode gulp IP

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-07-01 19:16:22 +02:00
parent 9e5ff5e71e
commit af0fe7d282
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
---
glob_home_nounou:
mounts:
- ip: 172.17.10.9
mountpoint: /pool/home
- ip: "{{ query('ldap', 'ip', 'gulp', 'cachan-adm') | ipv4 | first }}"
mountpoint: /rpool/home
target: /home_nounou
name: home_nounou
owner: root

View File

@ -3,5 +3,5 @@ glob_ldap:
uri: 'ldaps://re2o-ldap.cachan-adm.crans.org/'
users_base: 'cn=Utilisateurs,dc=crans,dc=org'
servers:
- 172.17.10.204
- "{{ query('ldap', 'ip', 'gulp', 'cachan-adm') | ipv4 | first }}"
base: 'dc=crans,dc=org'