empty vars files cause openstack-ansible to fail to combine variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Opinion
|
Wishlist
|
Kevin Carter |
Bug Description
I'm not sure if this is an ansible problem or one in OSA (how we combine vars files), but I'll report it here.
The file itself looks like this, if you add a defunct variable (not used for anything) it works fine.
---
# licence header
# goes here
and causes this specific error
openstack-
Variable files: "-e @/etc/openstack
ERROR: failed to combine variables, expected dicts but got a 'dict' and a 'NoneType'
Changed in openstack-ansible: | |
importance: | Undecided → Wishlist |
status: | New → Opinion |
assignee: | nobody → Kevin Carter (kevin-carter) |
The reason we wish to have an empty vars file is to ship it to our end users so they override the vars that we ship. They can't edit the files we ship directly because we may overwrite them (causing them to loose their overrides).