mirror of https://github.com/ceph/ceph-ansible.git
ceph-common: do not enable optional repos for rhel7
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1346812pull/851/head
parent
d23f8fc3db
commit
c4c007b9b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue