mirror of https://github.com/ceph/ceph-ansible.git
14 lines
548 B
YAML
14 lines
548 B
YAML
---
|
|
- name: pull ceph daemon image
|
|
shell: "docker pull {{ ceph_rgw_docker_username }}/{{ ceph_rgw_docker_imagename }}"
|
|
|
|
- name: run the rados gateway docker image
|
|
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"
|