Is there a way to have the output of a module on the command line be a pure 
JSON object?


$ ansible localhost -m setup | head 
*localhost **| SUCCESS =>* {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
...
...



ie, removing the 'localhost | SUCCESS =>' portion?


I'm sure can be done, since I've seen it referenced so often, but for the 
life of me, I can't figure out what needs to change.


Thanks






-- 
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/4e53cba1-301b-420c-b588-7481a94aad23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to