Added var file for EL9

We cannot merge the redhat-7 and redhat-8 var file in a single
file as package names are different and if we include more
conditionals, it makes the files messy.

So adding a seperate var file for EL9.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I2b5004bcf57b05fee16e10154355933cfeae3d44
This commit is contained in:
Chandan Kumar (raukadah) 2021-10-19 14:35:48 +05:30
parent f866f7ffee
commit 05167e8de0
1 changed files with 59 additions and 0 deletions

59
vars/redhat-9.yml Normal file
View File

@ -0,0 +1,59 @@
---
# Copyright 2019, Red Hat, 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.
tempest_distro_packages:
- git
- libxslt # required by the python module unittest2
- gcc # required to build tempest plugins (TODO) remove this when the repo server can satisfy the tempest plugin requirements
- iputils
- nmap # provides ncat tool which is required by some of the neutron-tempest-plugin scenario tests
_stestr_executable: stestr-3
# NOTE(chandankumar): It is needed by python_venv_build ansible role to create
# virtualenv. By default venv_python_executable var sets to python2, changing it
# in the role itself, breaks other roles. So for distros using python3 making the
# change here fixes the issue.
_tempest_venv_python_executable: "python3"
tempest_service_distro_packages:
- openstack-tempest
- python3-subunit
- subunit-filters
tempest_devel_distro_packages:
- python3-devel # required for netifaces module for stackviz
tempest_plugin_distro_packages:
- "{{ (tempest_service_available_aodh | bool) | ternary('python3-telemetry-tests-tempest', '') }}"
- "{{ (tempest_service_available_barbican | bool) | ternary('python3-barbican-tests-tempest', '') }}"
- "{{ (tempest_service_available_ceilometer | bool) | ternary('python3-telemetry-tests-tempest', '') }}"
- "{{ (tempest_service_available_cinder | bool) | ternary('python3-cinder-tests-tempest', '') }}"
- "{{ (tempest_service_available_congress | bool) | ternary('python3-congress-tests-tempest', '') }}"
- "{{ (tempest_service_available_designate | bool) | ternary('python3-designate-tests-tempest', '') }}"
- "{{ (tempest_service_available_heat | bool) | ternary('python3-heat-tests-tempest', '') }}"
- "{{ (tempest_service_available_ironic | bool) | ternary('python3-ironic-tests-tempest', '') }}"
- python3-keystone-tests-tempest
- "{{ (tempest_service_available_magnum | bool) | ternary('python3-magnum-tests-tempest', '') }}"
- "{{ (tempest_service_available_manila | bool) | ternary('python3-manila-tests-tempest', '') }}"
- "{{ (tempest_service_available_mistral | bool) | ternary('python3-mistral-tests-tempest', '') }}"
- "{{ (tempest_service_available_murano | bool) | ternary('python3-murano-tests-tempest', '') }}"
- "{{ (tempest_service_available_neutron | bool) | ternary('python3-neutron-tests-tempest', '') }}"
- "{{ (tempest_service_available_neutron_vpnaas | bool) | ternary('python3-networking-vpnaas-tests', '') }}"
- "{{ (tempest_service_available_novajoin | bool) | ternary('python3-novajoin-tests-tempest', '') }}"
- "{{ (tempest_service_available_octavia | bool) | ternary('python3-octavia-tests-tempest', '') }}"
- "{{ (tempest_service_available_sahara | bool) | ternary('python3-sahara-tests-tempest', '') }}"
- "{{ (tempest_service_available_whitebox | bool) | ternary('python3-whitebox-tests-tempest', '') }}"
- "{{ (tempest_service_available_zaqar | bool) | ternary('python3-zaqar-tests-tempest', '') }}"