]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Expose rgw ports 358/head
authorSébastien Han <seb@redhat.com>
Thu, 30 Jul 2015 09:25:46 +0000 (11:25 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 30 Jul 2015 09:25:46 +0000 (11:25 +0200)
The 'ports' option was missing, so in order to expose a port we need
"expose" and "ports" options.

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-rgw/tasks/docker/start_docker_rgw.yml

index d39e9f64cb196ed6820da379a1c389f31e912659..8dcb094b54751710af92878d48d824470d7c5b4f 100644 (file)
@@ -4,6 +4,7 @@
     image="{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}"
     name=ceph-{{ ansible_hostname }}-rgw
     expose={{ ceph_rgw_civetweb_port }}
+    ports="{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}"
     state=running
     env="CEPH_DAEMON=RGW,{{ ceph_rgw_docker_extra_env }}"
     volumes="/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph"