ansible-role-borgbackup/tasks/RedHat.yml
Gonéri Le Bouder e8b992fc1d
enable EPEL only on RHEL and CentOS (#37)
Fedora has `ansible_os_family==RedHat`, but it does not use EPEL.
2020-07-21 17:21:00 +08:00

8 lines
197 B
YAML

---
- name: Install EPEL repo
yum:
pkg: epel-release
state: installed
update_cache: yes
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'