Fix feedback from @barryib

This commit is contained in:
Dale McDiarmid 2017-08-17 10:05:32 +01:00
parent 7d97b35d63
commit 979ef94f77
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ es_major_version: "5.x"
es_version: "5.5.1"
es_version_lock: false
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_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"

View file

@ -10,4 +10,4 @@
- es_restart_on_change
- 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))
register: es_restarted
register: es_restarted

View file

@ -6,4 +6,4 @@
copy: src={{ item }} dest=/etc/elasticsearch/templates owner={{ es_user }} group={{ es_group }}
register: load_templates
with_fileglob:
- "{{ es_templates_fileglob | default('') }}"
- "{{ es_templates_fileglob | default('') }}"

View file

@ -33,4 +33,4 @@
when: es_start_service and es_enable_xpack and es_xpack_features is defined and "security" in es_xpack_features
with_fileglob:
- "{{ es_templates_fileglob | default('') }}"
run_once: True
run_once: True