diff --git a/roles/pips/tasks/nagios_tasks.yml b/roles/pips/tasks/nagios_tasks.yml index 438d158..acdcc4a 100644 --- a/roles/pips/tasks/nagios_tasks.yml +++ b/roles/pips/tasks/nagios_tasks.yml @@ -117,7 +117,7 @@ src: memory_usage.py dest: "{{ nrpe_location }}" mode: '0755' - become: true + become: true when: - nrpe_installed is defined - psutil_installed is defined