roles/zabbix-agent: Deploy Zabbix agent
The *zabbix-agent* role installs the Zabbix monitoring agent on the managed node, and sets it up to communicate with the Zabbix server specified by the `zabbix_server` variable. This role "should" be compatible with most distributions; it has been tested with Fedora and Gentoo.
This commit is contained in:
6
roles/zabbix-agent/handlers/main.yml
Normal file
6
roles/zabbix-agent/handlers/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: restart zabbix agent
|
||||
service:
|
||||
name={{ zbx_agent_svc }}
|
||||
state=restarted
|
||||
- name: save firewalld configuration
|
||||
command: firewall-cmd --runtime-to-permanent
|
||||
Reference in New Issue
Block a user