ceph-ansible/roles/ceph-osd/tasks/pre_requisite.yml

24 lines
478 B
YAML
Raw Normal View History

---
## Deploy Ceph Oject Storage Daemon(s)
- 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