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>
pull/2942/head
Sébastien Han 2018-07-24 18:27:12 +02:00 committed by mergify[bot]
parent e85e5ea781
commit e2ea5bac51
1 changed files with 6 additions and 2 deletions

View File

@ -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 != ""