mirror of https://github.com/ceph/ceph-ansible.git
73cf0378c2
Oh yeah! This patch adds more fine grained control on how we run the activation osd container. We now use --device to give a read, write and mknodaccess to a specific device to be consumed by Ceph. We also use SYS_ADMIN cap to allow mount operations, ceph-disk needs to temporary mount the osd data directory during the activation sequence. This patch also enables the support of dedicated journal devices when deploying ceph-docker with ceph-ansible. Depends on https://github.com/ceph/ceph-docker/pull/478 Signed-off-by: Sébastien Han <seb@redhat.com> |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
LICENSE | ||
README.md |
README.md
Ansible role: Ceph OSD
This role bootstraps Ceph OSD(s). It can bootstrap dockerized Ceph OSD(s).
Requirements
Nothing, it runs out of the box.
Role variables
Have a look at: defaults/main.yml
.
Mandatory variables
Choose between the following scenario to configure your OSDs, choose only one:
journal_collocation
raw_multi_journal
osd_directory
Then:
devices
raw_journal_devices
(only if you activatedraw_multi_journal
)osd_directories
(only if you activatedosd_directory
)
Dependencies
The role leseb.ceph-common
must be installed.
Example Playbook
- hosts: servers
remote_user: ubuntu
roles:
- { role: leseb.ceph-osd }
Contribution
THIS REPOSITORY DOES NOT ACCEPT PULL REQUESTS PULL REQUESTS MUST GO THROUGH CEPH-ANSIBLE
License
Apache
Author Information
This role was created by Sébastien Han.