15 lines
486 B
YAML
15 lines
486 B
YAML
---
|
|
- block:
|
|
# NOTE(mgoddard): The CentOS image used in CI has epel-release installed,
|
|
# but the configure-mirrors role used by Zuul disables epel. Since we
|
|
# install epel-release and expect epel to be enabled, enable it here.
|
|
- name: Ensure yum-utils is installed
|
|
yum:
|
|
name: yum-utils
|
|
state: installed
|
|
|
|
- name: Enable the EPEL yum repository
|
|
command: yum-config-manager --enable epel
|
|
when: ansible_os_family == 'RedHat'
|
|
become: true
|