Closed maco1717 closed 5 years ago
Turns out that the examples I used:
zabbix_server_database_type: mysql, zabbix_server_database_type_long:
and the documentation mentions:
zabbix_server_database: mysql, zabbix_server_database_long:
I changed those variables names and the role worked.
Thanks.
Hi @maco1717
Thank you for your answer. I'll make sure this will be consistent.
I merged a PR to fix this. Will close this issue. Thank you for reporting it! 👍
Hi,
Thanks for the awesome library of roles you have done.
I am quite new to Ansible and looking forward to learn while I improve my systems.
Describe the bug When trying to use this role to deploy a deploy a zabbix server+zabbix web frontend I get an error running the TASK: postgresql | create database...
The weird thing is I configured the role to use mysql not postgresql at all.
Does postgresql need to be installed and configured for me to use this role?
Installation method/version
Ansible Version
Targetted hosts Concerns the following OS(es):
Expected behavior I expect zabbix to get provisioned on the target machine using mysql, not postgresql, I was hoping the postgrep bit to be skipped.
Additional context here is my playbook
here is the -vvv output of the task failing
but of course this is expected to fail as not configured, I would expect this task to be skipped.