While running an Ansible playbook to create or update a Zabbix host using the community.zabbix.zabbix_host module, the task fails with a 404 Not Found error. It seems that the module is receiving an invalid JSON response from the Zabbix API, potentially indicating an incorrect or missing URL endpoint.
Environment
**Zabbix server version 7
Zabbix module: community.zabbix.zabbix_host
Python version: 3.10
OS: Ubuntu
Apache: 2.4.58
Error Details
TASK [Create or update Zabbix host] **** An exception occurred during task execution. To see the full traceback, use -vvv. The error was:
While running an Ansible playbook to create or update a Zabbix host using the
community.zabbix.zabbix_host
module, the task fails with a404 Not Found
error. It seems that the module is receiving an invalid JSON response from the Zabbix API, potentially indicating an incorrect or missing URL endpoint.Environment
community.zabbix.zabbix_host
Error Details
TASK [Create or update Zabbix host] **** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: