2015-07-28 23:35:47 +08:00
|
|
|
---
|
|
|
|
- name: run the rados gateway docker image
|
2015-10-19 11:19:31 +08:00
|
|
|
docker:
|
|
|
|
image: "{{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}"
|
|
|
|
name: ceph-{{ ansible_hostname }}-rgw
|
2016-01-23 03:10:41 +08:00
|
|
|
expose: "{{ ceph_rgw_civetweb_port }}"
|
2015-10-19 11:19:31 +08:00
|
|
|
ports: "{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}"
|
|
|
|
state: running
|
2016-01-23 03:10:41 +08:00
|
|
|
env: "CEPH_DAEMON=RGW,{{ ceph_rgw_docker_extra_env }}"
|
2015-10-19 11:19:31 +08:00
|
|
|
volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph"
|