From 004fd2a863fd79155faf5e17513aa1a016b9fa0c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 27 Sep 2016 18:46:23 +0200 Subject: [PATCH] library/roles/smartgears/smart_executor/tasks/main.yml: Use a new variable to manage the smart executor removal. --- smartgears/smart_executor/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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