You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
492 B
YAML
17 lines
492 B
YAML
---
|
|
shared_service_pg_master_ip: "{{ stage_server_infos
|
|
| selectattr('name', 'match', stage + '-postgres-01' )
|
|
| map(attribute='private_ip')
|
|
| list
|
|
| first
|
|
| default('-') }}"
|
|
shared_service_pg_slave_ip: "{{ stage_server_infos
|
|
| selectattr('name', 'match', stage + '-postgres-02' )
|
|
| map(attribute='private_ip')
|
|
| list
|
|
| first
|
|
| default('-') }}"
|
|
|
|
shared_service_postgres_01_hostname: "{{ stage }}-postgres-01"
|
|
shared_service_postgres_02_hostname: "{{ stage }}-postgres-02"
|