enable EPEL only on RHEL and CentOS (#37)

Fedora has `ansible_os_family==RedHat`, but it does not use EPEL.
This commit is contained in:
Gonéri Le Bouder
2020-07-21 05:21:00 -04:00
committed by GitHub
parent 51e89d6e24
commit e8b992fc1d

View File

@@ -3,4 +3,5 @@
yum:
pkg: epel-release
state: installed
update_cache: yes
update_cache: yes
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'