2015-01-21 01:43:47 +08:00
|
|
|
---
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: install dependencies
|
2015-01-21 01:43:47 +08:00
|
|
|
apt: >
|
|
|
|
pkg=parted
|
|
|
|
state=present
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
2015-05-16 00:27:41 +08:00
|
|
|
- name: install dependencies
|
2015-01-21 01:43:47 +08:00
|
|
|
yum: >
|
|
|
|
name=parted
|
|
|
|
state=present
|
|
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
|
2015-07-24 02:01:43 +08:00
|
|
|
- name: copy osd bootstrap key
|
2015-01-21 01:43:47 +08:00
|
|
|
copy: >
|
|
|
|
src=fetch/{{ fsid }}/var/lib/ceph/bootstrap-osd/ceph.keyring
|
|
|
|
dest=/var/lib/ceph/bootstrap-osd/ceph.keyring
|
|
|
|
owner=root
|
|
|
|
group=root
|
|
|
|
mode=600
|
|
|
|
when: cephx
|