Merge "Do not install EPEL from the internet if it's already installed"

This commit is contained in:
Zuul 2022-09-19 22:19:25 +00:00 committed by Gerrit Code Review
commit 83e9c4b21d

View File

@ -31,6 +31,8 @@
- name: "Enable EPEL repository for CentOS Stream 9" - name: "Enable EPEL repository for CentOS Stream 9"
command: dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm command: dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
args:
creates: /etc/yum.repos.d/epel.repo
when: when:
- enable_epel | bool - enable_epel | bool
- dib_os_element == "debian" - dib_os_element == "debian"