Skip to content

Commit 5f58d90

Browse files
authored
pgpass: run the task from the root user (#791)
1 parent 6577048 commit 5f58d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

automation/roles/pgpass/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- name: "Configure a password file ({{ postgresql_home_dir }}/.pgpass)"
44
become: true
5-
become_user: postgres
5+
become_user: root
66
ansible.builtin.copy:
77
content: |
88
{% for pgpass in postgresql_pgpass %}

0 commit comments

Comments
 (0)