Closed halcyondude closed 8 years ago
This is being resolved by a combination of refactoring the inputs to make the role completely declarative (e.g. no hard coding image names and elements), and to use support from tripleo-common to wrap DIB, vs the shell blocks shown above. At this point tripleo-common support has been merged #17. Closing this, as for DIB at least we're not going to wrap this in a jinja template, we've instead opted to align more tightly with upstream DIB wrap mechanism.
Presently, the set of env vars set for disk-image-create (part of DIB) is specified both in Ansible as well as bash format.
While the way the local image and elements path are defined is more "Ansible nice" - the common theme through quickstart / CI is to emit bash that remove ambiguity about what was executed, and allows for ssh'ing to a machine and re-running exactly what was run.
This issue is to track ensuring that the "ansible" style env variables migrate to thejinja template. This file should also be renamed to remove the "optional" part.