From 5f77d930c852c8aab30130b9df396f249df98a5b Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 11 Jan 2022 08:20:56 -0500 Subject: [PATCH] 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 --- inventory/group_vars/utility_all.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/inventory/group_vars/utility_all.yml b/inventory/group_vars/utility_all.yml index e26656ba44..dc43394a5a 100644 --- a/inventory/group_vars/utility_all.yml +++ b/inventory/group_vars/utility_all.yml @@ -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) }}"