<p>More ansible facts will be added with successive releases.</p>
<p>If facter or ohai are installed, variables from these programs will
<p>If facter or ohai are installed, variables from these programs will
also be snapshotted into the JSON file for usage in templating. These
also be snapshotted into the JSON file for usage in templating. These
variables are prefixed with <ttclass="docutils literal"><spanclass="pre">facter_</span></tt> and <ttclass="docutils literal"><spanclass="pre">ohai_</span></tt> so it’s easy to
variables are prefixed with <ttclass="docutils literal"><spanclass="pre">facter_</span></tt> and <ttclass="docutils literal"><spanclass="pre">ohai_</span></tt> so it’s easy to
tell their source. Ansible also provides it’s own ‘facts’ about the
tell their source.</p>
remote system, which are prefixed with <ttclass="docutils literal"><spanclass="pre">ansible_</span></tt>. All variables are
<p>All variables are bubbled up to the caller. Using the ansible facts and chosing
then bubbled up to the caller. Using the ansible facts and chosing
to not install facter and ohai means you can avoid ruby-dependencies
to not install facter and ohai means you can avoid ruby-dependencies
on your remote systems.</p>
on your remote systems.</p>
<p><em>anything</em>:</p>
<p><em>anything</em>:</p>
<blockquote>
<blockquote>
<div><ulclass="simple">
<div><ulclass="simple">
<li>Any other parameters can be named basically anything, and set a
<li>Any other parameters can be named basically anything, and set a <ttclass="docutils literal"><spanclass="pre">key=value</span></tt> pair in the JSON file for use in templating.</li>
<ttclass="docutils literal"><spanclass="pre">key=value</span></tt> pair in the JSON file for use in templating.</li>
</ul>
</ul>
</div></blockquote>
</div></blockquote>
<p>Example action from Ansible <aclass="reference internal"href="playbooks.html"><em>Playbooks</em></a>:</p>
<p>Example action from Ansible <aclass="reference internal"href="playbooks.html"><em>Playbooks</em></a>:</p>