]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
rolling_update: remove 'ignore_errors'
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Aug 2020 08:51:22 +0000 (10:51 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 21 Aug 2020 13:22:36 +0000 (09:22 -0400)
commitcec994b973343e05252b4aa0f0be0dd0ee39405b
treece2c79c549bb7a7feb1074ce880f4245f477e3f6
parent13e2311cbe78b7b51930a3a1210629bf036a20c5
rolling_update: remove 'ignore_errors'

There's no need to use `ignore_errors: true` on these tasks.

Using a loop on the task stopping mon daemons allows us to avoid
duplicating this task, the `ignore_errors` isn't needed here because it
won't fail the playbook if one of the ID doesn't exist (shortname vs. fqdn)

Using the right condition on the task starting the mgr daemon allows us
to avoid using an `ignore_errors: true` as well.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml