Re: [ansible-project] Is it possible to see the JSON output of an ad-hoc command?

2014-05-14 Thread Michael DeHaan
-v will show stdout of the command and shell modules. I On Tue, May 13, 2014 at 11:15 PM, Kevin Bell kevin.a.b...@gmail.com wrote: If I run something like: $ ansible -a [ -d my_app ] chdir=/run/uwsgi/app ec2 Even with max verbosity, this doesn't seem to output the raw JSON output.

[ansible-project] Is it possible to see the JSON output of an ad-hoc command?

2014-05-13 Thread Kevin Bell
If I run something like: $ ansible -a [ -d my_app ] chdir=/run/uwsgi/app ec2 Even with max verbosity, this doesn't seem to output the raw JSON output. However if I do, e.g. : - command: [ -d uwsgi_dev ] chdir=/run/uwsgi/app register: result - debug: var=result Then I get the full JSON