- name: restart nagios on noc
  shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
  delegate_to: "{{ nagios_server }}"

- name: restart nrpe on rabbitmq
  service:
    name: nrpe
    state: restarted
  delegate_to: "{{ rabbitmq_server }}"