From f010bcde33d0958940a0f56e43b985f55c1a96cf Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 8 Oct 2012 07:38:21 -0400 Subject: [PATCH] Docs should indicate with_items and yum/apt logic is available --- rst/playbooks2.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rst/playbooks2.rst b/rst/playbooks2.rst index 1121bee734..89b51d9af7 100644 --- a/rst/playbooks2.rst +++ b/rst/playbooks2.rst @@ -305,8 +305,8 @@ from turning into arbitrary code with ugly nested ifs, conditionals, and so on - in more streamlined & auditable configuration rules -- especially because there are a minimum of decision points to track. -Loop Shorthand -`````````````` +Loops +````` To save some typing, repeated tasks can be written in short-hand like so:: @@ -327,8 +327,7 @@ The above would be the equivalent of:: - name: add user testuser2 action: user name=testuser2 state=present groups=wheel -In a future release, the yum and apt modules will use with_items to execute fewer package -manager transactions. +The yum and apt modules use with_items to execute fewer package manager transactions. Selecting Files And Templates Based On Variables