cwilloughby_bw / cwilloughby_bw.ucsc / 0.0.6 / module / ucs_vlan_to_group Add VLANs to a VLAN Group. Requires VLAN and VLAN Group to already be created on UCS prior to running module. | "added in version" 2.8 of cwilloughby_bw.ucsc" Authors: Derrick Johnson @derricktj preview | supported by communitycwilloughby_bw.ucsc.ucs_vlan_to_group (0.0.6) — module
Install with ansible-galaxy collection install cwilloughby_bw.ucsc:==0.0.6
collections: - name: cwilloughby_bw.ucsc version: 0.0.6
Add VLANs to VLAN Groups on Cisco UCS Manager.
- name: Configure VLAN ucs_vlan_to_group: hostname: 1.1.1.1 username: admin password: password vlangroup: VLANGROUP vlanname: VLANNAME state: present
- name: Remove VLAN ucs_vlan_to_group: hostname: 1.1.1.1 username: admin password: password vlangroup: VLANGROUP vlanname: VLANNAME state: absent
state: choices: - present - absent default: present description: - If C(present), will verify VLANs are present and will create if needed. - If C(absent), will verify VLANs are absent and will delete if needed. vlanname: description: - The name assigned to the VLAN. - The VLAN name is case sensitive. - This name can be between 1 and 32 alphanumeric characters. - 'You cannot use spaces or any special characters other than - (hyphen), "_" (underscore), : (colon), and . (period).' required: true vlangroup: description: - The name assigned to the VLAN Group. - The VLAN Group name is case sensitive. - This name can be between 1 and 32 alphanumeric characters. - 'You cannot use spaces or any special characters other than - (hyphen), "_" (underscore), : (colon), and . (period).' required: true