From ce2cdc22c4f0a35e0f5d03860854bd88e170482a Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Wed, 1 Aug 2012 22:50:03 -0400 Subject: [PATCH] 'tasks' should not be preceded by '-' in examples --- rst/playbooks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rst/playbooks.rst b/rst/playbooks.rst index 4ffbf65337..973611cac2 100644 --- a/rst/playbooks.rst +++ b/rst/playbooks.rst @@ -263,15 +263,15 @@ An include file simply contains a flat list of tasks, like so:: Include directives look like this:: - - tasks: - - include: tasks/foo.yml + tasks: + - include: tasks/foo.yml You can also pass variables into includes directly. We might call this a 'parameterized include'. For instance, if deploying multiple wordpress instances, I could contain all of my wordpress tasks in a single wordpress.yml file, and use it like so:: - - tasks: + tasks: - include: wordpress.yml user=timmy - include: wordpress.yml user=alice - include: wordpress.yml user=bob