Created Tue Jul, 09 2019 at 05:19PM

Ansible <= 2.3.x

export ANSIBLE_STDOUT_CALLBACK=debug

Ansible >= 2.4.x

# Use the YAML callback plugin.
stdout_callback = yaml
# Use the stdout_callback when running ad-hoc commands.
bin_ansible_callbacks = True

See https://www.jeffgeerling.com/blog/2018/use-ansibles-yaml-callback-plugin-better-cli-experience Before

Before

After After