Skip to content

Commit 5f7ad18

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> (cherry picked from commit e5edcc4)
1 parent e63df90 commit 5f7ad18

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
@@ -83,6 +83,10 @@
8383
run_once: true
8484
when: delegate_facts_host | bool
8585

86+
- name: set_fact rolling_update
87+
set_fact:
88+
rolling_update: true
89+
8690
- import_role:
8791
name: ceph-facts
8892

@@ -123,9 +127,6 @@
123127
msg: "This version of ceph-ansible is intended for upgrading to Ceph Octopus only."
124128
when: "'octopus' not in ceph_version.stdout.split()"
125129

126-
- name: set_fact rolling_update
127-
set_fact:
128-
rolling_update: true
129130

130131
- name: upgrade ceph mon cluster
131132
tags: mons

0 commit comments

Comments
 (0)