So I figured out the issue.
This was an environment issue as an environment variable http_proxy was set
starting with value '{#'
Hence ansible was not able to parse the json formatted string.
On Tuesday, September 29, 2015 at 2:22:12 PM UTC-4, Pratik Dhandharia wrote:
>
> That threw same error.
>
> I was wondering if there is a direct way of copying/saving output of setup
> module to a file.
>
> On Tuesday, September 29, 2015 at 2:05:34 PM UTC-4, Brian Coca wrote:
>>
>> use a template instead, copy's content is not designed to handle complex
>> data
>>
>>
>>
>>
>> --
>> Brian Coca
>>
>
--
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/ed4022b6-93f4-40ab-9bde-96aaef2e16af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.