Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
b9d8ca4f
Commit
b9d8ca4f
authored
Aug 02, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #166 from lorin/tasks-not-element
'tasks' should not be preceded by '-' in examples
parents
71d7f1ac
ce2cdc22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rst/playbooks.rst
+3
-3
No files found.
rst/playbooks.rst
View file @
b9d8ca4f
...
...
@@ -276,15 +276,15 @@ A task include file simply contains a flat list of tasks, like so::
Include
directives
look
like
this
,
and
can
be
mixed
in
with
regular
tasks
in
a
playbook
::
-
tasks
:
-
include
:
tasks
/
foo
.
yml
tasks
:
-
include
:
tasks
/
foo
.
yml
You
can
also
pass
variables
into
includes
.
We
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment