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 <dsavinea@redhat.com>
pull/5674/head
Dimitri Savineau 2020-08-17 14:56:17 -04:00 committed by Guillaume Abrioux
parent 5c1f4b1a1e
commit 9805589ef9
1 changed files with 1 additions and 0 deletions

View File

@ -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