blueboxgroup / ursula

Ansible playbooks for operating OpenStack - Powering Blue Box Cloud.
https://www.blueboxcloud.com
204 stars 5 forks source link

add logic for adding flavors to skip when flavors are already present #2828

Closed twaldrop closed 7 years ago

twaldrop commented 7 years ago

if cloud users have added their own flavors, adding the default flavors may not be needed. if any flavors are present, no default flavors will be created.

scoop206 commented 7 years ago

Should we move the nova.flavors definitions into roles/nova-common/defaults/main.yml ? As a consumer of ursula, if you didn't have defaults file then you would end up w/ a cloud without any flavors.

nirajdp76 commented 7 years ago

We make sense to move it to roles/nova-common/defaults/main.yml. I will submit separate PR for it.

https://github.com/blueboxgroup/ursula/pull/2844