Fix if template file globs are not defined
This commit is contained in:
parent
6160207b6f
commit
59bdee229d
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue