ucs_vlan_find – Find VLANs on Cisco UCS Manager¶
New in version 2.9.
Parameters¶
Examples¶
- name: Get all vlans in fabric A
  ucs_vlan_find:
    hostname: 172.16.143.150
    username: admin
    password: password
    fabric: 'A'
    pattern: '.'
- name: Confirm if vlan 15 is present
  ucs_vlan_find:
    hostname: 172.16.143.150
    username: admin
    password: password
    vlanid: '15'
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
| Key | Returned | Description | 
|---|---|---|
| 
                
                vlan_list
                
                 
                  list
                                       
                                 | 
            on success | 
                                         basic details of vlans found 
                                    Sample: 
                                            [{'id': '0', 'name': 'vlcloud1'}] 
                                 | 
        
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
David Martinez (@dx0xm)
CiscoUcs (@CiscoUcs)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.