Commit 78654d7b by Michael DeHaan

Merge pull request #137 from pas256/patch-3

Adding the documentation for 'install-recommends' to APT.
parents 429d1108 3807e16c
...@@ -65,6 +65,10 @@ Manages apt-packages (such as for Debian/Ubuntu). ...@@ -65,6 +65,10 @@ Manages apt-packages (such as for Debian/Ubuntu).
* Corresponds to the -t option for apt, and sets pin priorities * 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`:: Example action from Ansible :doc:`playbooks`::
apt pkg=foo update-cache=yes apt pkg=foo update-cache=yes
...@@ -72,6 +76,7 @@ Example action from Ansible :doc:`playbooks`:: ...@@ -72,6 +76,7 @@ Example action from Ansible :doc:`playbooks`::
apt pkg=foo state=installed apt pkg=foo state=installed
apt pkg=foo=1.00 state=installed apt pkg=foo=1.00 state=installed
apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes apt pkg=nginx state=latest default-release=squeeze-backports update-cache=yes
apt pkg=openjdk-6-jdk state=latest install-recommends=no
.. _assemble: .. _assemble:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment