update: move a set_fact

ceph-facts roles makes decisions based on the fact `rolling_update` so
it must be called before we run this role.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2014304

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit e5edcc4214)
pull/6993/head
Guillaume Abrioux 2021-10-28 23:40:18 +02:00
parent a9a7c35a74
commit 48a8b1cc34
1 changed files with 4 additions and 3 deletions

View File

@ -83,6 +83,10 @@
run_once: true
when: delegate_facts_host | bool
- name: set_fact rolling_update
set_fact:
rolling_update: true
- import_role:
name: ceph-facts
@ -123,9 +127,6 @@
msg: "This version of ceph-ansible is intended for upgrading to Ceph Nautilus only."
when: "'nautilus' not in ceph_version.stdout.split()"
- name: set_fact rolling_update
set_fact:
rolling_update: true
- name: upgrade ceph mon cluster
tags: mons