forked from ISTI-ansible-roles/ansible-roles
../library/roles/smartgears/fhn_manager/tasks/main.yml added fhn_manager_upgrade variable condition
This commit is contained in:
parent
b9e52a6ab5
commit
b31548506d
|
@ -1,21 +1,8 @@
|
|||
---
|
||||
- block:
|
||||
- name: Remove the old smart executor files if present
|
||||
file: path={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }} state=absent
|
||||
|
||||
become: True
|
||||
become_user: '{{ d4science_user }}'
|
||||
when: ( not smart_executor_install ) or ( smartgears_upgrade )
|
||||
tags: [ 'smartgears', 'fhn_manager', 'tomcat' ]
|
||||
|
||||
- block:
|
||||
- name: Remove the old fhn-manager files
|
||||
file: path={{ smartgears_instance_path }}/webapps/{{ fhn_manager_name }} state=absent
|
||||
|
||||
become: True
|
||||
become_user: '{{ d4science_user }}'
|
||||
when: ( remove_fhn_manager_install ) or ( smartgears_upgrade )
|
||||
tags: [ 'smartgears', 'fhn_manager', 'tomcat' ]
|
||||
when: fhn_manager_upgrade
|
||||
|
||||
|
||||
- block:
|
||||
|
|
Loading…
Reference in New Issue