Zabbix_host extra module - cannot comunicate with zabbix api over ssl with self signed cert.

200 views
Skip to first unread message

j2b

unread,
Jan 11, 2017, 10:19:22 AM1/11/17
to Ansible Project
Hey, guys!

Working on Ansible v2.2 role for registering host on Zabbix server (extra module zabbix_host: http://docs.ansible.com/ansible/zabbix_hostmacro_module.html).

Role --check fail, as there's an error of SSL cert verification, due to certificate being self signed. Zabbix server is accessible only over SSL, but not commercial one, with redirects from non-SSL.

Ansible error message:

Failed to connect to Zabbix server: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Some facts:
  • Ansible -v2.2.0.0 Ubuntu server 16.04
  • pip v9.x (--upgraded from v8.x)
  • zabbix-api present

Question:

Does anybody know, if there's a solution without modifying module (e.g., system/ansible wise), or this feature is not yet implemented in extra module?
Reply all
Reply to author
Forward
0 new messages