From 94af3c87d18fab6170c5b32f1431a0d49ccad321 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Wed, 3 Feb 2021 13:07:24 -0500 Subject: [PATCH] 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 --- infrastructure-playbooks/rolling_update.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 0d92ee86f..e02219fa1 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -891,7 +891,16 @@ - groups.get(mon_group_name, []) | length > 0 - 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: -- 2.39.5