]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: do not enable optional repos for rhel7
authorAlfredo Deza <adeza@redhat.com>
Thu, 16 Jun 2016 14:16:30 +0000 (10:16 -0400)
committerAlfredo Deza <adeza@redhat.com>
Thu, 16 Jun 2016 18:54:49 +0000 (14:54 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1346812

roles/ceph-common/tasks/pre_requisites/prerequisite_rh_storage_cdn_install.yml

index 7d3d62189207ccf309fab1d810d4356490231b88..e926879665c1d0c92e63efd8895f66c830e65566 100644 (file)
@@ -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