community.zabbix
community.zabbix copied to clipboard
define postgresql_privs due to priv deprecated in postgresql_user module | Zabbix Proxy
SUMMARY
When installing Zabbix Proxy with PostgreSQL, due to the deprecation of the "priv" parameter in the "community.postgresql.postgresql_user" module, the required permissions for "zabbix_proxy" are not defined. As a result, the schema import to the database is not performed. For this reason, the "priv" parameter has been removed, and a new task is defined using the "community.postgresql.postgresql_privs" module.
ISSUE TYPE
- Bugfix Pull Request
COMPONENT NAME
PostgreSQL | GRANT ALL PRIVILEGES ON SCHEMA public TO zabbix_proxy user
ADDITIONAL INFORMATION
Tested on PostgreSQL 15.5 (Delegated)
Seems related to https://github.com/ansible-collections/community.zabbix/issues/928
@mmayabi check your tests....they are failing.
Does this issue also affect the Zabbix Server role?
Does this issue also affect the Zabbix Server role?
I don't think so, I widely use zabbix_server role with PostgreSQL without any problems.
@mmayabi are you going to work further on this PR?