Role apt_package_pinning for OpenStack-Ansible
Go to file
Kevin Carter a45aa3b2c1
IRR for apt_package_pinning
The change moves the role out from the main repo openstack-ansible
repository and into its own standalone repository.

Items within this change:
  * The role has been updated to ensure it runs standalone.
  * Tests added to the role within tox.
  * Functional tests added to the role that can either be run
    via the run_tests.sh script or using tox.
  * dev requirements have been updated for testing usecases.
  * Docs added to both the README.rst file as well as the docs
    folder.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-02 21:34:23 -06: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 IRR for apt_package_pinning 2015-11-02 21:34:23 -06: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
dev-requirements.txt IRR for apt_package_pinning 2015-11-02 21:34:23 -06:00
run_tests.sh IRR for apt_package_pinning 2015-11-02 21:34:23 -06: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
tox.ini IRR for apt_package_pinning 2015-11-02 21:34:23 -06: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" }