Increasing the verbosity of Ansible output can solve many problems. From invalid module arguments to incorrect connection commands, increased verbosity can be critical in pinpointing the source of an error. Playbook logging and verbosity was briefly discussed in Chapter 2, Protecting Your Secrets with Ansible, with regard to protecting secret values while executing playbooks. This section will cover verbosity and logging in further detail.
Playbook logging and verbosity
Verbosity
When executing playbooks with ansible-playbook, the output is displayed on standard out. With the default level of verbosity, very little information is displayed. As a play is executed, ansible-playbook will print a PLAY header with the name of the...