Files
Jean-Philippe Evrard de29bf7e0f Fix cinder role condition when no cinder_volumes
If there is no machine in the group cinder_volume, the condition
inventory_hostname in groups['cinder_volume'][0] will fail.

Because we run this role even when there is no cinder_volume defined,
this causes a failures for deployments with no cinder.

This commit is a short term fix until we properly document how to use
finer-grained groups instead of the generic os-infra_hosts for all the
services.

Closes-Bug: 1596918

Change-Id: I214a62f48befe7d5fd54c22b4b64c33e2c346629
Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
(cherry picked from commit 62c3a8025e)
2016-08-14 10:28:48 +00:00
..
2016-03-23 16:19:03 -07:00