[constellation] Separate dev and production databases
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
							parent
							
								
									6c20ca2534
								
							
						
					
					
						commit
						e87c9bc641
					
				| 
						 | 
					@ -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 }}'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue