Category Archives: Ansible

Debian, Ansible & zabbix Part I

Merging Ansible with Zabbix under Debian 10.

I recenty rediscovered Ansible and wondered if I could use Ansible to create trigger actions and scripts to maintain my home lab. It turns out you can with some adjustments to the Zabbix server.

As an example I use Zabbix to monitor the available updates on my Debian vm’s. When updates are detected, I fire up my dedicated Ansible vm and run my update playbook, which works fine. The only downside is that I must boot the dedicated Ansible server and run the playbooks against the “to be updated” hosts. This is a bit time consumming and wondered if I could update the vm using Zabbix.

What if I could run the playbooks directly from within the Zabbix instance? Mmmm!

I went on the net looking for examples of such howto’s, but wasn’t able to find any. Guess I had to make my own then.

Continue reading Debian, Ansible & zabbix Part I