APT preferences can be used to influence package selection performed by APT during installation or upgrades. You can for example tell APT that you prefer packages from certain repositories or want to hold a package on a particular version no matter what (among other things).
By default, if you don't specify version or provide custom pin configuration,
debops.apt_preferences
role will configure specified packages to be installed from
backports repository of a current OS release.
This role requires at least Ansible v1.7.0
. To install it, run:
ansible-galaxy install debops.apt_preferences
More information about debops.apt_preferences
can be found in the
official debops.apt_preferences documentation.
You may need to include missing roles from the DebOps common playbook into your playbook.
Try DebOps now for a complete solution to run your Debian-based infrastructure.
apt_preferences
role was written by:
License: GPLv3
This role is part of the DebOps project. README generated by ansigenome.