# tower surveys / how to enter a dictionary variable

**URL:** <https://forum.ansible.com/t/tower-surveys-how-to-enter-a-dictionary-variable/25947>\
**Category:** AWX Project\
**Created:** [November 7, 2017, 1:59pm UTC](https://forum.ansible.com/t/tower-surveys-how-to-enter-a-dictionary-variable/25947 "2017-11-07T13:59:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ulises\_Alonso](https://avatars.discourse-cdn.com/v4/letter/u/a698b9/32.png) [@Ulises\_Alonso](https://forum.ansible.com/u/Ulises_Alonso)\
**Post date:** [November 7, 2017, 1:59pm UTC](https://forum.ansible.com/t/tower-surveys-how-to-enter-a-dictionary-variable/25947/1 "2017-11-07T13:59:19Z")

</div>

Hi all

I’m just trying ansible tower first time. I’m not finding any way of entering a dictionary variable with the GUI. For example, I would like to be able to set the values of a cluster\_member variable which has an item for each member

cluster\_member:  
node1: true  
node2: false  
node3: false  
node4: false  
node5: false  
node6: false  
node7: false  
node8: false

Is this possible?

Thanks

Ulises

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [November 7, 2017, 2:29pm UTC](https://forum.ansible.com/t/tower-surveys-how-to-enter-a-dictionary-variable/25947/2 "2017-11-07T14:29:05Z")

</div>

We don’t have anything more complex than a string input. It’s possible you could take a string input and parse it as yaml once it gets to your playbook: [http://docs.ansible.com/ansible/latest/playbooks\_filters.html#filters-for-formatting-data](http://docs.ansible.com/ansible/latest/playbooks_filters.html#filters-for-formatting-data)

There may be other filters you can use in your playbook to parse inputs like this.

---

<div class="post-metadata">

**Author:** ![Ulises\_Alonso](https://avatars.discourse-cdn.com/v4/letter/u/a698b9/32.png) [@Ulises\_Alonso](https://forum.ansible.com/u/Ulises_Alonso)\
**Post date:** [November 7, 2017, 2:58pm UTC](https://forum.ansible.com/t/tower-surveys-how-to-enter-a-dictionary-variable/25947/3 "2017-11-07T14:58:11Z")

</div>

Many thanks for the reply Matt

I will give it a try

Best regards
