1
1
ansible_vagrant/playbook/install-zabbix-agent.yml

17 lines
585 B
YAML

---
- hosts: all
become: true
tasks:
- include: ~/git/ansible_vagrant/tasks/install-zabbix-repo.yml
- include: ~/git/ansible_vagrant/tasks/install-docker-repo.yml
- include: ~/git/ansible_vagrant/tasks/install-zabbix_agent.yml
- include: ~/git/ansible_vagrant/tasks/configure-zabbix_agent.yml
- include: ~/git/ansible_vagrant/tasks/install-docker.yml
- include: ~/git/ansible_vagrant/tasks/service-docker.yml
- include: ~/git/ansible_vagrant/tasks/service-zabbix_agent.yml
handlers:
- name: restart zabbix-agent
service: name=zabbix-agent state=restarted