forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/sis_geotk_dt_plugin/tasks/main.yml: Fix the unarchive task so that we execute it when the plugin directory was manually removed.
This commit is contained in:
parent
38d899f422
commit
3d7c3b237d
|
@ -19,10 +19,11 @@
|
||||||
|
|
||||||
- name: Create the plugin directory inside data transfer
|
- name: Create the plugin directory inside data transfer
|
||||||
file: dest={{ smartgears_instance_path }}/webapps/{{ data_trasfer_service_name }}/WEB-INF/lib/plugins/{{ sis_geotk_dt_plugin_name }} state=directory
|
file: dest={{ smartgears_instance_path }}/webapps/{{ data_trasfer_service_name }}/WEB-INF/lib/plugins/{{ sis_geotk_dt_plugin_name }} state=directory
|
||||||
|
register: sis_geotk_create_dir
|
||||||
|
|
||||||
- name: Unarchive the Sis geotk data transfer uber plugin to expose its libraries
|
- name: Unarchive the Sis geotk data transfer uber plugin to expose its libraries
|
||||||
unarchive: src={{ smartgears_downloads_dir }}/{{ sis_geotk_dt_plugin_uber_file }} dest={{ smartgears_instance_path }}/webapps/{{ data_trasfer_service_name }}/WEB-INF/lib/plugins/{{ sis_geotk_dt_plugin_name }}/ copy=no
|
unarchive: src={{ smartgears_downloads_dir }}/{{ sis_geotk_dt_plugin_uber_file }} dest={{ smartgears_instance_path }}/webapps/{{ data_trasfer_service_name }}/WEB-INF/lib/plugins/{{ sis_geotk_dt_plugin_name }}/ copy=no
|
||||||
when: (sis_geotk_download | changed)
|
when: (sis_geotk_create_dir | changed)
|
||||||
notify: Restart smartgears
|
notify: Restart smartgears
|
||||||
|
|
||||||
- name: Get the Sis geotk data transfer uber plugin
|
- name: Get the Sis geotk data transfer uber plugin
|
||||||
|
|
Loading…
Reference in New Issue