e3ab79ee84
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
2 lines
51 B
Django/Jinja
2 lines
51 B
Django/Jinja
{{ overcloud_roles | default('') | to_nice_yaml }}
|