openstack-ansible-apt_packa.../examples/playbook.yml
Andrew Meserole fe2bd57ec2 [DOCS] Refactor apt package pinning Docs
This commit refactors the current docs in the apt_package_pinning
role. Moving forward, specific project configurations are
maintained in the appropriate role book.

Change-Id: Idb995e689045df4244239300d66491e47780fd0a
2016-08-12 12:58:51 +00:00

10 lines
398 B
YAML

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