Skip to content

Commit

Permalink
Adding the documentation for 'install-recommends' to APT.
Browse files Browse the repository at this point in the history
  • Loading branch information
pas256 committed Jul 9, 2012
1 parent 429d110 commit 3807e16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rst/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,18 @@ Manages apt-packages (such as for Debian/Ubuntu).

* Corresponds to the -t option for apt, and sets pin priorities

*install-recommends*: (devel branch now, part of ansible 0.6 later)

* 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.

Example action from Ansible :doc:`playbooks`::

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
apt pkg=openjdk-6-jdk state=latest install-recommends=no

.. _assemble:

Expand Down

0 comments on commit 3807e16

Please sign in to comment.