community.zabbix
community.zabbix copied to clipboard
fix issue with userparameters failing when trying to deploy a script
SUMMARY
When deploying scripts, ansible was attempting to create userparameters, rather than deploying the script file. This change adds an additional conditional where the userparameters task does not try use defined scripts.
ISSUE TYPE
- Bugfix Pull Request
COMPONENT NAME
community.zabbix.roles.zabbix_agent, all userparameter tasks in tasks/userparameters.yml
ADDITIONAL INFORMATION
Currently, while the module states it supports deploying zabbix scripts, it does not work and fails the ansible run.