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?

-- 
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/7ad9bd52-4a8b-4342-b7cf-2dd3be4aa882%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to