@Kai Stian Olstad: stdout adds literal '\n' to each line
@Jon: |join('\n') has no effect on stdout_lines

However, if I combine both proposals into *table.stdout|join('\n')*, it 
works! Thanks guys ;)

For instance:
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
   1    0000.ab03.c600    DYNAMIC     Gi0/1
   1    0000.ab41.1f00    DYNAMIC     Gi1/1
   1    0000.ab55.1900    DYNAMIC     Gi1/0
   1    0000.ab8d.1e00    DYNAMIC     Gi0/2
   1    0000.abb9.4600    DYNAMIC     Gi2/2
   1    0000.abc8.ec00    DYNAMIC     Gi1/2
   1    0000.abe0.0600    DYNAMIC     Gi0/3
   1    2e05.f26f.bf83    DYNAMIC     Gi0/0
Total Mac Addresses for this criterion: 8

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3ff408eb-bbc3-4baa-9f3e-ec6dc4a70cce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to