Skip to content
Snippets Groups Projects
Commit c57ac000 authored by Chris Hines's avatar Chris Hines
Browse files

remove unnecessary attempts to add epel

parent f90794c2
No related branches found
No related tags found
1 merge request!26Bunchoffixes
...@@ -9,18 +9,12 @@ ...@@ -9,18 +9,12 @@
sudo: true sudo: true
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: add epel on CentOS 7
shell: rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
sudo: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
ignore_errors: true
- name: Install epel-release - name: Install epel-release
yum: name=epel-release-7-5.noarch state=present yum: name=epel-release-7-5.noarch state=present
sudo: true sudo: true
when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
#- name: Enable epel #- name: Enable epel
# command: yum-config-manager --enable epel # command: yum-config-manager --enable epel
# sudo: true # sudo: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment