mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Rebuild
This commit is contained in:
parent
db014182e6
commit
799fb60051
4 changed files with 9 additions and 5 deletions
|
@ -251,12 +251,17 @@ Defaults to ‘no’.</li>
|
|||
<ul class="simple">
|
||||
<li>Corresponds to the -t option for apt, and sets pin priorities</li>
|
||||
</ul>
|
||||
<p><em>install-recommends</em>: (devel branch now, part of ansible 0.6 later)</p>
|
||||
<ul class="simple">
|
||||
<li>Corresponds to the –no-install-recommends option for apt. Defaults to ‘yes’, which means install the recommended packages the same way APT does by default. Set this to ‘no’ to add the option not to install recommended packages.</li>
|
||||
</ul>
|
||||
<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 update-cache=yes
|
||||
apt pkg=foo state=removed
|
||||
apt pkg=foo state=installed
|
||||
apt pkg=foo=1.00 state=installed
|
||||
apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes</pre>
|
||||
apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes
|
||||
apt pkg=openjdk-6-jdk state=latest install-recommends=no</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="assemble">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue