From c4c007b9b0c6e00b0b1be1baa218fa8dd4bcae39 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 16 Jun 2016 10:16:30 -0400 Subject: [PATCH] ceph-common: do not enable optional repos for rhel7 Signed-off-by: Alfredo Deza Resolves: rhbz#1346812 --- .../prerequisite_rh_storage_cdn_install.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/roles/ceph-common/tasks/pre_requisites/prerequisite_rh_storage_cdn_install.yml b/roles/ceph-common/tasks/pre_requisites/prerequisite_rh_storage_cdn_install.yml index 7d3d62189..e92687966 100644 --- a/roles/ceph-common/tasks/pre_requisites/prerequisite_rh_storage_cdn_install.yml +++ b/roles/ceph-common/tasks/pre_requisites/prerequisite_rh_storage_cdn_install.yml @@ -4,17 +4,6 @@ register: subscription changed_when: false -- name: check if the red hat optional repo is present - shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-optional-rpms - changed_when: false - failed_when: false - register: rh_optional_repo - -- name: enable red hat optional repository - command: subscription-manager repos --enable rhel-7-server-optional-rpms - changed_when: false - when: rh_optional_repo.rc != 0 - - name: check if the red hat storage monitor repo is already present shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-1.3-mon-rpms changed_when: false