‘{{ servers | map(“regex_replace”, “^(.*)$”, ‘’“\1”’‘) | join(“,”) }}’
This does what you asked, but I doubt it’s what you want.
‘{{ servers | map(“regex_replace”, “^(.*)$”, ‘’“\1”’‘) | join(“,”) }}’
This does what you asked, but I doubt it’s what you want.