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

STDOUT_CALLBACK = yaml
bin_ansible_callbacks = True

thanks

On Friday, July 12, 2019 at 12:53:13 AM UTC+5:30, rajthecomputerguy wrote:
>
> 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
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b6442102-3b56-49a5-a7fd-47b281981060%40googlegroups.com.

Reply via email to