2014-03-04 02:08:51 +08:00
|
|
|
---
|
|
|
|
## Deploy Ceph Oject Storage Daemon(s)
|
2014-09-05 03:14:11 +08:00
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
apt: >
|
2014-11-06 00:57:28 +08:00
|
|
|
pkg=parted
|
2014-09-05 03:14:11 +08:00
|
|
|
state=present
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
yum: >
|
2014-11-06 00:57:28 +08:00
|
|
|
name=parted
|
2014-09-05 03:14:11 +08:00
|
|
|
state=present
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
|
|
|
- name: Copy OSD bootstrap key
|
|
|
|
copy: >
|
2014-11-06 00:57:28 +08:00
|
|
|
src=fetch/{{ fsid }}/var/lib/ceph/bootstrap-osd/ceph.keyring
|
|
|
|
dest=/var/lib/ceph/bootstrap-osd/ceph.keyring
|
|
|
|
owner=root
|
|
|
|
group=root
|
2014-09-05 03:14:11 +08:00
|
|
|
mode=600
|
|
|
|
when: cephx
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2014-03-10 23:52:31 +08:00
|
|
|
- include: journal_collocation.yml
|
|
|
|
when: journal_collocation
|
2014-03-04 02:08:51 +08:00
|
|
|
|
2014-03-10 23:52:31 +08:00
|
|
|
- include: raw_multi_journal.yml
|
|
|
|
when: raw_multi_journal
|
2014-07-03 21:30:49 +08:00
|
|
|
|
|
|
|
- include: osd_directory.yml
|
|
|
|
when: osd_directory
|