ucs_vlan_find – Find VLANs on Cisco UCS Manager¶
New in version 2.9.
Synopsis¶
Find VLANs on Cisco UCS Manager based on different criteria.
Requirements¶
The below requirements are needed on the host that executes this module.
ucsmsdk
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]