diff --git a/roles/pips/tasks/nagios_tasks.yml b/roles/pips/tasks/nagios_tasks.yml index af722cc..b833baa 100644 --- a/roles/pips/tasks/nagios_tasks.yml +++ b/roles/pips/tasks/nagios_tasks.yml @@ -21,7 +21,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 %} + {% 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