mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 22:11:01 +08:00
Split these out for now.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user