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 bf365929c5)
hotfix-bz2014304 v4.0.62.6
Guillaume Abrioux 2021-10-28 23:40:18 +02:00
parent 45a1d634d8
commit 54d9643439
1 changed files with 4 additions and 3 deletions

View File

@ -82,6 +82,10 @@
run_once: true run_once: true
when: delegate_facts_host | bool when: delegate_facts_host | bool
- name: set_fact rolling_update
set_fact:
rolling_update: true
- import_role: - import_role:
name: ceph-facts name: ceph-facts
@ -105,9 +109,6 @@
- (containerized_deployment | bool) or (dashboard_enabled | bool) - (containerized_deployment | bool) or (dashboard_enabled | bool)
- ceph_docker_registry_auth | bool - ceph_docker_registry_auth | bool
- name: set_fact rolling_update
set_fact:
rolling_update: true
- name: upgrade ceph mon cluster - name: upgrade ceph mon cluster
tags: mons tags: mons