I hit a module resolution failure when running this role in a clean ansible-core environment.
Observed failure:
- With ansible-core 2.15, the role fails while resolving the bare PostgreSQL modules in the imported user/database task files.
Error excerpt:
ERROR! couldn't resolve module/action 'postgresql_user'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in 'tasks/users.yml' at the task named:
- name: Ensure PostgreSQL users are present.
The role also uses related bare PostgreSQL modules such as postgresql_db and postgresql_privs. These may be available in environments that install the full Ansible distribution or already include community collections, but clean ansible-core-only installs need an explicit documented collection requirement or fully qualified community.postgresql.* module references.
I hit a module resolution failure when running this role in a clean ansible-core environment.
Observed failure:
Error excerpt:
The role also uses related bare PostgreSQL modules such as
postgresql_dbandpostgresql_privs. These may be available in environments that install the full Ansible distribution or already include community collections, but clean ansible-core-only installs need an explicit documented collection requirement or fully qualifiedcommunity.postgresql.*module references.