mirror of https://github.com/ceph/ceph-ansible.git
container: run engine/common roles on first client
We already do this in the site-container.yml playbook because we don't
need docker/podman installed on all client nodes and having the
container image only on the first client node.
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 8ecbdc6ede
)
pull/5763/head
parent
62f70f96ca
commit
43da364188
|
@ -20,10 +20,12 @@
|
||||||
tags: ['ceph_update_config']
|
tags: ['ceph_update_config']
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-container-engine
|
name: ceph-container-engine
|
||||||
|
when: (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-container-common
|
name: ceph-container-common
|
||||||
tasks_from: registry
|
tasks_from: registry
|
||||||
when:
|
when:
|
||||||
|
- (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
|
||||||
- not containerized_deployment | bool
|
- not containerized_deployment | bool
|
||||||
- ceph_docker_registry_auth | bool
|
- ceph_docker_registry_auth | bool
|
||||||
- import_role:
|
- import_role:
|
||||||
|
|
|
@ -88,16 +88,17 @@
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-infra
|
name: ceph-infra
|
||||||
|
|
||||||
|
- import_role:
|
||||||
|
name: ceph-validate
|
||||||
|
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-container-common
|
name: ceph-container-common
|
||||||
tasks_from: registry
|
tasks_from: registry
|
||||||
when:
|
when:
|
||||||
|
- (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
|
||||||
- containerized_deployment | bool
|
- containerized_deployment | bool
|
||||||
- ceph_docker_registry_auth | bool
|
- ceph_docker_registry_auth | bool
|
||||||
|
|
||||||
- import_role:
|
|
||||||
name: ceph-validate
|
|
||||||
|
|
||||||
- set_fact: rolling_update=true
|
- set_fact: rolling_update=true
|
||||||
|
|
||||||
- name: upgrade ceph mon cluster
|
- name: upgrade ceph mon cluster
|
||||||
|
@ -830,7 +831,9 @@
|
||||||
when: not containerized_deployment | bool
|
when: not containerized_deployment | bool
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-container-common
|
name: ceph-container-common
|
||||||
when: containerized_deployment | bool
|
when:
|
||||||
|
- (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
|
||||||
|
- containerized_deployment | bool
|
||||||
- import_role:
|
- import_role:
|
||||||
name: ceph-config
|
name: ceph-config
|
||||||
- import_role:
|
- import_role:
|
||||||
|
|
Loading…
Reference in New Issue