diff --git a/tasks/postgresql-streaming-replication.yml b/tasks/postgresql-streaming-replication.yml index 574a2a8..c3a6533 100644 --- a/tasks/postgresql-streaming-replication.yml +++ b/tasks/postgresql-streaming-replication.yml @@ -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