(A)
Awesome patch from Will Thames:
ansible --version and ansible-playbook --version will now include the branch, version, and last update time / SHA if running from git.
This makes it very easy to share the version of ansible you are using when reporting an issue.
(B)
I've made "-vv" and "-vvv" work at some basic level, which for now is going to be most useful when debugging what SSH commands ansible is actually
executing.
"-v", as before, shows responses from successful playbook operations as well as failures
"-vv" will show arguments passed to remote modules. This is not really fleshed out at the moment and there is more adding of "-vv" code to do.
"-vvv" will show commands run by any of the connection modules (local, paramiko, ssh) at a low level. This can be expanded some more later to
other things in Runner code.
To make it very easy to respond to verbosity, I've added new functions vv() and vvv() in callbacks.py. There is no v() function because
right now basic level verbosity is limited to modifying playbook behavior as we have now. This may change in the future.
(Bonus)
I've fixed a bunch of traceback scenarios -- if you are using paramiko and SFTP is off, or control C a playbook run, or feed non key=value parameters to a key=value module, Ansible now gives much nicer messages. Our goal is 0 tracebacks. So if you see a traceback (other than those friendly YAML ones), please file a bug.
--Michael