Install curl by defining binary that is provided

Currently, curl conflicts with curl-minimal package on Rocky:
package curl-minimal-7.76.1-19.el9_1.1.x86_64 conflicts with curl
provided by curl-7.76.1-19.el9_1.1.x86_64

To avoid complex logic between curl/curl-minimal we just install
package by providing a path to the binary it should provide.

Based on the distro this will result in instalation of either
curl or curl-minimal.

We also disable rhel9 jobs to sort out circular dependnecy.

Change-Id: If0f08e98912f1f7d060e5b9a338062d3d8469f3a
This commit is contained in:
Dmitriy Rabotyagov 2023-02-07 16:28:46 +01:00 committed by Dmitriy Rabotyagov
parent 854397b5d0
commit cfb9d1932c
2 changed files with 18 additions and 1 deletions

View File

@ -52,7 +52,7 @@ _openstack_host_distro_packages:
## Bare metal base packages
_openstack_host_metal_distro_packages:
- cronie
- curl
- /usr/bin/curl
- device-mapper-event
- dstat
- ebtables

View File

@ -22,3 +22,20 @@
- publish-openstack-docs-pti
- build-release-notes-jobs-python3
- openstack-ansible-linters-jobs
check:
jobs:
- openstack-ansible-deploy-hosts_metal-centos-9-stream:
voting: false
- openstack-ansible-deploy-hosts_metal-rockylinux-9:
voting: false
- openstack-ansible-deploy-hosts_distro_lxc-centos-9-stream:
voting: false
gate:
jobs:
- openstack-ansible-deploy-hosts_metal-centos-9-stream:
voting: false
- openstack-ansible-deploy-hosts_metal-rockylinux-9:
voting: false
- openstack-ansible-deploy-hosts_distro_lxc-centos-9-stream:
voting: false