ansible/ansible — pull request #546 by pas256 (2012-07-06 19:13:52+00:00)
Title: apt module to support --no-install-recommends

This PR adds an option to the apt module so that is supports the very handy option: --no-install-recommends

By default, apt automatically installs recommended packages, but not suggested packages. Usually, this is fine, but when it comes to anything Java related, the number of recommended packages explodes.

To use, the apt module line is:

action: apt pkg=openjdk-6-jdk state=latest install-recommends=no

with the default being install-recommends=yes so it acts the same way it does now.