mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2026-03-01 02:20:24 +01:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user