ANXS / postgresql

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

added optional groups in users privileges #525

Open aksenk opened 2 years ago

aksenk commented 2 years ago

Now we can add users to the specified groups if required

gclough commented 2 years ago

@aksenk, "groups" isn't listed as a parameter:

https://docs.ansible.com/ansible/2.6/modules/postgresql_user_module.html#parameters

If there is something I'm missing, then could you update the doco with some examples of usage, and add some CI tests to ensure it's working.

aksenk commented 2 years ago

d contested?

Hi @gclough.

Thanks for your answer.

This parameter is present, but was added only in version 2.9 https://docs.ansible.com/ansible/2.9/modules/postgresql_user_module.html#parameter-groups

What can we do about it?

MrMegaNova commented 6 months ago

With newer versions I think this PR should be merged Ansible 2.9 is now an older version, actually the oldest version we test on this role