Convert refresh fact to strings
While the use of "to_json" resulted in a string it also created a JSON escaped a string full of slashes which then corrupts kibana index patterns. Change-Id: I2c26ab9dd4930226f3e554c2f9bed5e382cdafa5 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
0e4dc162b4
commit
dfc919bb0e
@ -67,10 +67,10 @@
|
||||
set_fact:
|
||||
index_refresh_fact:
|
||||
attributes:
|
||||
fieldFormatMap: "{{ attributes['fieldFormatMap'] | to_json }}"
|
||||
fieldFormatMap: "{{ attributes['fieldFormatMap'] | string }}"
|
||||
timeFieldName: "{{ attributes['timeFieldName'] }}"
|
||||
title: "{{ attributes['title'] }}"
|
||||
fields: "{{ index_fields_format_return['content'] | to_json }}"
|
||||
fields: "{{ index_fields_format_return['content'] | string }}"
|
||||
|
||||
- name: Put index fields
|
||||
uri:
|
||||
|
Loading…
x
Reference in New Issue
Block a user