> "['/First Datacenter/vm/Prod-SRM']" > The problem is [' and ']. They can't be part pf the folder name.
FWIW, convert the string to a list
s: "['/First Datacenter/vm/Prod-SRM']"
l: "{{ s|from_yaml }}"
gives
l.0: /First Datacenter/vm/Prod-SRM
--
Vladimir Botka
--
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/20240110181644.79b47b90%40gmail.com.
pgp3_W1RyRRlt.pgp
Description: OpenPGP digital signature
