roles typically doesn't have .yml extension.

By default if a task within a role fails, ansible playbook will not 
execution.  The 3 roles will be executed in sequence so b role will execute 
if a role is successful. 

On Wednesday, September 5, 2018 at 11:40:13 PM UTC-7, Abhijit Chakraborty 
wrote:
>
> hello all,
>                  I am just starting to play with Ansible roles. I have a 
> file named main.yml where i am calling three roles
>
>
> roles:
>         a.yml
>         b.yml
>         c.yml
>
>
> Mu question is whether this three roles will get called all at once or 
> will role b get executed only when role a succeeds ? 
>
> Regards,
> Abhijit
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f7a78653-ce5b-43ea-a767-802be6ad411e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to