Merge pull request #671 from stuvusIT/enhancement/no-whitespace-before-newline

tasks/snapshot-release.yml: No whitespace before newline
This commit is contained in:
Julien Mailleret 2020-01-31 15:25:31 +01:00 committed by GitHub
commit 7f92658fdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,16 +40,16 @@
- name: split up the snapshot url so we can create the plugin url - name: split up the snapshot url so we can create the plugin url
set_fact: set_fact:
split_url: "{{ es_custom_package_url.split('/') }}" split_url: "{{ es_custom_package_url.split('/') }}"
- name: set base plugin url - name: set base plugin url
set_fact: set_fact:
plugin_url: "{{ split_url[0] + '//' + split_url[2:5]|join('/') + '/elasticsearch-plugins/'}}" plugin_url: "{{ split_url[0] + '//' + split_url[2:5]|join('/') + '/elasticsearch-plugins/'}}"
- name: create es_plugins with the snapshot url - name: create es_plugins with the snapshot url
set_fact: set_fact:
es_plugins_temp: "{{ es_plugins_temp|default([]) + [{'plugin': item.plugin, 'url': plugin_url + item.plugin + '/' + item.plugin + '-' + es_version + '-SNAPSHOT.zip'}] }}" es_plugins_temp: "{{ es_plugins_temp|default([]) + [{'plugin': item.plugin, 'url': plugin_url + item.plugin + '/' + item.plugin + '-' + es_version + '-SNAPSHOT.zip'}] }}"
with_items: "{{ es_plugins }}" with_items: "{{ es_plugins }}"
- name: override the original es_plugins with the snapshot version - name: override the original es_plugins with the snapshot version
set_fact: set_fact:
es_plugins: "{{ es_plugins_temp }}" es_plugins: "{{ es_plugins_temp }}"