From 62f70f96ca1494fb1d05a9be73d7ca817383da72 Mon Sep 17 00:00:00 2001 From: Dimitri Savineau Date: Mon, 17 Aug 2020 14:56:17 -0400 Subject: [PATCH] container: don't install the engine on all clients We only need the container engine to be installed on the first clients node in order to execute the pools/keys operation. We already do the same worflow with the ceph-container-common role which pull the ceph container image. Signed-off-by: Dimitri Savineau (cherry picked from commit 9805589ef94230c67439787cb19ffa7e3d5f2b3d) --- site-container.yml.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/site-container.yml.sample b/site-container.yml.sample index cdffea8e5..89c9a953c 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -62,6 +62,7 @@ - import_role: name: ceph-container-engine tags: with_pkg + when: (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first) - import_role: name: ceph-container-common tags: fetch_container_image -- 2.39.5