mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Move see also blocks to bottom of each page to include reading docs, remove 'fork me' to avoid text overlap,
simply menu nav so folks find the chapter link.
This commit is contained in:
@@ -109,7 +109,7 @@ s.parentNode.insertBefore(ga, s);
|
||||
|
||||
<li class="dropdown" data-dropdown="dropdown">
|
||||
<a href="index.html"
|
||||
class="dropdown-toggle">Site</a>
|
||||
class="dropdown-toggle">Chapter</a>
|
||||
<span class="globaltoc"><ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="gettingstarted.html">Downloads & Getting Started</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="patterns.html">The Inventory File, Patterns, and Groups</a></li>
|
||||
@@ -124,27 +124,6 @@ s.parentNode.insertBefore(ga, s);
|
||||
</ul>
|
||||
</span>
|
||||
</li>
|
||||
<li class="dropdown" data-dropdown="dropdown">
|
||||
<a href="#"
|
||||
class="dropdown-toggle">Page</a>
|
||||
<span class="localtoc"><ul>
|
||||
<li><a class="reference internal" href="#">YAML Syntax</a><ul>
|
||||
<li><a class="reference internal" href="#yaml-basics">YAML Basics</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</span>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li><a href="modules.html"
|
||||
title="previous chapter">« Ansible Modules</a></li>
|
||||
<li><a href="playbooks.html"
|
||||
title="next chapter">Playbooks »</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
<ul class="nav secondary-nav">
|
||||
@@ -162,11 +141,6 @@ s.parentNode.insertBefore(ga, s);
|
||||
</div>
|
||||
|
||||
|
||||
<a href="https://github.com/ansible/ansible"><img
|
||||
style="position: absolute; top: 40px; right: 0; border: 0;"
|
||||
src="https://a248.e.akamai.net/assets.github.com/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67"
|
||||
alt="Fork me on GitHub"
|
||||
alt="Fork me on GitHub"></a>
|
||||
<div class="container">
|
||||
|
||||
<div class="section" id="yaml-syntax">
|
||||
@@ -176,15 +150,8 @@ playbooks (our configuration management language) are expressed.</p>
|
||||
<p>We use YAML because it is easier to read and write for humans than other common
|
||||
data formats like XML or JSON. Further, there are libraries available for reading
|
||||
and writing YAML in most programming languages.</p>
|
||||
<p>You may also wish to read playbook examples at the same time to see how this
|
||||
<p>You may also wish to read <em class="xref std std-ref">playbooks</em> at the same time to see how this
|
||||
is used in practice.</p>
|
||||
<div class="admonition-see-also admonition seealso">
|
||||
<p class="first admonition-title">See also</p>
|
||||
<dl class="last docutils">
|
||||
<dt><a class="reference internal" href="playbooks.html"><em>Playbooks</em></a></dt>
|
||||
<dd>See YAML examples in practice in playbooks</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<div class="section" id="yaml-basics">
|
||||
<h2>YAML Basics<a class="headerlink" href="#yaml-basics" title="Permalink to this headline">¶</a></h2>
|
||||
<p>For <cite>ansible</cite>, nearly every YAML file starts with a list.
|
||||
@@ -249,6 +216,8 @@ languages:
|
||||
<dd>Learn what playbooks can do and how to write/run them.</dd>
|
||||
<dt><a class="reference external" href="http://yamllint.com/">YAMLLint</a></dt>
|
||||
<dd>YAML Lint (online) helps you debug YAML syntax if you are having problems</dd>
|
||||
<dt><a class="reference external" href="https://github.com/ansible/ansible/tree/master/examples/playbooks">Github examples directory</a></dt>
|
||||
<dd>Complete playbook files from the github project source</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
@@ -261,7 +230,7 @@ languages:
|
||||
<p class="pull-right"><a href="#">Back to top</a></p>
|
||||
<p>
|
||||
© Copyright 2012 Michael DeHaan.<br/>
|
||||
Last updated on Mar 30, 2012.<br/>
|
||||
Last updated on Mar 31, 2012.<br/>
|
||||
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.8.<br/>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user