forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/fhn_manager/tasks/main.yml: Fix the upgrade scenario.
This commit is contained in:
parent
5358e7d3fe
commit
7b8f4b7950
|
@ -3,9 +3,7 @@
|
||||||
- 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
|
when: fhn_manager_upgrade
|
||||||
|
|
||||||
|
|
||||||
- block:
|
|
||||||
# NOTE: Install as the smartgears user so we do not mess with the permissions
|
# NOTE: Install as the smartgears user so we do not mess with the permissions
|
||||||
- name: Get the fhn-manager-service
|
- 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 }}
|
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 }}
|
||||||
|
|
Loading…
Reference in New Issue