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:
parent
51e89d6e24
commit
e8b992fc1d
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user