configpolicy/roles/zabbix-agent/handlers/main.yml

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