Ansible 2: how to use `cloud` var in Openstack modules?

Hi there,

I’m trying out Ansible 2.0 alpha and the new os_* modules. According to the documentation, instead of providing an auth config value, you should be able to define the cloud variable that refers to a configured cloud? The only thing I could find was that there should be a file /etc/ansible/openstack.yml, but there is no documentation whatsoever on how the structure of this file should be. Or how you can configure ansible to look in a different location for the openstack.yml file.

Anyone any idea on how to set this up? Repeating auth with username, password and project_name in every task is a bit verbose…

Thanks!

Cheers,
Alwin