mirror of https://github.com/ceph/ceph-ansible.git
Enable monitor repo for mgr nodes and Tools repo for iscsi/nfs/clients
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>pull/2837/head
parent
eb836e7c31
commit
1d454b611f
|
@ -12,7 +12,7 @@
|
||||||
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms
|
command: subscription-manager repos --enable rhel-7-server-rhceph-{{ ceph_rhcs_version }}-mon-rpms
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
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
|
- rhcs_mon_repo.rc != 0
|
||||||
|
|
||||||
- name: check if the red hat storage osd repo is already present
|
- name: check if the red hat storage osd repo is already present
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
update_cache: no
|
update_cache: no
|
||||||
register: add_debian_apt_repo
|
register: add_debian_apt_repo
|
||||||
with_items:
|
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: "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
|
when: item.configure
|
||||||
|
|
Loading…
Reference in New Issue