Role apt_package_pinning for OpenStack-Ansible
Go to file
Jesse Pretorius adf63d9b9e Ensure that doc linting is included in the linters test
The 'docs' tox target executes the doc8 lint test which may result in
failures when testing documentation builds, but OpenStack-CI does not
execute that tox target.

In order to ensure that we catch all standard documentation syntax
errors and prevent them from merging, this patch includes the docs
target in the 'linters' chain of tests.

Fixes for any failures which result from executing this test are also
included in the patch.

Change-Id: Ic56a210b529a54e424944fdc79a00c9fa256bb56
2016-07-25 14:07:52 +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 Remove duplicates from .gitignore 2016-07-15 11:20:11 +10: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 Ensure that doc linting is included in the linters test 2016-07-25 14:07:52 +01: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" }