ceph-ansible/roles/ceph-rgw/tasks/docker/start_docker_rgw.yml

11 lines
432 B
YAML
Raw Normal View History

---
- 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
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"