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:
Pierre-Yves Chibon 2021-02-12 12:37:26 +01:00
parent 890dd31cb0
commit a32dabc92e

View file

@ -309,11 +309,12 @@
src={{ item }}.j2 dest=/etc/nrpe.d/{{ item }} owner=root group=root mode=0644
with_items:
- check_systemd_units.cfg
when: inventory_hostname.startswith('pagure02')
when: inventory_hostname.startswith('pagure')
notify:
- restart nrpe
tags:
- nagios_client
- nagios_client
- pagure
- name: Check if the fedmsg group exists
shell: /usr/bin/getent group fedmsg | /usr/bin/wc -l | tr -d ' '