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
ce2cdc22
Commit
ce2cdc22
authored
Aug 01, 2012
by
Lorin Hochstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'tasks' should not be preceded by '-' in examples
parent
dac0db9c
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 @
ce2cdc22
...
...
@@ -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
...
...
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