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 a version or provide a custom pin configuration,
debops.apt_preferences role will configure the specified packages to be
installed from the backports repository of the current OS release.
debops.apt_preferences - Manage APT preferences using Ansible
Copyright (C) 2015-2016 Maciej Delmanowski <email@example.com>
Copyright (C) 2015-2017 Robin Schneider <firstname.lastname@example.org>
Copyright (C) 2015-2017 DebOps <https://debops.org/>
This Ansible role is part of DebOps.
DebOps is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3, as
published by the Free Software Foundation.
DebOps is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with DebOps. If not, see https://www.gnu.org/licenses/.