ansible/ansible — pull request #5638 by meatballhat (2014-01-16 02:24:30+00:00)
Title: Add support for loading JSON from shell commands

My particular use case is to load JSON from a curl against CouchDB that uses a non-standard `-X COPY` method. This could have been added to the `uri` module, sure, but I'd prefer to have the flexibility to load JSON from arbitrary commands. I realize this introduces *yet another* place where vars can come from, so I'm totally ready to get shot down. Thanks either way!