all path edited

This commit is contained in:
2025-11-23 18:36:30 +01:00
parent cf21efa23f
commit 86bb693d97
+1 -1
View File
@@ -21,7 +21,7 @@
- name: Set NRPE package location - name: Set NRPE package location
set_fact: set_fact:
nrpe_location: nrpe_location:
"{% if ansible_facts['os_family'] == 'Debian' %}/usr/lib/nagios/plugins/memory_usage.py{% elif ansible_facts['os_family'] == 'RedHat' %}/usr/local/nagios/libexec/{% else %}/usr/local/libexec/nagios/{% endif %}" "{% if ansible_facts['os_family'] == 'Debian' %}/usr/lib/nagios/plugins/memory_usage.py{% elif ansible_facts['os_family'] == 'RedHat' %}/usr/local/nagios/libexec/memory_usage.py{% else %}/usr/local/libexec/nagios/memory_usage.py{% endif %}"
register: nrpe_package_location_set register: nrpe_package_location_set
- name: Debug NRPE package info - name: Debug NRPE package info