From c57ac0001acd9c87e94fc3372964f9c8ab3bd8a2 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Fri, 22 Apr 2016 00:48:17 +0000 Subject: [PATCH] remove unnecessary attempts to add epel --- roles/config_repos/tasks/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/roles/config_repos/tasks/main.yml b/roles/config_repos/tasks/main.yml index 7ca82a84..6d2efb6b 100644 --- a/roles/config_repos/tasks/main.yml +++ b/roles/config_repos/tasks/main.yml @@ -9,18 +9,12 @@ sudo: true 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 yum: name=epel-release-7-5.noarch state=present sudo: true when: ansible_distribution == "CentOS" and ansible_distribution_major_version == "7" + #- name: Enable epel # command: yum-config-manager --enable epel # sudo: true -- GitLab