I have created a playbook to gather information from a Redhat KVM server. The issue I am facing is that I am getting the entire message in a single line. Can someone suggest a solution to print the message content as individual lines instead of a single line.
"msg": "VM's: [u'
clus2.node.com', u'sol11test', u'win2019test', u'
clus1.node.com', u'RHEL8Test', u'RHEL7_ANSCtrl_SS_Test', u'SLES15Test', u'cent8test', u'sol10test', u'win2016test', u'RHEL6.10_Test'],\nActive VM's: [u'
clus2.node.com', u'sol11test', u'win2019test', u'
clus1.node.com', u'RHEL8Test', u'RHEL7_ANSCtrl_SS_Test', u'SLES15Test', u'cent8test', u'sol10test', u'win2016test'],\nHOSTNAME: y4420-500,\nFQDN:
y4420-500.aldm.sl.edst.ibm.com,\nOS_Name: RedHat\nOS_Version: 7.9\nOS Architecture: x86_64\nVirtualization: kvm\nBIOS DATE: 05/10/2018\nBIOS VERSION: 3.2\nPHYSICAL CPU: 1\nCPU CORE COUNT: 8\nCPU_TYPE: [u'0', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'1', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'2', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'3', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'4', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'5', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'6', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz', u'7', u'GenuineIntel', u'Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz']\nVENDOR NAME: PIO-518D-TLN4F-ST031\nPRODUCT_SERIAL: S14073214509412\nPRODUCT_UUID: 00000000-0000-0000-0000-002590D6BFE8\nTOTAL MEMORY: 15908\nN/W Interface: bond0\nIPADDRESS: x.x.x.x\nSUBNETMASK: x.x.x.x\nGATEWAY: x.x.x.x\nMACADDRESS: 00:25:90:d6:bf:e8\nN/W ADDRESS: x.x.x.x\n"
}