3

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?

Capi Etheriel
  • 398
  • 3
  • 10

2 Answers2

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.

Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
  • all i see is ansible copying temp files and executing them. – Capi Etheriel Feb 12 '15 at 23:25
  • Not only does adding multiple v's not let you see standard in, -vvvv is also not the most verbose possible. Try adding six v's to your command and you'll see what I mean. – AlleyGator Oct 29 '15 at 22:00
1

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

xddsg
  • 3,202
  • 2
  • 26
  • 33