Add monitoring role and playbook for zabbix agent2 (incl. docker config)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Install Zabbix agent package
|
||||
ansible.builtin.apt:
|
||||
name: "{{ monitoring_zabbix_agent_package }}"
|
||||
state: present
|
||||
|
||||
- name: Ensure Zabbix agent service is enabled and started
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ monitoring_zabbix_agent_service }}"
|
||||
state: started
|
||||
enabled: yes
|
||||
Reference in New Issue
Block a user