kayobe/roles/kayobe-ci-prep/tasks/main.yml

22 lines
631 B
YAML

---
- name: Install dbus for debian system
apt:
name: dbus
when:
- ansible_facts.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_facts.os_family == 'RedHat'
become: true