Hello everyone,
Can anyone please advise how to escape square brackets from output in ansible?
i need to insert some ip addresses from a file into dynamic inventory file. while doing this i am getting square bracket also .
how can i remove or escape square bracket into inventory file?
sample input file is:
[“ipadd1” , “ipadd2” , “ipadd3” , “ipadd4”]
[“ipadd5” , “ipadd6” , “ipadd7” , “ipadd8”]
please advise.