double quotes again

This commit is contained in:
2025-11-23 18:25:52 +01:00
parent 74dedb20d4
commit 17d02b021b
+1 -2
View File
@@ -20,8 +20,7 @@
- name: Set NRPE package location
set_fact:
nrpe_location: >
{% if ansible_facts['os_family'] == 'Debian' %}'/usr/lib/nagios/plugins/'{% elif ansible_facts['os_family'] == 'RedHat' %}/usr/local/nagios/libexec/{% else %}/usr/local/libexec/nagios/{% endif %}
nrpe_location: "{% if ansible_facts['os_family'] == 'Debian' %}'/usr/lib/nagios/plugins/'{% elif ansible_facts['os_family'] == 'RedHat' %}/usr/local/nagios/libexec/{% else %}/usr/local/libexec/nagios/{% endif %}"
register: nrpe_package_location_set
- name: Debug NRPE package info