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
4dec1d17
Commit
4dec1d17
authored
Apr 17, 2012
by
Dag Wieers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix small typo
parent
b30aadcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
examples.html
+2
-3
rst/examples.rst
+1
-1
No files found.
examples.html
View file @
4dec1d17
...
...
@@ -226,7 +226,7 @@ ansible webservers -m template -a "src=/srv/ntp.j2 dest=/etc/ntp.conf"</pre>
</div>
<p>
Ansible variables are used in templates by using the name surrounded by double
curly-braces. If facter or ohai were installed on the remote machine, variables
from those programs can be accessed too,
which
the appropriate prefix:
</p>
from those programs can be accessed too,
using
the appropriate prefix:
</p>
<div
class=
"highlight-python"
><pre>
This is an Ansible variable: {{ favcolor }}
This is a facter variable: {{ facter_hostname }}
This is an ohai variable: {{ ohai_foo }}
</pre>
...
...
@@ -348,4 +348,4 @@ a simplified syntax for this.</p>
</div>
</footer>
</body>
</html>
\ No newline at end of file
</html>
rst/examples.rst
View file @
4dec1d17
...
...
@@ -86,7 +86,7 @@ simpler::
Ansible variables are used in templates by using the name surrounded by double
curly-braces. If facter or ohai were installed on the remote machine, variables
from those programs can be accessed too,
which
the appropriate prefix::
from those programs can be accessed too,
using
the appropriate prefix::
This is an Ansible variable: {{ favcolor }}
This is a facter variable: {{ facter_hostname }}
...
...
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