With this playbook, you can install Zabbix-agent on all versions of Debian/Ubuntu and versions 7 or 8 of RHEL/Centos machines.
- ansible version >= 2.10.4
- SSH access on machines
- sudo access on machines
- Edit the playbook specific variables based on requierments
- Specify target hosts in the form of patterns in the specific playbook
- ansible
- ansible-playbook
# Replace {{ ROLE }} and {{ INVENTORY }} with the role and inventory name
# Remove {{ TAGS }} and {{ SKIP_TAGS }} if not needed
ansible-playbook -i inventories/hosts --tags {{ TAGS }} --skip-tags {{ SKIP_TAGS }} playbooks/zabbix-agent/main.yml
MIT