991e886e28
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
26 lines
899 B
YAML
26 lines
899 B
YAML
---
|
|
# Copyright 2017, SUSE LINUX GmbH.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
pip_install_external_repo:
|
|
- name: "OBS:Cloud:OpenStack:Pike"
|
|
uri: "{{ pip_install_opensuse_mirror_obs_url }}/repositories/Cloud:/OpenStack:/Pike/openSUSE_Leap_{{ ansible_distribution_version }}"
|
|
|
|
pip_install_distro_build_packages:
|
|
- gcc
|
|
- libffi-devel
|
|
- libopenssl-devel
|
|
- openssl
|
|
- python-devel
|