]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: fix pre and post osd upgrade play
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 25 Oct 2021 11:43:25 +0000 (13:43 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 25 Oct 2021 21:22:35 +0000 (23:22 +0200)
commit3dd96da652633401183e87ca643667df07bac10f
tree6c3c3f7cc83feafda6023bac1a4f0cdf52df0eee
parentdc1a4c29ea2a1ce77aa56223ed39fb470ef2276f
rolling_update: fix pre and post osd upgrade play

when using --limit osds, the play before and after osd upgrade are
skipped because we use `hosts: "{{ mon_group_name | default('mons') }}[0]"`
using `hosts: "{{ osds_group_name | default('osds') }}" with
`delegate_to` to the first monitor addresses this issue.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit fc9f87c45f6e58a595f59365b58bf1b0e3909bf5)
infrastructure-playbooks/rolling_update.yml