Skip to content

Commit

Permalink
rolling_update: exclude clients from node-exporter
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dsavineau committed Feb 3, 2021
1 parent 8939ddd commit c8b92de
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion infrastructure-playbooks/rolling_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,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:
Expand Down

0 comments on commit c8b92de

Please sign in to comment.