# Is there any way to parse a list of values in a variable using a Survey in a AWX Job Template?

**URL:** <https://forum.ansible.com/t/is-there-any-way-to-parse-a-list-of-values-in-a-variable-using-a-survey-in-a-awx-job-template/27483>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 8, 2018, 1:46pm UTC](https://forum.ansible.com/t/is-there-any-way-to-parse-a-list-of-values-in-a-variable-using-a-survey-in-a-awx-job-template/27483 "2018-05-08T13:46:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_VA](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@David\_VA](https://forum.ansible.com/u/David_VA)\
**Post date:** [May 8, 2018, 1:46pm UTC](https://forum.ansible.com/t/is-there-any-way-to-parse-a-list-of-values-in-a-variable-using-a-survey-in-a-awx-job-template/27483/1 "2018-05-08T13:46:22Z")

</div>

Dear all,

I’m programming a Jboss role to manage the deployment of any Jboss node. The role is included using a playbook wich parses some ‘interface’ variables to the role, in order to make them independent of the role.

The idea is integrate it in AWX using a Job Template, parsing some variables to the role. The playbook is called with a Job Template, which in turn defines de values in the variables described in the playbook.

All the variables are correctly parsed but one, which is expected to a list of values, containing the name of the binaries to be managed:

When the values are parsed to the variable in the AWX Job Template extra vars, everything works fine, but I’d rather use the a survey field in order to not allot to modify the extra vars field.

Extra vars:

> **(attachments)**
>
> ![Extra_vars_working_fine.JPG](https://us1.discourse-cdn.com/ansible/original/2X/6/61c3d290f5dfe306d567257b7a3719ee8b65aec0.jpeg)  
> ![Job_summay_extra_vars.JPG](https://us1.discourse-cdn.com/ansible/original/2X/8/890edba26946a766cedbe4f0ca924596182d1d41.jpeg)  
> ![Job_summay_survey.JPG](https://us1.discourse-cdn.com/ansible/original/2X/6/608e63a00395a21ba2d25b66407619817eab97c1.jpeg)  
> ![Survey_not_working_fine.JPG](https://us1.discourse-cdn.com/ansible/original/2X/4/400248122f6e25a8928d98696791844ad6ad4b38.jpeg)

---

<div class="post-metadata">

**Author:** ![David\_VA](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@David\_VA](https://forum.ansible.com/u/David_VA)\
**Post date:** [May 8, 2018, 1:51pm UTC](https://forum.ansible.com/t/is-there-any-way-to-parse-a-list-of-values-in-a-variable-using-a-survey-in-a-awx-job-template/27483/2 "2018-05-08T13:51:51Z")

</div>

Note that there have been defined two vars (server\_deployment and server\_deployment2) for testing purposes.

In addition, I’ve tried using - and { } in the survey text field without success.

Thanks in advance for your kindly support.

Best regards, David.
