How to see stdin of ansible commands

This is basically the same question as how to see ansible stdout only I wanted to see the commands generated and passed in by ansible. Is it possible?


Solution 1:

You can see the commands Ansible uses by appending multiple -v switches to the command line, so -vvvv is the most verbose logging possible.

Solution 2:

Ansible modules are copied to $HOME/.ansible/tmp/ and cleared down after use.