Hi,
Currently, Ansible’s postgresql_user module supports many of the PostgreSQL CREATE ROLE.
Yet the options (i) IN ROLE (which allows to list one or more existing roles to which the new role will be immediately added as a new member) and (ii) ROLE (which allows to list one or more existing roles which are automatically added as members of the new role) are not supported.
Among the PRs I found one, namely “postgresql_user: add in_role support #22613”, which aims to add support for (the above mentioned) IN ROLE option to the postgresql_user module.
However, I did not find a PR related to adding support for the ROLE option.
Further, I searched (with no luck) for related emails both in the ansible-project and ansible-devel groups.
Thus, the objective of this email if to ask if anyone is working and/or is aware of someone working (and/or a PR related) to add support for the ROLE option to the postgresql_user module.
Thanks in advance,
d.