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
8a860779
Commit
8a860779
authored
May 11, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some notes about 1.2 things, just to make it more obvious.
parent
25d5018f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
docsite/latest/rst/playbooks.rst
+2
-0
docsite/latest/rst/playbooks2.rst
+4
-0
No files found.
docsite/latest/rst/playbooks.rst
View file @
8a860779
...
...
@@ -446,6 +446,8 @@ inside another.
Roles
`````
..
versionadded
:
1.2
Now
that
you
have
learned
about
vars_files
,
tasks
,
and
handlers
,
what
is
the
best
way
to
organize
your
playbooks
?
The
short
answer
is
to
use
roles
! Roles are automatic ways of automatically loading certain vars_files, tasks, and
handlers
based
on
a
known
file
structure
.
Grouping
content
by
roles
also
allows
easy
sharing
of
roles
with
other
users
.
...
...
docsite/latest/rst/playbooks2.rst
View file @
8a860779
...
...
@@ -261,6 +261,10 @@ Example::
Conditional Execution
`````````````````````
(Note: this section covers 1.2 conditionals, if you are using a previous version, select
the previous version of the documentation. Those conditional forms continue to be operational
in 1.2, although the new mechanisms are cleaner.)
Sometimes you will want to skip a particular step on a particular host. This could be something
as simple as not installing a certain package if the operating system is a particular version,
or it could be something like performing some cleanup steps if a filesystem is getting full.
...
...
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