# restart zabbix-agent service
- name: restart zabbix-agent
service:
name: "{{ zabbix_agent_daemon }}"
state: restarted