I haven't tried that, I found that I could include entire var files with 
the playbook(not the task), and then go with layers of dictionaries, that I 
can reference from Jinja from taht variable file.

Thank you



On Monday, May 5, 2014 7:18:36 PM UTC-5, Dmitry Makovey wrote:
>
>
>
> On Monday, May 5, 2014 7:27:57 AM UTC-6, greg cox wrote:
>>
>> It seems as though this is not possible, but it could really allow for 
>> using jinja's looping function.  I realize the with_items functionality, 
>> but I would like to use both at the same time, it would greatly simplify my 
>> templates, and was wondering if this was something that is possible another 
>> way?
>>
>> from vars file:
>> mgmt_access_networks = ['172.0.0.0.0/24', '172.1.0.0/16']
>>
>
> how about:
>
> mgmt_access_networks:
> - 172.0.0.0.0/24
> - 172.1.0.0/16
>  
> ?
>

-- 
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/bf799dce-4081-4e65-a704-59693a93ec86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to