From 38503208940a9c70ffe00c6d9c48f2537a889da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Tue, 16 Dec 2014 15:07:28 +0100 Subject: [PATCH] Fix OSD device auto-discovery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missing variable, conditionnal didn't work. Signed-off-by: Sébastien Han --- roles/ceph-osd/vars/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/ceph-osd/vars/main.yml b/roles/ceph-osd/vars/main.yml index fcda64e2e..a47ff649e 100644 --- a/roles/ceph-osd/vars/main.yml +++ b/roles/ceph-osd/vars/main.yml @@ -32,6 +32,14 @@ devices: - /dev/sdd - /dev/sde +# Device discovery is based on the Ansible fact 'ansible_devices' +# which reports all the devices on a system. If chosen all the disks +# found will be passed to ceph-disk. You should not be worried on using +# this option since ceph-disk has a built-in check which looks for empty devices. +# Thus devices with existing partition tables will not be used. +# This mode prevents you from filling out the 'devices' variable above. +# +osd_auto_discovery: false # I. First scenario: journal and osd_data on the same device # Use 'true' to enable this scenario