commit | e95b9319467ac067d9ab2b14b0942ae1f22c54e9 | [log] [tgz] |
---|---|---|
author | Carlos Frias <carlos.frias.01@gmail.com> | Tue Nov 14 15:45:18 2017 -0500 |
committer | Carlos Frias <carlos.frias.01@gmail.com> | Tue Nov 14 15:45:18 2017 -0500 |
tree | 8f083cb35d32ff0349c2aaa22eb191dbc10588fc | |
parent | 2d4fcb35b17499f7e9fa97e0ebad594e58514bc1 [diff] |
updated pg_ip
diff --git a/tasks/postgres.yml b/tasks/postgres.yml index 588108b..70307b5 100644 --- a/tasks/postgres.yml +++ b/tasks/postgres.yml
@@ -73,7 +73,8 @@ - block: - name: Obtain postgres ip - set_fact: - pg_ip: "{{ groups['pg'][0] }}" + cache: + key: 'pg_ip' + value: "{{ groups['pg'][0] }}" when: groups['pgmaster'] is not defined and groups['pgstandby'] is not defined \ No newline at end of file