]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: exclude clients from node-exporter
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 3 Feb 2021 18:07:24 +0000 (13:07 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Mar 2021 12:52:02 +0000 (13:52 +0100)
Since b105549 we don't install node-exporter on client nodes so we should
also exclude the client node from the node-exporter upgrade.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 94af3c87d18fab6170c5b32f1431a0d49ccad321)

infrastructure-playbooks/rolling_update.yml

index a739432dff188b390ecfa74751c8c1e84fa6bdc5..9bdef2530e2f1a11f6c520c90d4f5ac74259d8e0 100644 (file)
         msgr2_migration: True
 
 - name: upgrade node-exporter
-  hosts: all
+  hosts:
+    - "{{ mon_group_name|default('mons') }}"
+    - "{{ osd_group_name|default('osds') }}"
+    - "{{ mds_group_name|default('mdss') }}"
+    - "{{ rgw_group_name|default('rgws') }}"
+    - "{{ mgr_group_name|default('mgrs') }}"
+    - "{{ rbdmirror_group_name|default('rbdmirrors') }}"
+    - "{{ nfs_group_name|default('nfss') }}"
+    - "{{ iscsi_gw_group_name|default('iscsigws') }}"
+    - "{{ monitoring_group_name|default('monitoring') }}"
   gather_facts: false
   become: true
   tasks: