Fix for 147
This commit is contained in:
parent
c2dede8958
commit
cfe6d1828a
2 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# es_plugins_reinstall will be set to true if elasticsearch_install_from_repo.changed or elasticsearch_install_from_package.changed
|
# es_plugins_reinstall will be set to true if elasticsearch_install_from_repo.changed or elasticsearch_install_from_package.changed
|
||||||
# i.e. we have changed ES version(or we have clean installation of ES), or if no plugins listed. Otherwise it is false and requires explicitly setting.
|
# i.e. we have changed ES version(or we have clean installation of ES), or if no plugins listed. Otherwise it is false and requires explicitly setting.
|
||||||
- set_fact: es_plugins_reinstall={{ ((elasticsearch_install_from_package is defined and elasticsearch_install_from_repo.changed) or (elasticsearch_install_from_package is defined and elasticsearch_install_from_package.changed)) or es_plugins is not defined or es_plugins is none }}
|
- set_fact: es_plugins_reinstall=true
|
||||||
|
when: es_plugins_reinstall={{ ((elasticsearch_install_from_repo is defined and elasticsearch_install_from_repo.changed) or (elasticsearch_install_from_package is defined and elasticsearch_install_from_package.changed)) or es_plugins is not defined or es_plugins is none }}
|
||||||
|
|
||||||
- set_fact: list_command="list"
|
- set_fact: list_command="list"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,4 @@
|
||||||
copy: src={{ item }} dest=/etc/elasticsearch/templates owner={{ es_user }} group={{ es_group }}
|
copy: src={{ item }} dest=/etc/elasticsearch/templates owner={{ es_user }} group={{ es_group }}
|
||||||
notify: load-templates
|
notify: load-templates
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ es_templates_fileglob | default('') }}"
|
- "{{ es_templates_fileglob | default('') }}"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue