2018-04-13 23:56:06 +08:00
|
|
|
---
|
|
|
|
- name: create ceph initial directories
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
2018-04-12 21:52:30 +08:00
|
|
|
owner: "{{ ceph_uid }}"
|
|
|
|
group: "{{ ceph_uid }}"
|
2018-04-13 23:56:06 +08:00
|
|
|
mode: 0755
|
2019-06-15 05:31:39 +08:00
|
|
|
loop:
|
|
|
|
- /etc/ceph
|
|
|
|
- /var/lib/ceph/
|
|
|
|
- /var/lib/ceph/mon
|
|
|
|
- /var/lib/ceph/osd
|
|
|
|
- /var/lib/ceph/mds
|
|
|
|
- /var/lib/ceph/tmp
|
|
|
|
- /var/lib/ceph/radosgw
|
|
|
|
- /var/lib/ceph/bootstrap-rgw
|
|
|
|
- /var/lib/ceph/bootstrap-mds
|
|
|
|
- /var/lib/ceph/bootstrap-osd
|
|
|
|
- /var/lib/ceph/bootstrap-rbd
|
|
|
|
- /var/run/ceph
|