--- - name: restart zabbix-proxy service: name=zabbix-proxy state=restarted when: not zabbix_proxy_started.changed # Do not restart if the service has just started ...