]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rgw: add more config option for civetweb frontend
authorSébastien Han <seb@redhat.com>
Tue, 24 Jul 2018 16:27:12 +0000 (18:27 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Wed, 25 Jul 2018 13:19:14 +0000 (13:19 +0000)
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>
roles/ceph-rgw/tasks/docker/container_env_facts.yml

index 1d4637302ff20fe9dd5cdfa1db1b613f58fbf03f..344267d7e911f81ea7c1990fc028ca5c4430d59c 100644 (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 != ""
\ No newline at end of file