Skip to content
Snippets Groups Projects
Commit e5a28188 authored by Stig Telfer's avatar Stig Telfer Committed by Mark Goddard
Browse files

When EPEL install flag is not set

The flag dnf_install_epel was being used to predicate installation
of the EPEL RPM repo package, but not preventing the installation
of configuration for access to EPEL.  This small patch completes
the job.

Updates the overcloud host configure CI job to install EPEL mirrors,
since it was previously relying on this buggy behaviour.

Change-Id: Ib417837d0772338b16ea9f7f2540549f277d5de8
parent 7c25fec6
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,11 @@ ...@@ -38,9 +38,11 @@
loop: loop:
- epel.repo - epel.repo
- epel-modular.repo - epel-modular.repo
when: dnf_install_epel | bool
- name: Update cache - name: Update cache
dnf: dnf:
name: [] name: []
update_cache: yes update_cache: yes
become: True become: True
when: dnf_install_epel | bool
...@@ -103,8 +103,6 @@ dnf_custom_repos: ...@@ -103,8 +103,6 @@ dnf_custom_repos:
baseurl: http://packages.treasuredata.com/3/redhat/$releasever/$basearch baseurl: http://packages.treasuredata.com/3/redhat/$releasever/$basearch
gpgkey: https://packages.treasuredata.com/GPG-KEY-td-agent gpgkey: https://packages.treasuredata.com/GPG-KEY-td-agent
gpgcheck: yes gpgcheck: yes
# Don't install EPEL repositories.
dnf_install_epel: false
# Enable DNF Automatic. # Enable DNF Automatic.
dnf_automatic_enabled: true dnf_automatic_enabled: true
{% endif %} {% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment