mirror of https://github.com/ceph/ceph-ansible.git
22 lines
438 B
YAML
22 lines
438 B
YAML
---
|
|
- name: install dependencies
|
|
apt: >
|
|
pkg=parted
|
|
state=present
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: install dependencies
|
|
yum: >
|
|
name=parted
|
|
state=present
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
- name: copy OSD bootstrap key
|
|
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
|