Re: [ansible-project] Logging to readable format

2020-03-12 Thread RayO
ut to file copy: content="{{*output1.stdout|join("\n"*)}}" dest=/home/userfolder/ansible/cisco/logs/{{ inventory_hostname }}.txt https://groups.google.com/forum/#!topic/ansible-project/4cJ7ho8uiAA On Thursday, March 12, 2020 at 4:27:58 PM UTC-4, RayO wrote

Re: [ansible-project] Logging to readable format

2020-03-12 Thread RayO
Anyone have any thoughts on this? On Thursday, March 12, 2020 at 10:51:25 AM UTC-4, RayO wrote: > > Hi Stefan, > > Thanks for the reply. Unfortunately though it doesn't look like that > worked. I replaced the below line with the entry you provided but it's > still printi

Re: [ansible-project] Logging to readable format

2020-03-12 Thread RayO
0 at 10:04:44 AM UTC-4, Stefan Hornburg (Racke) wrote: > > On 3/12/20 2:52 PM, RayO wrote: > > Hi. I have a very basic cisco IOS playbook i'm working on and when I log > the output to a file I cannot read the format. > > I read a few threads that mention enabling a callba

[ansible-project] Logging to readable format

2020-03-12 Thread RayO
Hi. I have a very basic cisco IOS playbook i'm working on and when I log the output to a file I cannot read the format. I read a few threads that mention enabling a callback option in the ansible.cfg but that does not seem to work. Does anyone know how I can accomplish logging to a readable