mirror of https://github.com/ceph/ceph-ansible.git
381af6c18d
This allows us to test devices set with persistent naming such as /dev/disk/by-* When registering devices we can use persisent (/dev/disk/by-*) or non-persistent (/dev/sd*). Both declarations are supported by ceph-ansible. There was just two tasks that were not compatible with this. Since we support using partitions directly we need to test that because the device activation will be different. To test if the device is a partition we use a regular expression which wasn't compatible with the persistent device naming format (/dev/disk/by-*). This commit solves this issue by reading the path of the symlink since devices like /dev/disk/by-* are symlinks to devices like /dev/sd* 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.