library/roles/smartgears/smart_executor/tasks/main.yml: Use a new variable to manage the smart executor removal.

This commit is contained in:
Andrea Dell'Amico 2016-09-27 18:46:23 +02:00
parent b5e2f43bd7
commit 004fd2a863
1 changed files with 1 additions and 1 deletions

View File

@ -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