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
bde41bac
Commit
bde41bac
authored
Dec 26, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some small docsite formatting things.
parent
1c29f043
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docsite/rst/playbooks_variables.rst
+3
-3
No files found.
docsite/rst/playbooks_variables.rst
View file @
bde41bac
...
...
@@ -67,7 +67,7 @@ This can be nice as it's right there when you are reading the playbook.
.. _included_variables:
Variables defined from included files and roles
-----------------------------------------------
```````````````````````````````````````````````
It turns out we've already talked about variables in another place too.
...
...
@@ -85,13 +85,13 @@ Ansible allows you to
reference variables in your playbooks using the Jinja2 templating system. While you can do a lot of complex
things in Jinja, only the basics are things you really need to learn at first.
For instance, in a simple template, you can do something like
For instance, in a simple template, you can do something like
::
My amp goes to {{ max_amp_value }}
And that will provide the most basic form of variable substitution.
This is also valid directly in playbooks, and you'll occasionally want to do things like:
This is also valid directly in playbooks, and you'll occasionally want to do things like:
:
template: src=foo.cfg.j2 dest={{ remote_install_path}}/foo.cfg
...
...
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