diff --git a/smartgears/gcat_controller_plugin/tasks/main.yml b/smartgears/gcat_controller_plugin/tasks/main.yml index 4942e23e..45083785 100644 --- a/smartgears/gcat_controller_plugin/tasks/main.yml +++ b/smartgears/gcat_controller_plugin/tasks/main.yml @@ -22,12 +22,12 @@ register: gcat_plugin_create_dir - name: Unarchive the gcat plugin gfeed uber jar to expose its libraries - unarchive: src={{ smartgears_downloads_dir }}/{{ gcat_controller_plugin_uber_file }} dest={{ smartgears_instance_path }}/webapps/{{ gfeed_service_name }}/WEB-INF/lib/plugins/{{ gcat_plugin_dt_plugin_name }}/ copy=no + unarchive: src={{ smartgears_downloads_dir }}/{{ gcat_controller_plugin_uber_file }} dest={{ smartgears_instance_path }}/webapps/{{ gfeed_service_name }}/WEB-INF/lib/plugins/{{ gcat_controller_plugin_name }}/ copy=no when: gcat_plugin_create_dir is changed notify: Restart smartgears - name: Get the gcat plugin gfeed jar - maven_artifact: artifact_id={{ gcat_controller_plugin_name }} version={{ gcat_plugin_dt_plugin_version }} group_id={{ gcat_controller_plugin_group_id }} extension={{ gcat_controller_plugin_extension }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_instance_path }}/webapps/{{ gfeed_service_name }}/WEB-INF/lib/plugins/{{ gcat_controller_plugin_name }} keep_name=yes + maven_artifact: artifact_id={{ gcat_controller_plugin_name }} version={{ gcat_controller_plugin_version }} group_id={{ gcat_controller_plugin_group_id }} extension={{ gcat_controller_plugin_extension }} repository_url={{ smartgears_global_base_url }} dest={{ smartgears_instance_path }}/webapps/{{ gfeed_service_name }}/WEB-INF/lib/plugins/{{ gcat_controller_plugin_name }} keep_name=yes notify: Restart smartgears - name: Remove the gcat plugin uber jar org and META-INF directories