]> 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 13:33:18 +0000 (15:33 +0200)
commitefc6979db51decee788562c4ffd758375a8b61b7
treed7529d3f46fddda15996f93ac21d09de15d6e785
parente29defef7da23fc7cdec14e6072cf31186e7f75c
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