I have a list of dictionary variables something like below in vars file.

App01:
 A : value1
 B : value2
 C : value3

App02:
  A : value4
  C : value5
  B : value6

And so on...

When I run my playbook with -e option app=01 or app=App01 
I want to use App01 variables in with_items in my task .

How can I achieve this?

-- 
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/2ebce4ff-8a81-4f1f-a978-1aefa38ada97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to