diff --git a/smartgears/resource_registry/tasks/main.yml b/smartgears/resource_registry/tasks/main.yml index cb41cf68..a369223 100644 --- a/smartgears/resource_registry/tasks/main.yml +++ b/smartgears/resource_registry/tasks/main.yml @@ -13,7 +13,7 @@ - block: - name: Get the resource_registry war - maven_artifact: artifact_id={{ resource_registry_name }} version={{ resource_registry_version | default('latest') }} group_id={{ resource_registry_group_id }} extension={{ resource_registry_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_directory }}/{{ resource_registry_file }} + maven_artifact: artifact_id={{ resource_registry_name }} version={{ resource_registry_version | default('latest') }} group_id={{ resource_registry_group_id }} extension={{ resource_registry_extension | default('war') }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ resource_registry_file }} register: resource_registry_download - name: Remove the old resource-registry files diff --git a/smartgears/resource_registry_handlers/tasks/main.yml b/smartgears/resource_registry_handlers/tasks/main.yml index 0a33b79..cb7b818 100644 --- a/smartgears/resource_registry_handlers/tasks/main.yml +++ b/smartgears/resource_registry_handlers/tasks/main.yml @@ -10,7 +10,7 @@ - block: - name: Get the resource_registry_handlers jar - maven_artifact: artifact_id={{ resource_registry_handlers_name }} version={{ resource_registry_handlers_version | default('latest') }} group_id={{ resource_registry_handlers_group_id }} extension={{ resource_registry_handlers_extension }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_directory }}/{{ resource_registry_handlers_file }} + maven_artifact: artifact_id={{ resource_registry_handlers_name }} version={{ resource_registry_handlers_version | default('latest') }} group_id={{ resource_registry_handlers_group_id }} extension={{ resource_registry_handlers_extension }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_downloads_dir }}/{{ resource_registry_handlers_file }} register: resource_registry_handlers_download - name: Remove the old resource-registry-handlers file