full path
This commit is contained in:
@@ -20,7 +20,8 @@
|
|||||||
|
|
||||||
- name: Set NRPE package location
|
- name: Set NRPE package location
|
||||||
set_fact:
|
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/memory_usage.py'{% elif ansible_facts['os_family'] == 'RedHat' %}/usr/local/nagios/libexec/{% else %}/usr/local/libexec/nagios/{% endif %}"
|
||||||
register: nrpe_package_location_set
|
register: nrpe_package_location_set
|
||||||
|
|
||||||
- name: Debug NRPE package info
|
- name: Debug NRPE package info
|
||||||
|
|||||||
Reference in New Issue
Block a user