clarified how block applies directives to tasks

previous text could be interpreted as the block itself doing the evaluation and skipping
pull/14304/head
Brian Coca 9 years ago
parent 26cd465068
commit c433289a8b

@ -27,8 +27,9 @@ to the tasks.
become_user: root
In the example above the 3 tasks will be executed only when the block's when condition is met and enables
privilege escalation for all the enclosed tasks.
In the example above the each of the 3 tasks will be executed after appending the `when` condition from the block
and evaluating it in the task's context. Also they inherit the privilege escalation directives enabling "become to root"
for all the enclosed tasks.
.. _block_error_handling:

Loading…
Cancel
Save