[constellation] Separate dev and production databases

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-03-19 20:28:00 +01:00
parent 6c20ca2534
commit e87c9bc641
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ interfaces:
loc_constellation: loc_constellation:
allowed_hosts: allowed_hosts:
- 'constellation-dev.crans.org' - 'constellation-dev.crans.org'
database:
user: 'constellation-dev'
name: 'constellation-dev'
comnpay: comnpay:
tpe: 'HOM-832-854' tpe: 'HOM-832-854'
secret: '{{ vault.comnpay_homologation_secret }}' secret: '{{ vault.comnpay_homologation_secret }}'

View File

@ -2,7 +2,7 @@
--- ---
- hosts: constellation - hosts: constellation
vars: vars:
constellation: "{{ glob_constellation | combine(loc_constellation | default({})) }}" constellation: "{{ glob_constellation | combine(loc_constellation | default({}), recursive=True) }}"
nginx: "{{ glob_nginx | combine(loc_nginx | default({})) }}" nginx: "{{ glob_nginx | combine(loc_nginx | default({})) }}"
roles: roles:
- constellation - constellation