Skip to content

Commit

Permalink
pgpass: run the task from the root user (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Oct 15, 2024
1 parent 6577048 commit 5f58d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/roles/pgpass/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- name: "Configure a password file ({{ postgresql_home_dir }}/.pgpass)"
become: true
become_user: postgres
become_user: root
ansible.builtin.copy:
content: |
{% for pgpass in postgresql_pgpass %}
Expand Down

0 comments on commit 5f58d90

Please sign in to comment.