fdb523c52e
Paramiko version 2.0 has been released. It now uses the Python library
cryptography. Installing this requires additional system packages. This
commit adds in the appropriate packages required by cryptography based
on its documentation [1].
An alternative approach would have been to constrain the version of
Paramiko however the project describes the 1.x versions as relying on
insecure dependencies [2].
[1] https://cryptography.io/en/latest/installation/
[2] http://www.paramiko.org/installing.html
Change-Id: I702456f4a40c8d4c7e17e6db09e49785f4a64b86
(cherry picked from commit
|
||
---|---|---|
defaults | ||
doc | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
.gitignore | ||
.gitreview | ||
LICENSE | ||
README.rst | ||
other-requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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" }