---
# System prepended metadata

title: Untitled

---

Openstack Ansible collections items

play.yaml:
```yaml
- hosts: all
  gather_facts: true
  tasks:
    - name: Test my module
      openstack.cloud.routers_info:
        cloud: "{{ cloud }}"


```

```bash
ansible-playbook -vv play.yaml -i virthost, -e cloud=overcloud

```

clouds.yaml
```yaml

clouds:
  overcloud:
    auth:
      auth_url: https://10.0.0.5:13000
      password: RPuI0Ib6wnEWIPjuTw38i7zNH
      project_domain_name: Default
      project_name: admin
      user_domain_name: Default
      username: admin
    cacert: ''
    identity_api_version: '3'
    region_name: regionOne
  undercloud:
    auth:
      auth_url: https://192.168.24.2:13000
      password: qViRXRsc4TyG58DEk9qPDYmJB
      project_domain_name: Default
      project_name: admin
      user_domain_name: Default
      username: admin
    cacert: /etc/pki/ca-trust/source/anchors/cm-local-ca.pem
    identity_api_version: '3'
    region_name: regionOne

```
