Fix small typo

This commit is contained in:
Dag Wieers 2012-04-17 15:06:12 +02:00
parent b30aadcf0b
commit 4dec1d172b
2 changed files with 3 additions and 3 deletions

View file

@ -226,7 +226,7 @@ ansible webservers -m template -a "src=/srv/ntp.j2 dest=/etc/ntp.conf"</pre>
</div> </div>
<p>Ansible variables are used in templates by using the name surrounded by double <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 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 }} <div class="highlight-python"><pre>This is an Ansible variable: {{ favcolor }}
This is a facter variable: {{ facter_hostname }} This is a facter variable: {{ facter_hostname }}
This is an ohai variable: {{ ohai_foo }}</pre> This is an ohai variable: {{ ohai_foo }}</pre>
@ -348,4 +348,4 @@ a simplified syntax for this.</p>
</div> </div>
</footer> </footer>
</body> </body>
</html> </html>

View file

@ -86,7 +86,7 @@ simpler::
Ansible variables are used in templates by using the name surrounded by double 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 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 an Ansible variable: {{ favcolor }}
This is a facter variable: {{ facter_hostname }} This is a facter variable: {{ facter_hostname }}