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
Sébastien Han 2017-09-18 23:56:38 +02:00
parent 87e2dae9d8
commit dd7f21bd92
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