forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/accounting_aggregator_se_plugin: New smart executor plugin.
This commit is contained in:
parent
7452497843
commit
57560c63eb
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
gcube_repository: 'gcube-staging'
|
||||
accounting_aggregator_se_plugin_install: False
|
||||
accounting_aggregator_se_plugin_ver: 1.0.0-SNAPSHOT
|
||||
accounting_aggregator_se_plugin_name: 'accounting-aggregator-se-plugin-1.0.0-20160729.125931-6.jar'
|
||||
accounting_aggregator_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/accounting-aggregator-se-plugin/{{ accounting_aggregator_se_plugin_ver }}/{{ accounting_aggregator_se_plugin_name }}'
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
- name: Restart smartgears
|
||||
service: name='tomcat-instance-{{ smartgears_http_port }}' state=restarted
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Get the accounting aggregator plugin and install it inside the smart executor
|
||||
become: True
|
||||
become_user: '{{ smartgears_user }}'
|
||||
get_url: url={{ accounting_aggregator_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib
|
||||
when: accounting_aggregator_se_plugin_install
|
||||
notify: Restart smartgears
|
||||
tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ]
|
||||
|
Loading…
Reference in New Issue