From b31548506d91366c9d4e71bf6f03c15a71a8ecfc Mon Sep 17 00:00:00 2001 From: Roberto Date: Tue, 28 Feb 2017 16:44:15 +0100 Subject: [PATCH] ../library/roles/smartgears/fhn_manager/tasks/main.yml added fhn_manager_upgrade variable condition --- smartgears/fhn_manager/tasks/main.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/smartgears/fhn_manager/tasks/main.yml b/smartgears/fhn_manager/tasks/main.yml index 69013f69..96c8660a 100644 --- a/smartgears/fhn_manager/tasks/main.yml +++ b/smartgears/fhn_manager/tasks/main.yml @@ -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: