]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Enable monitor repo for mgr nodes and Tools repo for iscsi/nfs/clients
authorVasu Kulkarni <vasu@redhat.com>
Tue, 26 Jun 2018 21:41:14 +0000 (14:41 -0700)
committerSébastien Han <seb@redhat.com>
Mon, 2 Jul 2018 07:46:53 +0000 (09:46 +0200)
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
(cherry picked from commit 1d454b611f9ec5403a474fcb45a6333ca6d36715)

roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install.yml
roles/ceph-common/tasks/installs/prerequisite_rhcs_cdn_install_debian.yml

index 378bb4e7d453228ec2f517fe2eff13b92e2f1e39..fab01d99b92fb05715d628c3c83aa3c6aea5fac7 100644 (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
index 9208eca6063ee399bf082118afd12d752f34c7d0..c8f00f80680f5061cd44f714907681045ccc785f 100644 (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