To pretty output you need a plugin for that, you can use ansible-human_log
- Download ansible-human-py
- Move file to a specific directory
Example on my settings I moved the file to here /home/koyi/ansible/plugin/human_log - Set the callback plugins directory in /etc/ansible/ansible.cfg
[defaults] ANSIBLE_STDOUT_CALLBACK=debug callback_plugins = /path/to/callback_plugins/ stdout_callback = yaml
OR use my settings as shown in the image below as an example.