mirror of https://github.com/ceph/ceph-ansible.git
ceph-common: convert ceph_stable_rh_storage to ceph_rhcs in prerequisites for cdn install
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: issue#811pull/934/head
parent
a403645944
commit
1681a3ecb6
|
@ -5,42 +5,42 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: check if the red hat storage monitor repo is already present
|
- name: check if the red hat storage monitor repo is already present
|
||||||
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-mon-rpms
|
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: rh_storage_mon_repo
|
register: rh_storage_mon_repo
|
||||||
when: mon_group_name in group_names
|
when: mon_group_name in group_names
|
||||||
|
|
||||||
- name: enable red hat storage monitor repository
|
- name: enable red hat storage monitor repository
|
||||||
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-mon-rpms
|
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- mon_group_name in group_names
|
- mon_group_name in group_names
|
||||||
- rh_storage_mon_repo.rc != 0
|
- rh_storage_mon_repo.rc != 0
|
||||||
|
|
||||||
- name: check if the red hat storage osd repo is already present
|
- name: check if the red hat storage osd repo is already present
|
||||||
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-osd-rpms
|
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_rhcs_version }}-osd-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: rh_storage_osd_repo
|
register: rh_storage_osd_repo
|
||||||
when: osd_group_name in group_names
|
when: osd_group_name in group_names
|
||||||
|
|
||||||
- name: enable red hat storage osd repository
|
- name: enable red hat storage osd repository
|
||||||
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-osd-rpms
|
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-osd-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- osd_group_name in group_names
|
- osd_group_name in group_names
|
||||||
- rh_storage_osd_repo.rc != 0
|
- rh_storage_osd_repo.rc != 0
|
||||||
|
|
||||||
- name: check if the red hat storage rados gateway repo is already present
|
- name: check if the red hat storage rados gateway repo is already present
|
||||||
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-tools-rpms
|
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
register: rh_storage_rgw_repo
|
register: rh_storage_rgw_repo
|
||||||
when: rgw_group_name in group_names
|
when: rgw_group_name in group_names
|
||||||
|
|
||||||
- name: enable red hat storage rados gateway repository
|
- name: enable red hat storage rados gateway repository
|
||||||
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_stable_rh_storage_version }}-tools-rpms
|
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- rgw_group_name in group_names
|
- rgw_group_name in group_names
|
||||||
|
|
Loading…
Reference in New Issue