Fix template conditional
This commit is contained in:
parent
f051e80d0c
commit
07258e5be5
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
status_code: 200
|
||||
body_format: json
|
||||
body: "{{ lookup('file', item) }}"
|
||||
when: load_templates.changed and es_start_service and not es_enable_xpack or not es_xpack_features is defined or "security" not in es_xpack_features
|
||||
when: load_templates.changed and es_start_service and (not es_enable_xpack or not es_xpack_features is defined or "security" not in es_xpack_features)
|
||||
with_fileglob:
|
||||
- "{{ es_templates_fileglob | default('') }}"
|
||||
run_once: True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue