- name: restart zabbix agent
service:
name={{ zbx_agent_svc }}
state=restarted
- name: save firewalld configuration
command: firewall-cmd --runtime-to-permanent