clarified how block applies directives to tasks

previous text could be interpreted as the block itself doing the evaluation and skipping
This commit is contained in:
Brian Coca 2016-02-03 14:33:25 -05:00
parent 26cd465068
commit c433289a8b

View file

@ -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: