From: Dimitri Savineau Date: Fri, 25 Oct 2019 21:03:46 +0000 (-0400) Subject: rolling_update: remove default filter on mds group X-Git-Tag: v4.0.5~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=56f0cf79d9875523f072739ec8b77070191bd151;p=ceph-ansible.git rolling_update: remove default filter on mds group There's no need to use the default filter on active/standby groups because if the group doesn't exist then the play is just skipped. Currently this generates warnings like: [WARNING]: Could not match supplied host pattern, ignoring: | [WARNING]: Could not match supplied host pattern, ignoring: default([]) Signed-off-by: Dimitri Savineau (cherry picked from commit 2ca79fcc99bcff6f73478f11e67ba7edb178b029) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 5c8c5cf7b..d29707d8e 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -626,7 +626,7 @@ - name: upgrade active mds vars: upgrade_ceph_packages: True - hosts: active_mdss | default([]) + hosts: active_mdss become: true tasks: - import_role: @@ -667,7 +667,7 @@ - name: upgrade standbys ceph mdss cluster vars: upgrade_ceph_packages: True - hosts: standby_mdss | default([]) + hosts: standby_mdss become: True tasks: