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>
(cherry picked from commit 9805589ef9)
pull/5763/head
Dimitri Savineau 2020-08-17 14:56:17 -04:00 committed by Dimitri Savineau
parent 69b09f9336
commit 62f70f96ca
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@
- import_role: - import_role:
name: ceph-container-engine name: ceph-container-engine
tags: with_pkg tags: with_pkg
when: (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
- import_role: - import_role:
name: ceph-container-common name: ceph-container-common
tags: fetch_container_image tags: fetch_container_image