]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update: move a set_fact hotfix-bz2014304 v4.0.62.6
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 21:40:18 +0000 (23:40 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 28 Oct 2021 23:34:52 +0000 (01:34 +0200)
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 bf365929c526b9c24bb24efa1b38891ee14aaef0)

infrastructure-playbooks/rolling_update.yml

index 9db7cae95e77cec7d54e6a09e7d669cca7d28bd5..ee1f7ab0d6641004e63394ee9844deb97c239697 100644 (file)
       run_once: true
       when: delegate_facts_host | bool
 
+    - name: set_fact rolling_update
+      set_fact:
+        rolling_update: true
+
     - import_role:
         name: ceph-facts
 
         - (containerized_deployment | bool) or (dashboard_enabled | bool)
         - ceph_docker_registry_auth | bool
 
-    - name: set_fact rolling_update
-      set_fact:
-        rolling_update: true
 
 - name: upgrade ceph mon cluster
   tags: mons