../library/roles/smartgears/fhn_manager/tasks/main.yml added fhn_manager_upgrade variable condition

This commit is contained in:
Roberto Cirillo 2017-02-28 16:44:15 +01:00
parent b9e52a6ab5
commit b31548506d
1 changed files with 1 additions and 14 deletions

View File

@ -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: - block:
- name: Remove the old fhn-manager files - name: Remove the old fhn-manager files
file: path={{ smartgears_instance_path }}/webapps/{{ fhn_manager_name }} state=absent file: path={{ smartgears_instance_path }}/webapps/{{ fhn_manager_name }} state=absent
when: fhn_manager_upgrade
become: True
become_user: '{{ d4science_user }}'
when: ( remove_fhn_manager_install ) or ( smartgears_upgrade )
tags: [ 'smartgears', 'fhn_manager', 'tomcat' ]
- block: - block: