ansible-roles/nagios-nrpe/handlers/main.yml
David Prevot fafff25c20
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Add “when: not ansible_check_mode” to allow more --check
2022-12-02 17:40:43 +01:00

14 lines
232 B
YAML

---
- name: restart nagios-nrpe-server
service:
name: nagios-nrpe-server
state: restarted
when: not ansible_check_mode
- name: restart nrpe
service:
name: nrpe
state: restarted
when: not ansible_check_mode