mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #752 from ivotron/issue-751
Mounts /run when executing osd containerpull/757/head
commit
3c40b47f5a
|
@ -24,7 +24,7 @@
|
||||||
state: started
|
state: started
|
||||||
privileged: yes
|
privileged: yes
|
||||||
env: "OSD_DEVICE={{ item.0 }},{{ ceph_osd_docker_prepare_env }}"
|
env: "OSD_DEVICE={{ item.0 }},{{ ceph_osd_docker_prepare_env }}"
|
||||||
volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev"
|
volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev,/run:/run"
|
||||||
with_together:
|
with_together:
|
||||||
- ceph_osd_docker_devices
|
- ceph_osd_docker_devices
|
||||||
- osd_prepared.results
|
- osd_prepared.results
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
state: started
|
state: started
|
||||||
privileged: yes
|
privileged: yes
|
||||||
env: "OSD_DEVICE={{ item }},{{ ceph_osd_docker_extra_env }}"
|
env: "OSD_DEVICE={{ item }},{{ ceph_osd_docker_extra_env }}"
|
||||||
volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev"
|
volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/dev:/dev,/run:/run"
|
||||||
with_items: ceph_osd_docker_devices
|
with_items: ceph_osd_docker_devices
|
||||||
when:
|
when:
|
||||||
not is_atomic and
|
not is_atomic and
|
||||||
|
|
Loading…
Reference in New Issue