8e55ea08a4
Change-Id: If7d6e58b19f98ccb7cc4c209e458cb6f4f4765ad
22 lines
630 B
YAML
22 lines
630 B
YAML
---
|
|
- name: Install dbus for debian system
|
|
apt:
|
|
name: dbus
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
become: true
|
|
|
|
- block:
|
|
# NOTE(mgoddard): The CentOS image used in CI has epel-release installed,
|
|
# but the configure-mirrors role used by Zuul disables epel. We no longer
|
|
# install EPEL by default, but let's just be sure it's disabled.
|
|
- name: Ensure dnf-plugins-core is installed
|
|
package:
|
|
name: dnf-plugins-core
|
|
state: present
|
|
|
|
- name: Enable the EPEL repository
|
|
command: dnf config-manager --disable epel
|
|
when: ansible_os_family in ['RedHat', 'Rocky']
|
|
become: true
|