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.
7 lines
173 B
YAML
7 lines
173 B
YAML
- name: restart zabbix agent
|
|
service:
|
|
name={{ zbx_agent_svc }}
|
|
state=restarted
|
|
- name: save firewalld configuration
|
|
command: firewall-cmd --runtime-to-permanent
|