From c0da98b1d67177a55ed29bd3b72ac9774d2e320c Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 9 Nov 2021 15:35:12 +0100 Subject: [PATCH] update: speed up client play there's no need to run the roles ceph-facts, ceph-config and ceph-client altogether on client nodes in rolling update playbook. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2019831 Signed-off-by: Guillaume Abrioux (cherry picked from commit 817c03bc0ebee9df270093d6f414d02f8b95866a) --- infrastructure-playbooks/rolling_update.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 26ef9fde0..d3244fa56 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -978,6 +978,8 @@ name: ceph-defaults - import_role: name: ceph-facts + tasks_from: container_binary.yml + when: containerized_deployment | bool - import_role: name: ceph-handler - import_role: @@ -988,10 +990,7 @@ when: - (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first) - containerized_deployment | bool - - import_role: - name: ceph-config - - import_role: - name: ceph-client + - name: upgrade ceph-crash daemons hosts: -- 2.39.5