From e87c9bc641fb0ffbfcba27bd1cfa7b6babaa84c9 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 19 Mar 2021 20:28:00 +0100 Subject: [PATCH] [constellation] Separate dev and production databases Signed-off-by: Yohann D'ANELLO --- host_vars/constellation-dev.adm.crans.org.yml | 3 +++ plays/constellation.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/host_vars/constellation-dev.adm.crans.org.yml b/host_vars/constellation-dev.adm.crans.org.yml index 01fe3788..0abd9bb4 100644 --- a/host_vars/constellation-dev.adm.crans.org.yml +++ b/host_vars/constellation-dev.adm.crans.org.yml @@ -5,6 +5,9 @@ interfaces: loc_constellation: allowed_hosts: - 'constellation-dev.crans.org' + database: + user: 'constellation-dev' + name: 'constellation-dev' comnpay: tpe: 'HOM-832-854' secret: '{{ vault.comnpay_homologation_secret }}' diff --git a/plays/constellation.yml b/plays/constellation.yml index 068395c6..64f7c64d 100755 --- a/plays/constellation.yml +++ b/plays/constellation.yml @@ -2,7 +2,7 @@ --- - hosts: constellation vars: - constellation: "{{ glob_constellation | combine(loc_constellation | default({})) }}" + constellation: "{{ glob_constellation | combine(loc_constellation | default({}), recursive=True) }}" nginx: "{{ glob_nginx | combine(loc_nginx | default({})) }}" roles: - constellation