Skip to content

Commit

Permalink
Looks like the epel package is in centos 6.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsg committed Aug 4, 2017
1 parent e1bae6d commit c4e1f13
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tasks/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
---

- name: Install EPEL repository from fedoraproject.org
yum:
name: http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
when: ansible_distribution_major_version < 7

- name: Install EPEL repository from repo
yum:
name: epel-release
when: ansible_distribution_major_version >= 7

- name: Install packages with yum
yum:
Expand Down

0 comments on commit c4e1f13

Please sign in to comment.