It looks like you are trying to dynamically include a task file. I am 
pretty sure that is not possible. You can only dynamically include vars 
files. 

I have always seen includes coupled with when statements when you need to 
conditionally include a task file. If you want to run multiple sets of task 
at the same time you can do some tricky things with async tasks. 

On Wednesday, January 7, 2015 at 4:24:23 PM UTC-8, Francisco Reyes wrote:
>
> On Sunday, January 4, 2015 6:40:06 PM UTC-5, Tom Bamford wrote:
>>
>> I tried this with v1.8.2 and it failed as your attempt, apparently not 
>> expanding the variable. I thought this would have worked in previous 
>> releases, but I could be wrong.
>>
>> - include: "{{ ansible_distribution }}.yml" 
>>
>>
>>
>>
>> Thanks Tom. Will dig a little more into the documentation. Perhaps there 
> has been a change and old examples found on the web refer to a 
> configuration/syntax no longer supported. 
>
>>
>>
>>
>>
>>  
>>
>

-- 
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/eed425f9-829c-45a9-a064-1fdb4cad3303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to