From c433289a8b3d12950a3c42e5336ce62f127b5daf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 3 Feb 2016 14:33:25 -0500 Subject: [PATCH] clarified how block applies directives to tasks previous text could be interpreted as the block itself doing the evaluation and skipping --- docsite/rst/playbooks_blocks.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docsite/rst/playbooks_blocks.rst b/docsite/rst/playbooks_blocks.rst index 7dce94b6d72..d0564345ef2 100644 --- a/docsite/rst/playbooks_blocks.rst +++ b/docsite/rst/playbooks_blocks.rst @@ -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: