Skip to content

Commit

Permalink
Merge conflict resolved - updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pjan committed Jan 28, 2015
2 parents a23f3c8 + a11e3be commit 087bb0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ postgresql_users:

# List of user privileges to be applied (optional)
postgresql_user_privileges:
- name: baz # user name
db: foobar # database
priv: "ALL" # privilege string format: example: INSERT,UPDATE/table:SELECT/anothertable:ALL
- name: baz # user name
db: foobar # database
priv: "ALL" # privilege string format: example: INSERT,UPDATE/table:SELECT/anothertable:ALL
role_attr_flags: "CREATEDB" # role attribute flags
```
There's a lot more knobs and bolts to set, which you can find in the defaults/main.yml
Expand Down
1 change: 1 addition & 0 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
priv: "{{item.priv | default('ALL')}}"
state: present
login_user: "{{postgresql_admin_user}}"
role_attr_flags: "{{item.role_attr_flags | default('')}}"
sudo: yes
sudo_user: "{{postgresql_admin_user}}"
with_items: postgresql_user_privileges
Expand Down

0 comments on commit 087bb0c

Please sign in to comment.