Restart nrpe on these 2 plays as well.

This commit is contained in:
Kevin Fenzi 2014-02-11 20:29:56 +00:00
parent 1dd4281772
commit 5912f8b204

View file

@ -69,6 +69,8 @@
- name: install nrpe openvpn check config
template: src=check_openvpn_link.cfg.j2 dest=/etc/nrpe.d/check_openvpn_link.cfg
when: datacenter != 'phx2'
notify:
- restart nrpe
#
# The actual items files here end in .j2 (they are templates)
# So when adding or modifying them change the .j2 version in git.
@ -76,6 +78,8 @@
- name: install nrpe unbound check config
template: src=check_unbound_proc.cfg.j2 dest=/etc/nrpe.d/check_unbound_proc.cfg
when: inventory_hostname.startswith('unbound')
notify:
- restart nrpe
- name: nrpe service start
service: name=nrpe state=running enabled=true