From 21851457d6781c1fa1e6678de95b72e53eb6db13 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 19 Feb 2020 13:51:49 +0100 Subject: [PATCH] shrink-osd: don't run ceph-facts entirely We need to call ceph-facts only for setting `container_binary`. Since this task has been isolated we can use `tasks_from` to only execute the needed task. Signed-off-by: Guillaume Abrioux (cherry picked from commit 55970b18f1506ee581ef6f2f8438a023f0f01807) --- infrastructure-playbooks/shrink-osd.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure-playbooks/shrink-osd.yml b/infrastructure-playbooks/shrink-osd.yml index 466422736..837f3fba6 100644 --- a/infrastructure-playbooks/shrink-osd.yml +++ b/infrastructure-playbooks/shrink-osd.yml @@ -60,6 +60,7 @@ - import_role: name: ceph-facts + tasks_from: container_binary.yml post_tasks: - name: set_fact container_exec_cmd build docker exec command (containerized)