mirror of https://github.com/ceph/ceph-ansible.git
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
---
|
|
- name: include multisite checks
|
|
include_tasks: checks.yml
|
|
|
|
- name: include_tasks create_realm_zonegroup_zone_lists.yml
|
|
include_tasks: create_realm_zonegroup_zone_lists.yml
|
|
|
|
# Include the tasks depending on the zone type
|
|
- name: include_tasks master.yml
|
|
include_tasks: master.yml
|
|
when:
|
|
- rgw_zonemaster | bool
|
|
- not rgw_zonesecondary | bool
|
|
|
|
- name: include_tasks start_radosgw.yml for zonemaster rgws
|
|
include_tasks: ../start_radosgw.yml
|
|
when:
|
|
- rgw_zonemaster | bool
|
|
- not rgw_zonesecondary | bool
|
|
- not containerized_deployment | bool
|
|
|
|
- name: include_tasks start_docker_rgw.yml for zonemaster rgws
|
|
include_tasks: ../start_docker_rgw.yml
|
|
when:
|
|
- rgw_zonemaster | bool
|
|
- not rgw_zonesecondary | bool
|
|
- containerized_deployment | bool
|
|
|
|
- name: include_tasks secondary.yml
|
|
include_tasks: secondary.yml
|
|
when:
|
|
- not rgw_zonemaster | bool
|
|
- rgw_zonesecondary | bool
|
|
|
|
- name: include_tasks start_radosgw.yml for zonesecondary rgws
|
|
include_tasks: ../start_radosgw.yml
|
|
when:
|
|
- not rgw_zonemaster | bool
|
|
- rgw_zonesecondary | bool
|
|
- not containerized_deployment | bool
|
|
|
|
- name: include_tasks start_docker_rgw.yml for zonesecondary rgws
|
|
include_tasks: ../start_docker_rgw.yml
|
|
when:
|
|
- not rgw_zonemaster | bool
|
|
- rgw_zonesecondary | bool
|
|
- containerized_deployment | bool
|