diff --git a/tasks/elasticsearch-scripts.yml b/tasks/elasticsearch-scripts.yml index a7c286a2a5f53..40910c20e8d59 100644 --- a/tasks/elasticsearch-scripts.yml +++ b/tasks/elasticsearch-scripts.yml @@ -18,4 +18,4 @@ - name: Copy scripts to elasticsearch copy: src={{ item }} dest={{ es_script_dir }} owner={{ es_user }} group={{ es_group }} - with_fileglob: "{{ es_scripts_fileglob }}" + with_fileglob: "{{ es_scripts_fileglob | default('') }}"