ceph-ansible/roles/ceph-osd/tasks
Sébastien Han 381af6c18d ceph-osd: get full link path when testing if a partition
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>
2016-09-20 10:15:06 +02:00
..
docker docker: fix osd configuration 2016-08-24 09:05:14 +02:00
scenarios Merged with Upstream Master 2016-08-17 12:00:36 -04:00
activate_osds.yml Merged with Upstream Master 2016-08-17 12:00:36 -04:00
check_devices.yml Fixed quotes and removed combined_ prefix from variables that no longer need it 2016-08-16 17:49:30 -04:00
check_devices_auto.yml ceph-osd: get full link path when testing if a partition 2016-09-20 10:15:06 +02:00
check_devices_static.yml ceph-osd: get full link path when testing if a partition 2016-09-20 10:15:06 +02:00
main.yml Merged with Upstream Master 2016-08-17 12:00:36 -04:00
osd_fragment.yml ceph: implement cluster name support 2016-03-30 18:08:38 +02:00
pre_requisite.yml osd: fix collocation spelling and declare dmcrypt variables 2016-08-10 10:34:23 +02:00