Skip to content

Commit

Permalink
Corrected user tasks when custom ports are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
passbe committed Nov 6, 2014
1 parent 25b7c60 commit 85b6f3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
postgresql_user:
name: "{{item.name}}"
password: "{{item.pass | default('pass')}}"
port: "{{postgresql_port}}"
state: present
login_host: "{{item.host | default('localhost')}}"
with_items: postgresql_users
Expand All @@ -18,6 +19,7 @@
postgresql_user:
name: "{{item.name}}"
db: "{{item.db}}"
port: "{{postgresql_port}}"
priv: "{{item.priv | default('ALL')}}"
state: present
login_host: "{{item.host | default('localhost')}}"
Expand Down

0 comments on commit 85b6f3d

Please sign in to comment.