DEV-805: added postgres-02 to backup hosts file in qa and prodnso

qa
Hoan To 3 years ago
parent 9be0882562
commit aeb0730c95

@ -141,6 +141,7 @@ shared_service_kube_ip: "{{ stage_private_ingress_loadbalancer_ip | default('-')
shared_service_maria_hostname: "{{ stage }}-maria-01" shared_service_maria_hostname: "{{ stage }}-maria-01"
shared_service_postgres_01_hostname: "{{ stage }}-postgres-01" shared_service_postgres_01_hostname: "{{ stage }}-postgres-01"
shared_service_postgres_02_hostname: "{{ stage }}-postgres-02"
shared_service_elastic_stack_01_hostname: "{{ stage }}-elastic-stack-elastic-01" shared_service_elastic_stack_01_hostname: "{{ stage }}-elastic-stack-elastic-01"
shared_service_elastic_stack_02_hostname: "{{ stage }}-elastic-stack-elastic-02" shared_service_elastic_stack_02_hostname: "{{ stage }}-elastic-stack-elastic-02"
shared_service_elastic_stack_03_hostname: "{{ stage }}-elastic-stack-elastic-03" shared_service_elastic_stack_03_hostname: "{{ stage }}-elastic-stack-elastic-03"
@ -200,6 +201,10 @@ shared_service_hosts: [
ip: "{{ shared_service_pg_master_ip }}", ip: "{{ shared_service_pg_master_ip }}",
name: "{{ shared_service_postgres_01_hostname }}" name: "{{ shared_service_postgres_01_hostname }}"
}, },
{
ip: "{{ shared_service_pg_slave_ip }}",
name: "{{ shared_service_postgres_02_hostname }}"
},
{ {
ip: "{{ shared_service_harbor_ip }}", ip: "{{ shared_service_harbor_ip }}",
name: "{{ shared_service_harbor_hostname }}" name: "{{ shared_service_harbor_hostname }}"

@ -141,6 +141,7 @@ shared_service_kube_ip: "{{ stage_private_ingress_loadbalancer_ip | default('-')
shared_service_maria_hostname: "{{ stage }}-maria-01" shared_service_maria_hostname: "{{ stage }}-maria-01"
shared_service_postgres_01_hostname: "{{ stage }}-postgres-01" shared_service_postgres_01_hostname: "{{ stage }}-postgres-01"
shared_service_postgres_02_hostname: "{{ stage }}-postgres-02"
shared_service_elastic_stack_01_hostname: "{{ stage }}-elastic-stack-elastic-01" shared_service_elastic_stack_01_hostname: "{{ stage }}-elastic-stack-elastic-01"
shared_service_elastic_stack_02_hostname: "{{ stage }}-elastic-stack-elastic-02" shared_service_elastic_stack_02_hostname: "{{ stage }}-elastic-stack-elastic-02"
shared_service_elastic_stack_03_hostname: "{{ stage }}-elastic-stack-elastic-03" shared_service_elastic_stack_03_hostname: "{{ stage }}-elastic-stack-elastic-03"
@ -200,6 +201,10 @@ shared_service_hosts: [
ip: "{{ shared_service_pg_master_ip }}", ip: "{{ shared_service_pg_master_ip }}",
name: "{{ shared_service_postgres_01_hostname }}" name: "{{ shared_service_postgres_01_hostname }}"
}, },
{
ip: "{{ shared_service_pg_slave_ip }}",
name: "{{ shared_service_postgres_02_hostname }}"
},
{ {
ip: "{{ shared_service_harbor_ip }}", ip: "{{ shared_service_harbor_ip }}",
name: "{{ shared_service_harbor_hostname }}" name: "{{ shared_service_harbor_hostname }}"

Loading…
Cancel
Save