From 9805589ef94230c67439787cb19ffa7e3d5f2b3d 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 --- site-container.yml.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/site-container.yml.sample b/site-container.yml.sample index b746a84ac..e954bdcc9 100644 --- a/site-container.yml.sample +++ b/site-container.yml.sample @@ -61,6 +61,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