generic_worker: fix some typos.

This commit is contained in:
Andrea Dell'Amico 2017-10-11 18:01:59 +02:00
parent aafb6d84fd
commit aa1dbe8f21
2 changed files with 5 additions and 7 deletions

View File

@ -1,11 +1,9 @@
---
generic_worker_install: False
smart_generic_worker_plugin_name: 'smart-generic-worker'
smart_generic_worker_plugin_group_id : 'org.gcube.dataanalysis'
smart_generic_worker_plugin_artifact_id : '{{ smart_generic_worker_plugin_name }}'
smart_generic_worker_plugin_version : latest
smart_generic_worker_plugin_group_id: 'org.gcube.dataanalysis'
smart_generic_worker_plugin_artifact_id: '{{ smart_generic_worker_plugin_name }}'
smart_generic_worker_plugin_version: latest
smart_generic_worker_plugin_extension: jar
smart_generic_worker_plugin_classifier: jar-with-dependencies
smart_generic_worker_plugin_file: '{{ smart_generic_worker_plugin_name }}-{{ smart_generic_worker_plugin_version }}-jar-with-dependencies.{{ smart_generic_worker_plugin_extension }}'

View File

@ -12,11 +12,11 @@
- block:
- name: Get the smart generic worker plugin and install it inside the smart executor
maven_artifact: artifact_id={{ smart_generic_worker_plugin_name }} version={{ smart_generic_worker_plugin_version | default('latest') }} group_id={{ smart_generic_worker_plugin_group_id }} extension={{ smart_generic_worker_plugin_extension | default('war') }} repository_url={{ smartgears_global_base_url }} classifier={{ smart_generic_worker_plugin_classifier }} dest={{ smartgears_downloads_dir }}/{{ smart_generic_worker_plugin_file }}
register: smart_executor_download
register: generic_worker_download
- name: Remove the old accounting aggregator plugin
shell: rm -f {{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ smart_generic_worker_plugin_name }}-*-jar-with-dependencies.jar
when: (smart_executor_download | changed)
when: (generic_worker_download | changed)
- name: Copy the accounting aggregator plugin to its final destination
copy: src={{ smartgears_downloads_dir }}/{{ smart_generic_worker_plugin_file }} dest={{ smartgears_instance_path }}/webapps/{{ smart_executor_name }}/WEB-INF/lib/{{ smart_generic_worker_plugin_file }} remote_src=yes force=yes