Split these out for now.

This commit is contained in:
Kevin Fenzi 2014-02-11 19:58:15 +00:00
parent 83c31d8487
commit 64cd952dac

View file

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