not sure how this works for the nginx.conf template

This commit is contained in:
Stephen Smoogen 2020-01-07 22:26:32 +00:00 committed by Pierre-Yves Chibon
parent e688a716a6
commit 1c99386fb9

View file

@ -1,4 +1,4 @@
{% if (( ansible_distribution_major_version == "8" ) and ( ansible_distribution is "RedHat" )) or ((ansible_distribution_major_version|int >= 30) and (ansible_distribution is "Fedora")) %}
{% if (( ansible_distribution_major_version == "8" ) and ( ansible_distribution == "RedHat" )) or ((ansible_distribution_major_version|int >= 30) and (ansible_distribution == "Fedora")) %}
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway-3' -u fedmsg
{% else %}
command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg