tags: ['ceph_update_config']
- import_role:
name: ceph-container-engine
+ when: (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
- import_role:
name: ceph-container-common
tasks_from: registry
when:
+ - (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
- not containerized_deployment | bool
- ceph_docker_registry_auth | bool
- import_role:
- import_role:
name: ceph-infra
+ - import_role:
+ name: ceph-validate
+
- import_role:
name: ceph-container-common
tasks_from: registry
when:
+ - (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
- containerized_deployment | bool
- ceph_docker_registry_auth | bool
- - import_role:
- name: ceph-validate
-
- set_fact: rolling_update=true
- name: upgrade ceph mon cluster
when: not containerized_deployment | bool
- import_role:
name: ceph-container-common
- when: containerized_deployment | bool
+ when:
+ - (group_names != ['clients']) or (inventory_hostname == groups.get('clients', [''])|first)
+ - containerized_deployment | bool
- import_role:
name: ceph-config
- import_role: