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

22 lines
438 B
YAML
Raw Normal View History

---
- 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