]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Support diverse setup disks 4/head
authorSébastien Han <sebastien.han@enovance.com>
Thu, 6 Mar 2014 10:12:25 +0000 (11:12 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Thu, 6 Mar 2014 10:50:14 +0000 (11:50 +0100)
commit47c361b25591540dde2221db13619221215cc94c
tree610778b2bf228eed087c316b0a46109b616d1e60
parente005f6057966f888b162854d41b4d0854179996b
Support diverse setup disks

This brings the support of heterogeneous hardware. Not all the servers
are identical, some have more or less disks than the others. Prior this
commit, the 'parted' command was hanging, now the command simply exits 1
if the device doesn't exist, same for the 'egrep' piped command after.
Then we skip these errors and continue to run. So now, you can specify
multiple devices in group_vars/osds that don't exist on all the
servers.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
group_vars/osds
roles/osd/tasks/main.yml