formatting IOS commands

Hi Team,

I am collecting IOS commands in my playbook and I need output human readable , I use( to_nice_yaml(indent=8, width=1337) currently. Any other suggestions to view the output as human readable.

ios_command:
30 commands:
31 - show switch detail
32 - show module
33 - show switch stack-ports
34 - show switch stack-ports summary
35 - show ip int brief
36 - show interface description
37 - show interface status
38 - show etherchannel summary
39 - show cdp neighbors
40 - show env all
41 - show run
42 - show version

It has been fixed. you will get nice output by setting below options in configuration file.

STDOUT_CALLBACK = yaml
bin_ansible_callbacks = True

thanks