You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
If, on a system: APT::Install-Recommends "false";
is set (eg /etc/apt/apt.conf.d/), then such an Ansible directive: apt: pkg=bla state=present install_recommends=yes
will not install the packages recommended for bla.
The effective way to set recommends is to pass -o APT::Install-Recommends=(yes|no) to the apt-get run.
That will make install_recommends more reliable.
The text was updated successfully, but these errors were encountered:
Closesansible#1189.
This will cause the settings in Ansible to override the system settings.
That will have no effect except on systems that have an out-of-Ansible
configuration that disables automatic installation of recommended
packages. Previously, ansible would use the OS default whenever
install_recommends wasn't part of the playbook. This change will cause
the Ansible default configuration setting of installing recommended
packages to override the configuration files set on the OS for things
installed through ansible, even when there is no install_recommends
specified in the playbook. Because the OS default matches the Ansible
default, this shouldn't have wide impact.
If, on a system:
APT::Install-Recommends "false";
is set (eg /etc/apt/apt.conf.d/), then such an Ansible directive:
apt: pkg=bla state=present install_recommends=yes
will not install the packages recommended for bla.
The effective way to set recommends is to pass
-o APT::Install-Recommends=(yes|no)
to the apt-get run.That will make install_recommends more reliable.
The text was updated successfully, but these errors were encountered: