nagios_client: install the pagure systemd checks on all pagure instances
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
890dd31cb0
commit
a32dabc92e
1 changed files with 3 additions and 2 deletions
|
@ -309,11 +309,12 @@
|
||||||
src={{ item }}.j2 dest=/etc/nrpe.d/{{ item }} owner=root group=root mode=0644
|
src={{ item }}.j2 dest=/etc/nrpe.d/{{ item }} owner=root group=root mode=0644
|
||||||
with_items:
|
with_items:
|
||||||
- check_systemd_units.cfg
|
- check_systemd_units.cfg
|
||||||
when: inventory_hostname.startswith('pagure02')
|
when: inventory_hostname.startswith('pagure')
|
||||||
notify:
|
notify:
|
||||||
- restart nrpe
|
- restart nrpe
|
||||||
tags:
|
tags:
|
||||||
- nagios_client
|
- nagios_client
|
||||||
|
- pagure
|
||||||
|
|
||||||
- name: Check if the fedmsg group exists
|
- name: Check if the fedmsg group exists
|
||||||
shell: /usr/bin/getent group fedmsg | /usr/bin/wc -l | tr -d ' '
|
shell: /usr/bin/getent group fedmsg | /usr/bin/wc -l | tr -d ' '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue