forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/smart_executor/tasks/main.yml: Use a new variable to manage the smart executor removal.
This commit is contained in:
parent
b5e2f43bd7
commit
004fd2a863
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue