Enable monitor repo for mgr nodes and Tools repo for iscsi/nfs/clients

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
pull/2837/head
Vasu Kulkarni 2018-06-26 14:41:14 -07:00 committed by mergify[bot]
parent eb836e7c31
commit 1d454b611f
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms
changed_when: false
when:
- mon_group_name in group_names
- (mon_group_name in group_names or mgr_group_name in group_names)
- rhcs_mon_repo.rc != 0
- name: check if the red hat storage osd repo is already present

View File

@ -11,7 +11,7 @@
update_cache: no
register: add_debian_apt_repo
with_items:
- { repo: "MON", configure: (mon_group_name in group_names) }
- { repo: "MON", configure: (mon_group_name in group_names or mgr_group_name in group_names) }
- { repo: "OSD", configure: (osd_group_name in group_names) }
- { repo: "Tools", configure: (rgw_group_name in group_names or mds_group_name in group_names) }
- { repo: "Tools", configure: (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 or client_group_name in group_names) }
when: item.configure