f5networks / f5networks.f5os / 1.7.0 / module / f5os_vlan Manage VLANs on F5OS based systems | "added in version" 1.0.0 of f5networks.f5os" Authors: Wojciech Wypior (@wojtek0806)f5networks.f5os.f5os_vlan (1.7.0) — module
Install with ansible-galaxy collection install f5networks.f5os:==1.7.0
collections: - name: f5networks.f5os version: 1.7.0
Manage VLANs on F5OS based systems like VELOS partitions or rSeries platforms.
- name: Create a vlan on partition f5os_vlan: name: foo vlan_id: 3212
- name: Update name of a vlan on partition f5os_vlan: name: changed_this vlan_id: 3212
- name: Delete vlan on partition f5os_vlan: vlan_id: 3212 state: absent
name: description: - Specifies the name of the VLAN to configure on the F5OS platform. - This parameter is required when creating a resource. - The first character must be a letter, alphanumeric characters are allowed. - Periods, commas, hyphens, and underscores are allowed. - The name cannot exceed 58 characters. type: str state: choices: - present - absent default: present description: - The partition VLAN state. - If C(present), creates the specified VLAN if it does not exist, or updates the existing VLAN. - If C(absent), deletes the VLAN if it exists. type: str vlan_id: description: - The ID for the VLAN. - Valid value range is from C(0) to C(4095). required: true type: int
name: description: The name of the VLAN. returned: changed sample: new_name type: str vlan_id: description: The ID of the VLAN. returned: changed sample: 1234 type: int