ansible / ansible.builtin / v2.9.24 / module / pn_fabric_local CLI command to modify fabric-local | "added in version" 2.9 of ansible.builtin" Authors: Pluribus Networks (@rajaspachipulusu17) preview | supported by communityansible.builtin.pn_fabric_local (v2.9.24) — module
pip
Install with pip install ansible==2.9.24
This module can be used to modify fabric local information.
- name: Fabric local module pn_fabric_local: pn_cliswitch: "sw01" pn_vlan: "500"
- name: Fabric local module pn_fabric_local: pn_cliswitch: "sw01" pn_fabric_advertisement_network: "mgmt-only"
state: choices: - update default: update description: - State the action to perform. Use C(update) to modify the fabric-local. required: false type: str pn_vlan: description: - VLAN assigned to fabric. required: false type: str pn_cliswitch: description: - Target switch to run the CLI on. required: true type: str pn_fabric_network: choices: - in-band - mgmt - vmgmt default: mgmt description: - fabric administration network. required: false pn_control_network: choices: - in-band - mgmt - vmgmt description: - control plane network. required: false pn_fabric_advertisement_network: choices: - inband-mgmt - inband-only - inband-vmgmt - mgmt-only description: - network to send fabric advertisements on. required: false
changed: description: indicates whether the CLI caused changes on the target. returned: always type: bool command: description: the CLI command run on the target node. returned: always type: str stderr: description: set of error responses from the fabric-local command. returned: on error type: list stdout: description: set of responses from the fabric-local command. returned: always type: list