Fix for copying ES templates if es_templates_fileglob was specified

This commit is contained in:
Artem Alexandrov 2016-03-31 10:51:21 +03:00
parent 717dd74a9f
commit 62c16c69c9

View file

@ -7,7 +7,7 @@
when: es_templates_fileglob is not defined
- name: Copy templates to elasticsearch
copy: src={{ item }} dest=/etc/elasticsearch/ owner={{ es_user }} group={{ es_group }}
copy: src={{ item }} dest=/etc/elasticsearch/templates owner={{ es_user }} group={{ es_group }}
with_fileglob: "{{ es_templates_fileglob }}"
- set_fact: http_port=9200