- osd_group_name in group_names
- rhcs_osd_repo.rc != 0
-- name: check if the red hat storage rados gateway / mds repo is already present
+- name: check if the red hat storage tools repo is already present
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_nfs_repo
+ register: rhcs_tools_repo
check_mode: no
when:
- - (rgw_group_name in group_names or mds_group_name in group_names or nfs_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 or iscsi_gw_group_name in group_names)
-- name: enable red hat storage rados gateway / mds repository
+- name: enable red hat storage tools 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 or nfs_group_name in group_names)
- - rhcs_rgw_mds_nfs_repo.rc != 0
+ - (rgw_group_name in group_names or mds_group_name in group_names or nfs_group_name in group_names or iscsi_gw_group_name in group_names)
+ - rhcs_tools_repo.rc != 0