Pin apt packages ################ :tags: openstack, apt, pinning, cloud, ansible :category: \*nix Ansible role for pinning apt packages. Example Ansible play .. code-block:: yaml - name: Pin packages on all "hosts" hosts: hosts user: root roles: - role: "apt_package_pinning" apt_package_pinning_file_name: "test.pref" apt_pinned_packages: - { package: "test-package-version", version: "9.9.9-version" } - { package: "test-package-origin", origin: "test-origin.org" } - { package: "test-package-release.*", release: "TestRelease" }