openstack-ansible-pip_install/vars/redhat-7.yml
Major Hayden f53ff81e3e Don't install any packages via pip
This patch ensures that we don't install any packages outside of a
virtualenv with pip.

CentOS has issues with python modules which are installed with pip
and are later installed with yum. Yum doesn't understand how to deal
with a package installation when some files are already there from
that package.

Closes-Bug: 1715888
Change-Id: I79e439f73e9d2790cb7a1327c1e1f4808b073e46
(cherry picked from commit 80594e3787)
2018-05-04 11:33:50 +01:00

30 lines
995 B
YAML

---
# Copyright 2016, Rackspace US, Inc.
#
# 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_key_package: "https://repos.fedorapeople.org/repos/openstack/openstack-ocata/rdo-release-ocata.rpm"
pip_install_distro_build_packages:
- gcc
- libffi-devel
- openssl-devel
- python-devel
- yum-plugin-priorities
pip_install_remove_distro_packages:
- centos-openstack-release-*
- centos-release-ceph-jewel
- centos-release-qemu-ev
- centos-release-storage-common