mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-02 14:30:45 +08:00
nagios_client: still trying to fix the template problem
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
878eebb81d
commit
2b775a8a25
@@ -1,8 +1,8 @@
|
||||
{% if ansible_distribution_major_version|int == 7 and ansible_distribution is "RedHat" %}
|
||||
{% if ansible_distribution_major_version == "7" and ansible_distribution is "RedHat" %}
|
||||
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg
|
||||
{% elif ansible_distribution_major_version|int < 30 and ansible_distribution is "Fedora" %}
|
||||
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg
|
||||
{% elif ansible_distribution_major_version|int == 8 and ansible_distribution is "RedHat" %}
|
||||
{% elif ansible_distribution_major_version == "8" and ansible_distribution is "RedHat" %}
|
||||
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway-3' -u fedmsg
|
||||
{% elif ansible_distribution_major_version|int >= 30 and ansible_distribution is "Fedora" %}
|
||||
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway-3' -u fedmsg
|
||||
|
||||
Reference in New Issue
Block a user