Fix the .pgpass path.

This commit is contained in:
Andrea Dell'Amico 2021-04-06 16:08:16 +02:00
parent 32ce224928
commit b406707653
1 changed files with 1 additions and 1 deletions

View File

@ -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