dj-wasabi/ansible-zabbix-proxy

MySQL schema creation failure

dcdamien opened this issue · 1 comments

Describe the bug
MySQL schema import fails when database server is installed on dedicated host other then proxy itself. The reason seems to be lack of schema file on database host linked with delegation of schema import task to database host.

Installation method/version
1.6.0 installed by ansible-galaxy over git+ssh

Ansible Version

ansible 2.8.5

Targetted hosts
Concerns the following OS(es):

  • Ubuntu

Expected behavior

Schema creation should be executed on zabbix-proxy host by mysql_db module against remote MySQL server over MySQL protocol.

OR

There should be additional step of shipping schema file when schema creation is delegated to MySQL host.

It seems similar with postgres tasks.