Skip to content

Commit

Permalink
enable EPEL only on RHEL and CentOS (#37)
Browse files Browse the repository at this point in the history
Fedora has `ansible_os_family==RedHat`, but it does not use EPEL.
  • Loading branch information
goneri authored Jul 21, 2020
1 parent 51e89d6 commit e8b992f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit e8b992f

Please sign in to comment.