This role will install zabbix agent
- Ubuntu 14.04
The defaults/main.yml
should be pretty clear on the usage and values. The
version used by defaults are:
zabbix_version
: 2.2zabbix_update_cache_valid_time
: 3600zabbix_conf_server_ip
: 10.10.10.10
The tests in the respository should be pretty straight forward, but here are some examples:
playbook.yml:
- name: Install and run zabbix-agent
hosts: all
sudo: True
vars:
zabbix_conf_server_ip: 10.10.10.10
roles:
- { role: ansible-zabbix-agent }
- Extract supervisor to it's own role
- Extend to other distros