ceph-ansible/roles/ceph-rgw/tasks/multisite/main.yml

48 lines
1.3 KiB
YAML
Raw Normal View History

2016-08-11 05:05:27 +08:00
---
2016-08-17 05:57:49 +08:00
- name: include multisite checks
include_tasks: checks.yml
2016-08-11 05:05:27 +08:00
- name: include_tasks create_realm_zonegroup_zone_lists.yml
include_tasks: create_realm_zonegroup_zone_lists.yml
2016-08-11 05:05:27 +08:00
# 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
2016-08-11 05:05:27 +08:00
- 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
2016-08-11 05:05:27 +08:00
- 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