Merge pull request #671 from stuvusIT/enhancement/no-whitespace-before-newline
tasks/snapshot-release.yml: No whitespace before newline
This commit is contained in:
commit
7f92658fdc
1 changed files with 3 additions and 3 deletions
|
|
@ -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 }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue