ceph-ansible/roles/ceph-config/tasks/create_ceph_initial_dirs.yml

25 lines
587 B
YAML
Raw Normal View History

---
- name: create ceph initial directories
file:
path: "{{ item }}"
state: directory
owner: "{{ ceph_uid }}"
group: "{{ ceph_uid }}"
mode: 0755
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-mgr
- /var/lib/ceph/bootstrap-mds
- /var/lib/ceph/bootstrap-osd
- /var/lib/ceph/bootstrap-rbd
- /var/lib/ceph/bootstrap-rbd-mirror
- /var/run/ceph
- /var/log/ceph