smartgears-node-upgrade.yml added accounting_aggregator

../library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml
../library/roles/smartgears/accounting_aggregator_se_plugin/tasks/main.yml   merge accounting aggregator and accounting_insert_storage_plugin

../library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml update version
This commit is contained in:
Roberto Cirillo 2017-05-19 09:42:18 +02:00
parent 33afc41859
commit f9e052db71
4 changed files with 28 additions and 4 deletions

View File

@ -1,9 +1,19 @@
--- ---
accounting_aggregator_se_plugin_install: False accounting_aggregator_se_plugin_install: False
accounting_aggregator_se_plugin_ver: 1.0.0-4.1.0-132538 accounting_aggregator_se_plugin_ver: 1.0.1-4.4.0-144320
accounting_aggregator_se_plugin_name: 'accounting-aggregator-se-plugin-{{ accounting_aggregator_se_plugin_ver }}-jar-with-dependencies.jar' accounting_aggregator_se_plugin_name: 'accounting-aggregator-se-plugin-{{ accounting_aggregator_se_plugin_ver }}-jar-with-dependencies.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 }}' 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 }}'
accounting_aggregator_se_plugin_maven_group_id : 'org.gcube.accounting' accounting_aggregator_se_plugin_maven_group_id : 'org.gcube.accounting'
accounting_aggregator_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin' accounting_aggregator_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin'
accounting_aggregator_se_plugin_maven_version : '1.0.0-SNAPSHOT' accounting_aggregator_se_plugin_maven_version : '1.0.0-SNAPSHOT'
accounting_insert_storage_se_plugin_install: False
accounting_insert_storage_se_plugin_ver: 1.0.0-4.4.0-142716
accounting_insert_storage_se_plugin_name: '{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-{{ accounting_insert_storage_se_plugin_ver }}-jar-with-dependencies.jar'
accounting_insert_storage_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}/{{ accounting_insert_storage_se_plugin_ver }}/{{ accounting_insert_storage_se_plugin_name }}'
accounting_insert_storage_se_plugin_maven_group_id : 'org.gcube.accounting'
accounting_insert_storage_se_plugin_maven_artifact_id : 'accounting-insert-storage-se-plugin'
accounting_insert_storage_se_plugin_maven_version : '1.0.0-4.4.0-142716'

View File

@ -5,6 +5,12 @@
tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ] tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ]
- name: Remove the old accounting insert storage plugin
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-*-jar-with-dependencies.jar
when: accounting_insert_storage_se_plugin_upgrade
tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ]
- name: Get the accounting aggregator plugin and install it inside the smart executor - name: Get the accounting aggregator plugin and install it inside the smart executor
become: True become: True
become_user: '{{ smartgears_user }}' become_user: '{{ smartgears_user }}'
@ -13,3 +19,11 @@
notify: Restart smartgears notify: Restart smartgears
tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ] tags: [ 'smartgears', 'accounting_aggregator_se', 'tomcat' ]
- name: Get the accounting insert storage plugin and install it inside the smart executor
become: True
become_user: '{{ smartgears_user }}'
get_url: url={{ accounting_insert_storage_se_plugin_url }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib
when: accounting_insert_storage_se_plugin_install
notify: Restart smartgears
tags: [ 'smartgears', 'accounting_insert_storage_se', 'tomcat' ]

View File

@ -1,9 +1,9 @@
--- ---
accounting_insert_storage_se_plugin_install: False accounting_insert_storage_se_plugin_install: False
accounting_insert_storage_se_plugin_ver: 1.0.0-4.3.0-00000 accounting_insert_storage_se_plugin_ver: 1.0.1-4.5.0-148393
accounting_insert_storage_se_plugin_name: '{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-{{ accounting_insert_storage_se_plugin_ver }}-jar-with-dependencies.jar' accounting_insert_storage_se_plugin_name: '{{ accounting_insert_storage_se_plugin_maven_artifact_id }}-{{ accounting_insert_storage_se_plugin_ver }}-jar-with-dependencies.jar'
accounting_insert_storage_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}/{{ accounting_insert_storage_se_plugin_ver }}/{{ accounting_insert_storage_se_plugin_name }}' accounting_insert_storage_se_plugin_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}/org/gcube/accounting/{{ accounting_insert_storage_se_plugin_maven_artifact_id }}/{{ accounting_insert_storage_se_plugin_ver }}/{{ accounting_insert_storage_se_plugin_name }}'
accounting_insert_storage_se_plugin_maven_group_id : 'org.gcube.accounting' accounting_insert_storage_se_plugin_maven_group_id : 'org.gcube.accounting'
accounting_insert_storage_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin' accounting_insert_storage_se_plugin_maven_artifact_id : 'accounting-aggregator-se-plugin'
accounting_insert_storage_se_plugin_maven_version : '1.0.0-SNAPSHOT' accounting_insert_storage_se_plugin_maven_version : '1.0.1-4.5.0-148393'

View File

@ -1,7 +1,7 @@
--- ---
resource_checker_se_plugin_install: False resource_checker_se_plugin_install: False
resource_checker_se_plugin_upgrade: False resource_checker_se_plugin_upgrade: False
resource_checker_se_plugin_version: 1.0.0-4.4.0-146988 resource_checker_se_plugin_version: 1.0.0-4.4.0-147153
# resource_checker_se_plugin_version: 1.0.0-SNAPSHOT # resource_checker_se_plugin_version: 1.0.0-SNAPSHOT
resource_checker_se_plugin_group_id: 'org.gcube.information-system' resource_checker_se_plugin_group_id: 'org.gcube.information-system'
resource_checker_se_plugin_name: 'resource-checker-se-plugin' resource_checker_se_plugin_name: 'resource-checker-se-plugin'