aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-osd/tasks/install_osd.yml
blob: bf49c50e62f871609c27145e2724ffa102505f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---

- name: create osd lv and mount it on /var/local/osd
  script: create_osd.sh

- name: copy osd keyring
  copy: src="/tmp/ceph.osd.keyring" dest="/var/lib/ceph/bootstrap-osd/ceph.keyring"

- name: prepare osd disk
  shell: ceph-disk prepare --fs-type xfs /var/local/osd

- name: activate osd node
  shell: ceph-disk activate /var/local/osd