From: Guillaume Abrioux Date: Thu, 28 Oct 2021 21:40:18 +0000 (+0200) Subject: update: move a set_fact X-Git-Tag: v4.0.62.6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=54d9643439ffc4b3e382659a3304aea6955b104c;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 bf365929c526b9c24bb24efa1b38891ee14aaef0) --- diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 9db7cae95..ee1f7ab0d 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -82,6 +82,10 @@ run_once: true when: delegate_facts_host | bool + - name: set_fact rolling_update + set_fact: + rolling_update: true + - import_role: name: ceph-facts @@ -105,9 +109,6 @@ - (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