Split these out for now.
This commit is contained in:
parent
83c31d8487
commit
64cd952dac
1 changed files with 15 additions and 4 deletions
|
@ -57,15 +57,26 @@
|
||||||
- check_postfix_queue.cfg
|
- check_postfix_queue.cfg
|
||||||
- check_lock.cfg
|
- check_lock.cfg
|
||||||
- check_fedmsg_hub_proc.cfg
|
- check_fedmsg_hub_proc.cfg
|
||||||
- check_openvpn_link.cfg
|
|
||||||
when: datacenter != 'phx2'
|
|
||||||
- check_unbound_proc.cfg
|
|
||||||
when: inventory_hostname.startswith('unbound')
|
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
tags:
|
tags:
|
||||||
- config
|
- 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
|
- name: nrpe service start
|
||||||
service: name=nrpe state=running enabled=true
|
service: name=nrpe state=running enabled=true
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue