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
e1b1d092
Commit
e1b1d092
authored
Aug 22, 2013
by
James Cammarata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove references to old-style variables
Fixes #3842
parent
1f42fd99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
docsite/latest/rst/playbooks.rst
+1
-1
No files found.
docsite/latest/rst/playbooks.rst
View file @
e1b1d092
...
...
@@ -149,7 +149,7 @@ These variables can be used later in the playbook like this::
{{
varname
}}
Variables
are
passed
through
the
Jinja2
templating
engine
,
and
support
the
use
of
filters
to
modify
the
variable
(
for
example
:
{{
varname
|
int
}}
ensures
the
variable
is
interpret
t
ed
as
an
integer
).
To
learn
more
about
Jinja2
,
you
can
optionally
see
the
`
Jinja2
docs
<
http
://
jinja
.
pocoo
.
org
/
docs
/>`
_
-
though
remember
that
Jinja2
loops
and
conditionals
are
only
for
'templates'
in
Ansible
,
in
playbooks
,
ansible
has
the
'when'
and
'with'
keywords
for
conditionals
and
loops
.
Variables
are
passed
through
the
Jinja2
templating
engine
,
and
support
the
use
of
filters
to
modify
the
variable
(
for
example
:
{{
varname
|
int
}}
ensures
the
variable
is
interpreted
as
an
integer
).
To
learn
more
about
Jinja2
,
you
can
optionally
see
the
`
Jinja2
docs
<
http
://
jinja
.
pocoo
.
org
/
docs
/>`
_
-
though
remember
that
Jinja2
loops
and
conditionals
are
only
for
'templates'
in
Ansible
,
in
playbooks
,
ansible
has
the
'when'
and
'with'
keywords
for
conditionals
and
loops
.
If
there
are
discovered
variables
about
the
system
,
called
'facts'
,
these
variables
bubble
up
back
into
the
playbook
,
and
can
be
used
on
each
system
just
like
explicitly
set
variables
.
Ansible
provides
several
of
these
,
prefixed
with
'ansible'
,
which
are
documented
under
'setup'
in
the
module
documentation
.
Additionally
,
...
...
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