mirror of https://github.com/ceph/ceph-ansible.git
common: fix rhcs installation and rgw package for nfs
RHCS install wasn't working at all prior to this commit as the name of the include was pointing to a non-existing file. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1492056 Signed-off-by: Sébastien Han <seb@redhat.com>pull/1918/head
parent
87e2dae9d8
commit
dd7f21bd92
|
@ -35,14 +35,14 @@
|
||||||
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_rhcs_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: rhcs_rgw_mds_repo
|
register: rhcs_rgw_mds_nfs_repo
|
||||||
always_run: true
|
always_run: true
|
||||||
when:
|
when:
|
||||||
- (rgw_group_name in group_names or mds_group_name in group_names)
|
- (rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names)
|
||||||
|
|
||||||
- name: enable red hat storage rados gateway / mds repository
|
- name: enable red hat storage rados gateway / mds repository
|
||||||
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_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 or mds_group_name in group_names)
|
- (rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names)
|
||||||
- rhcs_rgw_mds_repo.rc != 0
|
- rhcs_rgw_mds_nfs_repo.rc != 0
|
||||||
|
|
Loading…
Reference in New Issue