From ecc92768b99d0728e67a57f87193edcaa073b5c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Thu, 30 Jul 2015 11:25:46 +0200 Subject: [PATCH] Expose rgw ports MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The 'ports' option was missing, so in order to expose a port we need "expose" and "ports" options. Signed-off-by: Sébastien Han --- roles/ceph-rgw/tasks/docker/start_docker_rgw.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-rgw/tasks/docker/start_docker_rgw.yml b/roles/ceph-rgw/tasks/docker/start_docker_rgw.yml index d39e9f64c..8dcb094b5 100644 --- a/roles/ceph-rgw/tasks/docker/start_docker_rgw.yml +++ b/roles/ceph-rgw/tasks/docker/start_docker_rgw.yml @@ -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" -- 2.39.5