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.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c3d50563-46a5-422d-b975-86c57785e647n%40googlegroups.com.

Reply via email to