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
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
There may be other filters you can use in your playbook to parse inputs like this.
Many thanks for the reply Matt
I will give it a try
Best regards