Hi Team, Greetings of the day!!! Is there any *module *or *plugin *available through which we can convert the *stdout_lines *of a *win_shell *output into *json *data. if it is available can you help me how to use it.
Below is my powershell command output coming in ansible result. *"stdout_lines": [* * "",* * " Id ProcessName CPU",* * " -- ----------- ---",* * "564 lsass 83.46875",* * "876 svchost 82.484375",* * "",* * ""* * ]* Expecting output like below format: *"stdout_lines": * * {* * "Id": **564**,* * "ProcessName": "**lsass**",* * "CPU": **83.46875* * },* * {* * "Id": **876**,* * "ProcessName": "**svchost**",* * "CPU": **82.484375* * }* so that I can fetch the id or process names like *stdout_lines.ProcessName* -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/01b5d210-e717-4db2-a2c7-09dc919d3dfd%40googlegroups.com.