Skip to content

Commit

Permalink
Merge pull request #171 from neilime/patch-1
Browse files Browse the repository at this point in the history
Fix  error when port is not the default one
  • Loading branch information
geerlingguy committed Jun 30, 2021
2 parents 1932dbc + fc7aaea commit 04ed912
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
postgresql_user:
name: "{{ item.name }}"
password: "{{ item.password | default(omit) }}"
login_host: "{{ item.login_host | default('localhost') }}"
login_password: "{{ item.login_password | default(omit) }}"
login_user: "{{ item.login_user | default(postgresql_user) }}"
login_unix_socket: "{{ item.login_unix_socket | default(postgresql_unix_socket_directories[0]) }}"
port: "{{ item.port | default(omit) }}"
with_items: "{{ postgresql_users }}"
no_log: "{{ postgres_users_no_log }}"
become: true
Expand Down

0 comments on commit 04ed912

Please sign in to comment.