New in version 2.0.
Get openstack client config data from clouds.yaml or environment
- os-client-config
parameter | required | default | choices | comments |
---|---|---|---|---|
clouds |
no | List of clouds to limit the return list to. No value means return information on all configured clouds |
# Get list of clouds that do not support security groups - os_client_config: - debug: var={{ item }} with_items: "{{ openstack.clouds|rejectattr('secgroup_source', 'none')|list() }}" # Get the information back just about the mordred cloud - os_client_config: clouds: - mordred
Note
Facts are placed in the openstack.clouds
variable.
For more information on what this means please read Core Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.