mode: "0644"
content: |
INST_NAME={{ item.instance_name }}
- INST_PORT={{ item.radosgw_frontend_port }}
with_items: "{{ rgw_instances }}"
when:
- containerized_deployment | bool
-e CEPH_DAEMON=RGW \
-e CLUSTER={{ cluster }} \
-e RGW_NAME={{ ansible_hostname }}.${INST_NAME} \
- -e RGW_CIVETWEB_PORT=${INST_PORT} \
-e CONTAINER_IMAGE={{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} \
--name=ceph-rgw-{{ ansible_hostname }}-${INST_NAME} \
{{ ceph_rgw_docker_extra_env }} \