forked from ISTI-ansible-roles/ansible-roles
Trying to add is-exporter-se-plugin to node17
This commit is contained in:
parent
c16f303809
commit
6d9638b49d
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
is_exporter_se_plugin_install: False
|
||||
is_exporter_se_plugin_ver: 1.0.0-4.5.0-XXXXX
|
||||
is_exporter_se_plugin_name: 'is-exporter-se-plugin-{{ is_exporter_se_plugin_ver }}-jar-with-dependencies.jar'
|
||||
is_exporter_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/information-system/is-exporter-se-plugin/{{ is_exporter_se_plugin_ver }}/{{ is_exporter_se_plugin_name }}'
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
- name: Restart smartgears
|
||||
service: name='tomcat-instance-{{ smartgears_http_port }}' state=restarted
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: Remove the old is-exporter plugin
|
||||
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/is-exporter-se-plugin-*-jar-with-dependencies.jar
|
||||
when: is_exporter_se_plugin_upgrade
|
||||
tags: [ 'smartgears', 'is_exporter_se', 'tomcat' ]
|
||||
|
||||
|
||||
- name: Get the is-exporter se plugin and install it inside the smart executor
|
||||
become: True
|
||||
become_user: '{{ smartgears_user }}'
|
||||
get_url: url={{ is_exporter_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib
|
||||
when: is_exporter_se_plugin_install
|
||||
notify: Restart smartgears
|
||||
tags: [ 'smartgears', 'is_exporter_se', 'tomcat' ]
|
||||
|
Loading…
Reference in New Issue