Hi all- we're happy to announce the beta release of:
ansible-core 2.15.0b2
How to get it
-
$ python3 -m pip install --user ansible-core==2.15.0b2
The release artifacts can be found here:
# Built Distribution: 2233592 bytes
# SHA256: 9f2d2c3cd8b34bb570a01bf6ca90673107d374895c7e74a9
'{{ servers | map("regex_replace", "^(.*)$", ''"\1"'') | join(",") }}'
This does what you asked, but I doubt it's what you want.
On Monday, April 10, 2023 at 6:51:26 AM UTC-4 mta...@gmail.com wrote:
> im having bizarre issue
>
> having simple list
>
> servers:
> - serverA
> - serverB
>
> whe
im having bizarre issue
having simple list
servers:
- serverA
- serverB
when using simple join
"{{ servers | join(',') }}"
i get: "serverA,serverB"
what i actually need to get is a string like this
final: '("serverA","serverB")'
i tried multiple ways on using join but i never get the s