Merge pull request #1918 from ceph/fix-rhcinstall

common: fix rhcs installation and rgw package for nfs
pull/1924/merge
Sébastien Han 2017-09-19 12:58:52 +02:00 committed by GitHub
commit 9aa139b4d7
2 changed files with 4 additions and 4 deletions

View File

@ -35,14 +35,14 @@
shell: yum --noplugins --cacheonly repolist | grep -sq rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms
changed_when: false
failed_when: false
register: rhcs_rgw_mds_repo
register: rhcs_rgw_mds_nfs_repo
always_run: true
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
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-tools-rpms
changed_when: false
when:
- (rgw_group_name in group_names or mds_group_name in group_names)
- rhcs_rgw_mds_repo.rc != 0
- (rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names)
- rhcs_rgw_mds_nfs_repo.rc != 0