kolla-ansible/ansible/roles/ceph-rgw/tasks/precheck.yml
Mark Goddard 8c5012e940 Add support for Ceph RadosGW integration
* Register Swift-compatible endpoints in Keystone
* Load balance across RadosGW API servers using HAProxy

The support is exercised in the cephadm CI jobs, but since RGW is
not currently enabled via cephadm, it is not yet tested.

https://docs.ceph.com/en/latest/radosgw/keystone/

Implements: blueprint ceph-rgw

Change-Id: I891c3ed4ed93512607afe65a42dd99596fd4dbf9
2021-09-30 13:08:13 +00:00

11 lines
334 B
YAML

---
- name: Fail if load balancer members not set
fail:
msg: >-
Ceph RadosGW load balancer configuration is enabled
(enable_ceph_rgw_loadbalancer) but no HAProxy members are configured.
Have you set ceph_rgw_hosts?
when:
- enable_ceph_rgw_loadbalancer | bool
- ceph_rgw_haproxy_members | length == 0