Enable PowerTools repository for distro installs
RDO repo relies on some libraties that are present in PowerTools repository. This repo exists in base image, however is disabled. From the other side, zuul adds this repo with base jobs and enable it in CI by default. So not to deal with getting right URL and etc, we're just running command Change-Id: I028dce38a4b7dbdd3683b4ad07bd2f5cd19ed1b5
This commit is contained in:
parent
002362ba6b
commit
5f6362fa5c
|
@ -101,3 +101,11 @@
|
|||
when:
|
||||
- ansible_os_family | lower == 'redhat'
|
||||
- ansible_distribution_major_version is version('8', '=')
|
||||
|
||||
- name: Enable PowerTools repository
|
||||
command: yum-config-manager --enable PowerTools
|
||||
changed_when: false
|
||||
when:
|
||||
- ansible_os_family | lower == 'redhat'
|
||||
- ansible_distribution_major_version is version('8', '=')
|
||||
- install_method == 'distro'
|
||||
|
|
|
@ -15,3 +15,5 @@
|
|||
|
||||
global_environment_variables:
|
||||
PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
|
||||
install_method: source
|
||||
|
|
Loading…
Reference in New Issue