ANXS / postgresql

Fairly full featured Ansible role for Postgresql.
http://anxs.io/
MIT License
848 stars 573 forks source link

Allow passing through of role params #485

Closed stefanhorning closed 7 months ago

gclough commented 2 years ago

@stefanhorning , thanks for the pull request.

Currently we add permissions like this via the postgresql_user_privileges:

# 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
    role_attr_flags: "CREATEDB" # role attribute flags

I feel doing it in two places could get confusing?

stefanhorning commented 2 years ago

Yes, if there is already a place to do this you are probably right. Currently don't really remember what the motivation was to add this (over a year ago), might have just missed the other option.

MrMegaNova commented 7 months ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.