mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 17:14:20 +01:00
Fix if template file globs are not defined
This commit is contained in:
@@ -8,7 +8,9 @@
|
|||||||
|
|
||||||
- name: Copy templates to elasticsearch
|
- name: Copy templates to elasticsearch
|
||||||
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 }}
|
||||||
with_fileglob: "{{ es_templates_fileglob }}"
|
when: es_templates_fileglob is defined
|
||||||
|
with_fileglob:
|
||||||
|
- "{{ es_templates_fileglob }}"
|
||||||
|
|
||||||
- set_fact: http_port=9200
|
- set_fact: http_port=9200
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user