diff --git a/smartgears/smart_executor/tasks/main.yml b/smartgears/smart_executor/tasks/main.yml index 9611f579..81108539 100644 --- a/smartgears/smart_executor/tasks/main.yml +++ b/smartgears/smart_executor/tasks/main.yml @@ -6,7 +6,7 @@ - name: Remove the smart executor files if we want to remove it file: path={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }} state=absent - when: not smart_executor_install + when: remove_smart_executor_install # NOTE: Install as the smartgears user so we do not mess with the permissions - name: Get the smart executor plugin