Comment 3 for bug 1580222

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

I would suggest changing the task name for https://github.com/openstack/openstack-ansible-os_cinder/blob/master/tasks/cinder_install_apt.yml#L39-L50 to be 'Install apt packages for LVM backend'. Then adding another task with a corresponding var to 'Install apt packages commonly used for cinder-volume backends'. The conditional should just be 'when: inventory_hostname in groups['cinder_volume']'.

That should cover the apt package needs for most back-ends. Any special cases can be implemented afterwards using back-end specific lists.