Role apt_package_pinning for OpenStack-Ansible
Go to file
Jesse Pretorius 787969d8e9 Update sphinx configuration
This patch updates the sphinx configuration for docs and releasenotes
to make it easier to replicate across repositories and to comply with
pep8 testing without exceptions.

Change-Id: I843852581da7663112e4f63832d60b9707b3b35a
2016-07-12 16:49:07 +01: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 IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
test-requirements.txt Update tox configuration 2016-07-08 12:42:32 +00:00
tox.ini Update tox configuration 2016-07-08 12:42:32 +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" }