forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster: Change the smart_executor conditional.
library/roles/smartgears/smart_executor/tasks/main.yml: Change the conditionals so we can let the role remove the application when smart_executor_install is set to 'False'.
This commit is contained in:
parent
bac130afce
commit
e72ba92355
|
@ -3,9 +3,7 @@
|
|||
|
||||
- name: Remove the old smart executor files
|
||||
file: path={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }} state=absent
|
||||
when:
|
||||
- smart_executor_install
|
||||
- smartgears_upgrade
|
||||
when: ( not smart_executor_install ) or ( smartgears_upgrade )
|
||||
|
||||
# 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