commit | a0686ef48ec73b91b24d0143cb65a417d507e2ff | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Thu Oct 19 16:17:23 2017 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Thu Oct 19 16:17:23 2017 -0500 |
tree | 8cbf1306ebe0bb37e24c96c5786256952afaf7e2 | |
parent | ef4654ac83fdfd88e006a3b499c14f263741bf15 [diff] |
added dev portal
diff --git a/tasks/postgres.yml b/tasks/postgres.yml index 6758aae..97f2bd0 100644 --- a/tasks/postgres.yml +++ b/tasks/postgres.yml
@@ -1,9 +1,9 @@ --- -- name: Obtain pgmaster IP for DC 2, if not provided +- name: Obtain pg IP for dev portal set_fact: dp_pg_ip: "{{ hostvars[groups['dp-db'][0]][interface_name].ipv4.address }}" -- name: Set pgmaster_ip for DC 2, in cache, if defined +- name: Update cache with PG IP for dev portal cache: key: dp_pg_ip value: '{{ dp_pg_ip }}'