Role apt_package_pinning for OpenStack-Ansible
Go to file
Matt Thompson dc69eda3e1 pin version of ansible-lint we use for testing
Latest release of ansible-lint 2.4.0 has broken
role linter tasks by introducing a dependency on
openstack-ansible-plugins for all linting

While we may choose to adapt the linter tox env
in the future, for now we want to return to previous
linter behavior.

Change-Id: I2753c67f212b14c10850876fb554ed87a3145f28
2016-03-15 15:51:15 +00:00
defaults IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
doc IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
meta IRR for apt_package_pinning 2015-11-02 21:34:23 -06: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 New git dotfiles for independant repository 2015-11-25 17:56:02 +00: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 curl to bindep requirements 2016-03-04 19:21:09 +00:00
run_tests.sh Update run_tests to be more complete 2015-11-25 19:16:19 +00: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 pin version of ansible-lint we use for testing 2016-03-15 15:51:15 +00:00
tox.ini Update tox config and add bashate E006, E040 exceptions 2016-02-12 11:26:59 +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" }