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 <dsavinea@redhat.com>
(cherry picked from commit 2ca79fcc99)
pull/4693/head
Dimitri Savineau 2019-10-25 17:03:46 -04:00 committed by Dimitri Savineau
parent bd79b4480a
commit 8acb42dc61
1 changed files with 2 additions and 2 deletions

View File

@ -567,7 +567,7 @@
- name: upgrade active mds
vars:
upgrade_ceph_packages: True
hosts: active_mdss | default([])
hosts: active_mdss
become: true
pre_tasks:
- name: prevent restart from the packaging
@ -601,7 +601,7 @@
- name: upgrade standbys ceph mdss cluster
vars:
upgrade_ceph_packages: True
hosts: standby_mdss | default([])
hosts: standby_mdss
become: True
pre_tasks:
- name: prevent restarts from the packaging