ceph-ansible/roles/ceph-rgw/tasks/docker/container_env_facts.yml

12 lines
370 B
YAML

---
- name: set_fact docker_env_args '-e RGW_ZONEGROUP={{ rgw_zonegroup }}'
set_fact:
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 }}"
when:
- rgw_zone != ""