From: Guillaume Abrioux Date: Thu, 28 Oct 2021 21:40:18 +0000 (+0200) Subject: update: move a set_fact X-Git-Tag: v4.0.69~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=48a8b1cc34a7768be9be89747231be95740aa93a;p=ceph-ansible.git 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 (cherry picked from commit e5edcc4214348945e1566641a490b68ef8886cf0) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index f7fa3f37d..26ef9fde0 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -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