f139eb09d4
This new role is now providing the ability for a user to pin apt packages as they see fit. The idea is to allow someone to implement pinning in a generic way that can be represented as a global variable or as a hostvar. The new role has been added to all install roles as a dependency which will allow it to ensure that packages are pinned everywhere as would be expected. Change-Id: I354e8515570fa7174366ba57d57aece3c304568e |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
LICENSE | ||
README.rst |
Pin apt packages
- tags
-
openstack, apt, pinning, cloud, ansible
- category
-
*nix
Role for pinning apt packages.
Example Ansible play
- name: Pin packages on all "hosts"
hosts: hosts
user: root
roles:
- { role: "apt_package_pinning", tags: [ "apt-package-pinning" ] }
vars:
apt_pinned_packages:
- { package: "lxc", version: "1.0.7-0ubuntu0.1" }
- { package: "libvirt-bin", version: "1.2.2-0ubuntu13.1.9" }
- { package: "rabbitmq-server", origin: "www.rabbitmq.com" }
- { package: "*", release: "MariaDB" }