From: Dimitri Savineau Date: Mon, 17 Aug 2020 18:56:17 +0000 (-0400) Subject: container: don't install the engine on all clients X-Git-Tag: v6.0.0alpha2~73 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9805589ef94230c67439787cb19ffa7e3d5f2b3d;p=ceph-ansible.git 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 --- 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