To decide which var to use:
mydict: {{ '01' in app|ternary('App01', 'App02') }}
Then you can use via:
lookup('vars', mydict)
----------
Brian Coca
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CACVha7dx_N8t1auMmxVcJmv4%3D-EsaRoff%2B451eb%2BnHJwK%3DYa7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.