Is possible sync the inventory of Ansible tower (AWX) running in containers with Zabbix inventory?
Any code or playbook to make this appreciate a lot!
Is possible sync the inventory of Ansible tower (AWX) running in containers with Zabbix inventory?
Any code or playbook to make this appreciate a lot!
Copyright © 2021 Jogjafile Inc.
Yes, It is possible.. You need to fetch hosts from yous inventory of ansible tower and use zabbix modules to update hosts on your zabbix server.
here are the list of modules for zabbix
and here is the module to create/update/delete hosts on zabbix
You playbooks should execute community.zabbix.zabbix_host module in loop with_inventory_hostnames from a specific group or all hosts in the inventory.