1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
Michael DeHaan 2012-04-19 09:57:45 -04:00
parent 806fdf0fbe
commit 02bd7b74e1
2 changed files with 5 additions and 3 deletions

View file

@ -216,7 +216,8 @@ noted, any given module does support change hooks.</p>
<p><em>update-cache</em>:</p> <p><em>update-cache</em>:</p>
<ul class="simple"> <ul class="simple">
<li>Whether apt cache must be updated prior operation. Optional, and can be <li>Whether apt cache must be updated prior operation. Optional, and can be
&#8216;yes&#8217;, or &#8216;no&#8217;. The default is &#8216;no&#8217;.</li> &#8216;yes&#8217;, or &#8216;no&#8217;. The default is &#8216;no&#8217;. This can be done as the part of a
package operation or as a seperate step.</li>
</ul> </ul>
<p><em>purge</em>:</p> <p><em>purge</em>:</p>
<ul class="simple"> <ul class="simple">
@ -224,7 +225,8 @@ noted, any given module does support change hooks.</p>
Defaults to &#8216;no&#8217;.</li> Defaults to &#8216;no&#8217;.</li>
</ul> </ul>
<p>Example action from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p> <p>Example action from Ansible <a class="reference internal" href="playbooks.html"><em>Playbooks</em></a>:</p>
<div class="highlight-python"><pre>apt pkg=foo ensure=removed <div class="highlight-python"><pre>apt pkg=foo update-cache=yes
apt pkg=foo ensure=removed
apt pkg=foo ensure=installed apt pkg=foo ensure=installed
apt pkg=foo ensure=latest update-cache=yes</pre> apt pkg=foo ensure=latest update-cache=yes</pre>
</div> </div>

File diff suppressed because one or more lines are too long