Restart nrpe on these 2 plays as well.
This commit is contained in:
parent
1dd4281772
commit
5912f8b204
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue