String functions within playbooks
Hi,
Have the following string that I need to tidy up:
“hostname”,”{rn “LastLog”: [rn “2024-06-25T16:15:35.751991Z”rn ]rn}”
so it can have
hostname 2024-06-25 16:15:35
I have attempted to combine replace statements with no luck…
Any ideas..
Many thanks,
Tim
Hi, Have the following string that I need to tidy up: “hostname”,”{rn “LastLog”: [rn “2024-06-25T16:15:35.751991Z”rn ]rn}” so it can have hostname 2024-06-25 16:15:35 I have attempted to combine replace statements with no luck… Any ideas.. Many thanks, Tim Read More