diff --git a/smartgears/accounting-service/tasks/main.yml b/smartgears/accounting-service/tasks/main.yml index 102fdd3b..866c4f5e 100644 --- a/smartgears/accounting-service/tasks/main.yml +++ b/smartgears/accounting-service/tasks/main.yml @@ -17,7 +17,7 @@ maven_artifact: artifact_id={{ accounting_service_name }} version={{ accounting_service_version | default('latest') }} group_id={{ accounting_service_group_id }} extension={{ accounting_service_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ accounting_service_file }} register: accounting_download - - name: Remove the accounting service app + - name: Remove the old accounting service app file: dest={{ smartgears_instance_path }}/webapps/{{ accounting_service_name }} state=absent when: ( accounting_download | changed )