2023-06-29 21:28:49 +02:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
become: true
|
|
|
|
tasks:
|
|
|
|
|
2023-07-30 18:52:30 +02:00
|
|
|
- include: ~/git/ansible_vagrant/tasks/install-zabbix-repo.yml
|
2023-07-01 12:49:46 +02:00
|
|
|
- include: ~/git/ansible_vagrant/tasks/install-zabbix_agent.yml
|
|
|
|
- include: ~/git/ansible_vagrant/tasks/configure-zabbix_agent.yml
|
|
|
|
- include: ~/git/ansible_vagrant/tasks/service-zabbix_agent.yml
|
2023-06-29 21:28:49 +02:00
|
|
|
|
|
|
|
handlers:
|
|
|
|
- name: restart zabbix-agent
|
|
|
|
service: name=zabbix-agent state=restarted
|