Skip to content

Commit e5edcc4

Browse files
committed
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>
1 parent 82eee43 commit e5edcc4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

infrastructure-playbooks/rolling_update.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
run_once: true
9292
when: delegate_facts_host | bool
9393

94+
- name: set_fact rolling_update
95+
set_fact:
96+
rolling_update: true
97+
9498
- import_role:
9599
name: ceph-facts
96100

@@ -131,9 +135,6 @@
131135
msg: "This version of ceph-ansible is intended for upgrading to Ceph Quincy only."
132136
when: "'quincy' not in ceph_version.stdout.split()"
133137

134-
- name: set_fact rolling_update
135-
set_fact:
136-
rolling_update: true
137138

138139
- name: upgrade ceph mon cluster
139140
tags: mons

0 commit comments

Comments
 (0)