Fix feedback from @barryib
This commit is contained in:
parent
7d97b35d63
commit
979ef94f77
4 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@ es_major_version: "5.x"
|
||||||
es_version: "5.5.1"
|
es_version: "5.5.1"
|
||||||
es_version_lock: false
|
es_version_lock: false
|
||||||
es_use_repository: true
|
es_use_repository: true
|
||||||
es_templates_fileglob: "./files/templates/*"
|
es_templates_fileglob: "files/templates/*.json"
|
||||||
es_apt_key: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
es_apt_key: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||||
es_apt_url: "deb https://artifacts.elastic.co/packages/{{ es_major_version }}/apt stable main"
|
es_apt_url: "deb https://artifacts.elastic.co/packages/{{ es_major_version }}/apt stable main"
|
||||||
es_apt_url_old: "deb http://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main"
|
es_apt_url_old: "deb http://packages.elastic.co/elasticsearch/{{ es_major_version }}/debian stable main"
|
||||||
|
|
|
||||||
|
|
@ -10,4 +10,4 @@
|
||||||
- es_restart_on_change
|
- es_restart_on_change
|
||||||
- es_start_service
|
- es_start_service
|
||||||
- ((plugin_installed is defined and plugin_installed.changed) or (config_updated is defined and config_updated.changed) or (xpack_state.changed) or (debian_elasticsearch_install_from_repo.changed or redhat_elasticsearch_install_from_repo.changed or elasticsearch_install_from_package.changed))
|
- ((plugin_installed is defined and plugin_installed.changed) or (config_updated is defined and config_updated.changed) or (xpack_state.changed) or (debian_elasticsearch_install_from_repo.changed or redhat_elasticsearch_install_from_repo.changed or elasticsearch_install_from_package.changed))
|
||||||
register: es_restarted
|
register: es_restarted
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,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 }}
|
||||||
register: load_templates
|
register: load_templates
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ es_templates_fileglob | default('') }}"
|
- "{{ es_templates_fileglob | default('') }}"
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,4 @@
|
||||||
when: es_start_service and es_enable_xpack and es_xpack_features is defined and "security" in es_xpack_features
|
when: es_start_service and es_enable_xpack and es_xpack_features is defined and "security" in es_xpack_features
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- "{{ es_templates_fileglob | default('') }}"
|
- "{{ es_templates_fileglob | default('') }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue