mirror of
https://github.com/aljazceru/ansible-elasticsearch.git
synced 2025-12-17 09:04: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
|
||||
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
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user