# error when trying to transform a string in ansible

**URL:** <https://forum.ansible.com/t/error-when-trying-to-transform-a-string-in-ansible/35699>\
**Category:** Ansible Project\
**Created:** [September 1, 2021, 6:00pm UTC](https://forum.ansible.com/t/error-when-trying-to-transform-a-string-in-ansible/35699 "2021-09-01T18:00:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omoeko](https://avatars.discourse-cdn.com/v4/letter/o/e47774/32.png) [@omoeko](https://forum.ansible.com/u/omoeko)\
**Post date:** [September 1, 2021, 6:00pm UTC](https://forum.ansible.com/t/error-when-trying-to-transform-a-string-in-ansible/35699/1 "2021-09-01T18:00:20Z")

</div>

I have started to write a playbook that will simply take a comma separated list, form a path with it, and then transform it into a comma separated list.
