]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rolling_update: remove default filter on mds group
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 25 Oct 2019 21:03:46 +0000 (17:03 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 28 Oct 2019 17:08:43 +0000 (13:08 -0400)
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 2ca79fcc99bcff6f73478f11e67ba7edb178b029)

infrastructure-playbooks/rolling_update.yml

index 280f6fb2e4c0936aaa2171af680472d413db5d6d..1941d3e132d0a9d5a1499cc6f3c178a5d2ab2a95 100644 (file)
 - 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
 - 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