mirror of https://github.com/ceph/ceph-ansible.git
rgw: add more config option for civetweb frontend
In containerized deployments we now inherite from the
radosgw_civetweb_options options when bootstrapping the container.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1582411
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit e2ea5bac51
)
pull/2943/head
v3.1.0rc11
parent
9184b794dd
commit
154b1dcc74
|
@ -1,12 +1,16 @@
|
|||
---
|
||||
- name: set_fact docker_env_args '-e RGW_FRONTENDS={{ radosgw_civetweb_options }}'
|
||||
set_fact:
|
||||
docker_env_args: -e RGW_FRONTENDS={{ radosgw_civetweb_options }}
|
||||
|
||||
- name: set_fact docker_env_args '-e RGW_ZONEGROUP={{ rgw_zonegroup }}'
|
||||
set_fact:
|
||||
docker_env_args: -e RGW_ZONEGROUP={{ rgw_zonegroup }}
|
||||
docker_env_args: "{{ docker_env_args }} -e RGW_ZONEGROUP={{ rgw_zonegroup }}"
|
||||
when:
|
||||
- rgw_zonegroup != ""
|
||||
|
||||
- name: set_fact docker_env_args '-e RGW_ZONE={{ rgw_zone }}'
|
||||
set_fact:
|
||||
docker_env_args: "{{ docker_env_args | default ('') }} -e RGW_ZONE={{ rgw_zone }}"
|
||||
docker_env_args: "{{ docker_env_args }} -e RGW_ZONE={{ rgw_zone }}"
|
||||
when:
|
||||
- rgw_zone != ""
|
Loading…
Reference in New Issue