tasks in that file can be conditional, you can also have includes

On Wed, Jan 20, 2016 at 9:38 AM, Christophe Meessen
<[email protected]> wrote:
> Yes sorry. That was what I mean. There is only one file main.yml that is
> always invoked and all tasks in it are executed.
>
>
> Le mercredi 20 janvier 2016 15:18:13 UTC+1, Brian Coca a écrit :
>>
>> > But I don't see how to pack them in one role. This is because (as I
>> > understood) invoking a role executes only one action defined in
>> > roles/X/tasks/main.yml.
>>
>> not true, all tasks defined in main.yml get executed.
>>
>>
>> --
>> 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/87e45908-31c2-4397-8f06-1df4c8e9e270%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



-- 
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/CAJ5XC8kG6PCVYGj%2Bthvp3O-HuhQgzqVnv6J_mEvukCcNYSrnbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to