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?
You can see the commands Ansible uses by appending multiple
-v switches to the command line, so
-vvvv is the most verbose logging possible.
Ansible modules are copied to $HOME/.ansible/tmp/ and cleared down after use.