Try using a site like jsonlint.com to check if your xl.json is actually 
valid JSON.

On Monday, April 24, 2017 at 9:24:01 AM UTC+1, Suporter wrote:
>
> Getting the subject mentioned error while reading a compressed json, any 
> workaround for this?
>     - name: read local file
>       set_fact:
>        reg_changes: "{{ lookup('file', '/home/tess/xl.json') | from_json 
> }}"                    
>       delegate_to: localhost
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7875c956-b905-4e9a-9ed3-5684b5025412%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to