]> git.apps.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 12:23:00 +0000 (14:23 +0200)
commitfc9f87c45f6e58a595f59365b58bf1b0e3909bf5
tree7abb56ba7c2cc03bff6f0b4e1511901e54703d71
parent923af40527f9c02e70dd477f32493828b617f21b
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>
infrastructure-playbooks/rolling_update.yml