This commit is contained in:
2025-11-23 17:30:32 +01:00
parent 25ac8d85fb
commit 70a7a62dd1
+3 -3
View File
@@ -24,9 +24,9 @@
{% if ansible_facts['os_family'] == 'Debian' %} {% if ansible_facts['os_family'] == 'Debian' %}
/usr/lib/nagios/plugins/ /usr/lib/nagios/plugins/
{% elif ansible_facts['os_family'] == 'RedHat' %} {% elif ansible_facts['os_family'] == 'RedHat' %}
/usr/local/nagios/libexec /usr/local/nagios/libexec/
{% else %} {% else %}
/usr/local/libexec/nagios /usr/local/libexec/nagios/
{% endif %} {% endif %}
register: nrpe_package_location_set register: nrpe_package_location_set
@@ -119,7 +119,7 @@
owner: root owner: root
group: root group: root
mode: '0755' mode: '0755'
remote_src: true remote_src: false
become: true become: true
when: when:
- nrpe_installed is defined - nrpe_installed is defined