I'll create a bug report on github now for that issue, looking at the
source it looks like I'm not supposed to use it in this way and instead the
host_vars and group_vars will be merged when the role configuration is
evaluated.
I'm not sure where that assumption was drawn, but it should be
I see you are still using legacy variables here.
Please switch to {{ foo }}, which is the only option available starting in
1.6, and let us know if you still have problems.
However without seeing the source to the role, I can't tell how this is
being used.
A traceback is always worthy of a bug