Fix mistake in URI body
This commit is contained in:
parent
2dcd64c5f1
commit
deaf5ea0fa
1 changed files with 4 additions and 4 deletions
|
|
@ -49,9 +49,9 @@
|
|||
method: PUT
|
||||
status_code: 200
|
||||
body_format: json
|
||||
body: "{{ lookup('file', item.path) }}"
|
||||
body: "{{ item.stdout }}"
|
||||
when: not es_enable_xpack or not es_xpack_features is defined or not '"shield" in es_xpack_features'
|
||||
with_items: "{{ templates.files }}"
|
||||
with_items: "{{ es_template_files_contents.results }}"
|
||||
|
||||
- name: Install templates with auth
|
||||
uri:
|
||||
|
|
@ -62,6 +62,6 @@
|
|||
password: "{{es_api_basic_auth_password}}"
|
||||
force_basic_auth: yes
|
||||
body_format: json
|
||||
body: "{{ lookup('file', item.path) }}"
|
||||
body: "{{ item.stdout }}"
|
||||
when: es_enable_xpack and es_xpack_features is defined and '"shield" in es_xpack_features'
|
||||
with_items: "{{ templates.files }}"
|
||||
with_items: "{{ es_template_files_contents.results }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue