Fix default value for overcloud_roles

This commit prevent errors like [1] that you'll get when you don't
define the "overcloud_roles" variable while declaring instead:

composable_roles: true
generate_overcloud_roles: "Controller ComputeInstanceHA"

ansible will process the template in any case, despite the when condition
turning false, making the task fail.

[1] "AnsibleUndefinedVariable: 'overcloud_roles' is undefined

Change-Id: I5218c6b65e62d58a2346e95026c1ca2fb4f0d8f9
This commit is contained in:
Raoul Scarazzini 2018-08-02 18:01:38 +02:00 committed by wes hayutin
parent 36fec92e39
commit e3ab79ee84
1 changed files with 1 additions and 1 deletions

View File

@ -1 +1 @@
{{ overcloud_roles | to_nice_yaml }}
{{ overcloud_roles | default('') | to_nice_yaml }}