ansible / ansible.builtin / v2.8.17 / module / os_client_config Get OpenStack Client config | "added in version" 2.0 of ansible.builtin" Authors: Monty Taylor (@emonty) preview | supported by communityansible.builtin.os_client_config (v2.8.17) — module
pip
Install with pip install ansible==2.8.17
Get I(openstack) client config data from clouds.yaml or environment
- name: 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 }}"
- name: Get the information back just about the mordred cloud os_client_config: clouds: - mordred
clouds: default: [] description: - List of clouds to limit the return list to. No value means return information on all configured clouds required: false