From: Dimitri Savineau Date: Wed, 3 Feb 2021 18:07:24 +0000 (-0500) Subject: rolling_update: exclude clients from node-exporter X-Git-Tag: v4.0.50~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3ba27c9387ac664fc32919295c8170ba9e1ace59;p=ceph-ansible.git rolling_update: exclude clients from node-exporter 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 (cherry picked from commit 94af3c87d18fab6170c5b32f1431a0d49ccad321) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index a739432df..9bdef2530 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -933,7 +933,16 @@ 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: