In your win_shell command add “| ConvertTo-Json” to the end. That will pipe the 
output into a json string which you can then use the from_json filter in 
Ansible to turn it into a dict.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3f3818c7-4621-4266-860a-d8ffb794e5da%40googlegroups.com.

Reply via email to