ceph-common: do not enable optional repos for rhel7

Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1346812
pull/851/head
Alfredo Deza 2016-06-16 10:16:30 -04:00
parent d23f8fc3db
commit c4c007b9b0
1 changed files with 0 additions and 11 deletions

View 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