--- - name: restart newrelic service: name: newrelic-sysmond state: restarted when: newrelic_service_state != 'stopped'