(1) Many command line tools (such as the aws CLI tools) output results 
directory as JSON. Is there a way to slurp up stdout and json-to-pydict it?
In many cases this would be preferable to using modules which are i) highly 
coupled to fast-paced external code sources, ii) only implement a subset of 
the available functionality of tools they use. 

(2) Better yet if I had a command that returned a result as a JSON-like 
object, can I (in my task/playbooks) run in-place python to filter/modify 
that?


-- 
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/a474910c-9e28-426a-9f87-1d1df93d757b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to