Role apt_package_pinning for OpenStack-Ansible
Go to file
OpenStack Proposal Bot d4c77837f9 Updated from global requirements
Change-Id: Ie4901b851660c70b150357de91bb8b9cdfb7a209
2016-07-15 03:57:22 +00:00
defaults IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
doc Update sphinx configuration 2016-07-12 16:49:07 +01:00
meta IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
releasenotes Update sphinx configuration 2016-07-12 16:49:07 +01:00
tasks IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
templates IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
tests Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:26:59 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:17:40 +01:00
.gitreview New git dotfiles for independant repository 2015-11-25 17:56:02 +00:00
LICENSE IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
README.rst IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:53:50 +01:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:53:50 +01:00
setup.cfg IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
setup.py Updated from global requirements 2016-07-15 03:57:22 +00:00
test-requirements.txt Updated from global requirements 2016-07-15 03:57:22 +00:00
tox.ini Implement doc8 checks for docs 2016-07-13 11:42:57 +00:00

README.rst

Pin apt packages

tags

openstack, apt, pinning, cloud, ansible

category

*nix

Ansible role for pinning apt packages.

Example Ansible play

- 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" }