vars: Explicitly pull the openssl package

We are using the openssl package in various places but we never
actually pull it explicitly. Ubuntu pulls openssl as a dependency of
the lxc-templates package in the lxc_hosts role, and on openSUSE the
libopenssl-devel package requires openssl. However, on CentOS nothing
really requires the openssl executable (at least until it's needed in
the lxc_container_create role) so we may end up trying to use it
and fail if it's not already installed on the host. In the OpenStack
CI the openssl package seems to be pulled as a dependency of the
'unbound' package.

This fixes the following issue in the lxc_container_create role
when running on CentOS

"/usr/local/bin/lxc-veth-wiring: line 24: openssl: command not found"

Change-Id: Ifa6e2e476710a61a632dba8fedec786c58ae93c2
This commit is contained in:
Markos Chandras 2017-11-21 14:23:33 +00:00
parent 35f085286a
commit 991e886e28
3 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ pip_install_external_repo_key_package: "https://repos.fedorapeople.org/repos/ope
pip_install_distro_build_packages:
- gcc
- libffi-devel
- openssl
- openssl-devel
- python-devel
- yum-plugin-priorities

View File

@ -21,4 +21,5 @@ pip_install_distro_build_packages:
- gcc
- libffi-devel
- libopenssl-devel
- openssl
- python-devel

View File

@ -24,4 +24,5 @@ pip_install_distro_build_packages:
- python-dev
- libffi-dev
- libssl-dev
- openssl
- python3-dev