From: Sébastien Han Date: Thu, 12 Apr 2018 10:15:35 +0000 (+0200) Subject: common: add tools repo for iscsi gw X-Git-Tag: v3.1.0beta7~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=37117071ebb7ab3cf68b607b6760077a2b46a00d;p=ceph-ansible.git common: add tools repo for iscsi gw To install iscsi gw packages we need to enable the tools repo. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1547849 Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml b/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml index 7dc743f9d..b22937f4e 100644 --- a/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml +++ b/roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml @@ -31,18 +31,18 @@ - 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