Suppose I have a group of host, whose Ip 
are 10.129.51.158,10.129.50.235,10.129.50.234,  and I define it as a 
variable
ip = 10.129.51.158,10.129.50.235,10.129.50.234

Is there any to to generate a play book like this by referencing this 
variable ?

[my-role]
10.129.51.158
10.129.50.235
10.129.50.234
[my-role:var]
db_user = tang

-- 
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/3a728ba5-8db0-4990-893f-3a4211c25b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to