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

50 lines
1.6 KiB
YAML
Raw Normal View History

---
- name: include common.yml
include: common.yml
- name: include pre_requisite.yml
include: pre_requisite.yml
when:
- not containerized_deployment
2016-08-17 02:57:01 +08:00
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: include openstack-keystone.yml
include: openstack-keystone.yml
when:
- radosgw_keystone_ssl|bool
2016-08-17 02:57:01 +08:00
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
2016-08-08 11:16:15 +08:00
- name: include start_radosgw.yml
include: start_radosgw.yml
when:
- not containerized_deployment
2016-08-17 02:57:01 +08:00
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: include multisite/main.yml
2016-08-17 02:57:01 +08:00
include: multisite/main.yml
when:
- rgw_zone != ""
- rgw_multisite
- ceph_release_num[ceph_release] >= ceph_release_num.jewel
2016-08-17 02:57:01 +08:00
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: include docker/main.yml
include: docker/main.yml
when:
- containerized_deployment
2016-08-17 02:57:01 +08:00
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
static: False
- name: create rgw pools if rgw_create_pools is defined
command: "{{ docker_exec_cmd }} ceph --connect-timeout 5 --cluster {{ cluster }} osd pool create {{ item.key }} {{ item.value.pg_num }}"
changed_when: false
with_dict: "{{ rgw_create_pools }}"
delegate_to: "{{ groups[mon_group_name][0] }}"
run_once: true
when:
- rgw_create_pools is defined