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 output. Is it possible to get that in ad-hoc mode?