Do not duplicate packages installed with the venv build role
Toolchain and python dev packages are installed as required by python_venv_build, so it should not be necessary to pre-install them into the utility container. Depends-On: https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/824189 Change-Id: I1686c74566c30332e271f066a7ec5a2b3287edfc
This commit is contained in:
parent
26d9ac41d8
commit
5f77d930c8
@ -28,19 +28,14 @@ utility_venv_bin: "/openstack/venvs/utility-{{ openstack_release }}/bin"
|
||||
|
||||
# Distribution packages to be installed into the utility container
|
||||
utility_distro_packages:
|
||||
- git
|
||||
- bash-completion
|
||||
- "{{ (ansible_pkg_mgr == 'apt') | ternary('debianutils', 'which') }}"
|
||||
|
||||
# Distribution packages needed for the utility pip package wheel build
|
||||
_utility_devel_distro_packages_debian:
|
||||
- gcc
|
||||
- python3-dev
|
||||
_utility_devel_distro_packages_debian: []
|
||||
|
||||
_utility_devel_distro_packages_redhat:
|
||||
- gcc
|
||||
- libselinux-python3
|
||||
- python36-devel
|
||||
|
||||
utility_devel_distro_packages: "{{ (ansible_facts['os_family'] == 'RedHat') | ternary(_utility_devel_distro_packages_redhat, _utility_devel_distro_packages_debian) }}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user