Fix the .pgpass path.
This commit is contained in:
parent
32ce224928
commit
b406707653
|
@ -106,7 +106,7 @@
|
|||
become_user: postgres
|
||||
copy:
|
||||
content: "{{ postgresql_streaming_replication_primary_node }}:{{ psql_db_port }}:replication:{{ psql_streaming_replication_user }}:{{ psql_streaming_replication_pwd }}"
|
||||
dest: '{{ postgresql_user_home }}.pgpass'
|
||||
dest: '{{ postgresql_user_home }}/.pgpass'
|
||||
mode: '0400'
|
||||
|
||||
- name: Check if a replica is already enabled
|
||||
|
|
Loading…
Reference in New Issue