]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
radosgw: remove INST_PORT environment variable
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 2 Jul 2020 14:47:45 +0000 (10:47 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 2 Jul 2020 14:52:29 +0000 (16:52 +0200)
This variable isn't consumed by the container so we can remove it.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
roles/ceph-config/tasks/rgw_systemd_environment_file.yml
roles/ceph-rgw/templates/ceph-radosgw.service.j2

index 21a77850a3b2900e414c598ef87ed635a99d762a..ee310f11084a102e057a693f7744933099da48de 100644 (file)
@@ -16,7 +16,6 @@
     mode: "0644"
     content: |
       INST_NAME={{ item.instance_name }}
-      INST_PORT={{ item.radosgw_frontend_port }}
   with_items: "{{ rgw_instances }}"
   when:
     - containerized_deployment | bool
index e3a26d357a10823607ef65cdd47b7b172005d0b5..6e1b7b64367e82b541d7d3892c73f978223d643c 100644 (file)
@@ -42,7 +42,6 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm --net=host \
   -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 }} \