this is current state:

when you want to implement this
if(x=true)
  task1
  task2
  task3
  task4
  task5
if(y=true)
  task6
  task7 

you should write when to each task:
task1 when x
task2 when x
task3 when x
task4 when x
task5 when x
task6 when y
task7 when y

but when there would be something like goto, you could save many whens, and 
it would have the desired effect that task would be completely skipped:

goto label when x != true
task1
task2
task3
tast4
tast6

label

goto end when y !=true

tast6
tast7
end



On Thursday, July 23, 2015 at 1:37:17 PM UTC+2, Brian Coca wrote:
>
> the when will be applied to each task, so they will be skipped 
>
>
>
> -- 
> 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/1e5584c5-5c8d-48dd-b748-7a6be988e7b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to