library/roles/smartgears/fhn_manager/tasks/main.yml: Fix the upgrade scenario.

This commit is contained in:
Andrea Dell'Amico 2017-03-16 15:08:24 +01:00
parent 5358e7d3fe
commit 7b8f4b7950
1 changed files with 0 additions and 2 deletions

View File

@ -3,9 +3,7 @@
- name: Remove the old fhn-manager files
file: path={{ smartgears_instance_path }}/webapps/{{ fhn_manager_name }} state=absent
when: fhn_manager_upgrade
- block:
# NOTE: Install as the smartgears user so we do not mess with the permissions
- name: Get the fhn-manager-service
maven_artifact: artifact_id={{ fhn_manager_name }} version={{ fhn_manager_version | default(omit) }} group_id={{ fhn_group_id }} extension={{ fhn_extension | default('war') }} repository_url={{ fhn_manager_repository_url }} dest={{ smartgears_user_home }}/{{ fhn_manager_file }}