community.network.pn_switch_setup – CLI command to modify switch-setup¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.pn_switch_setup
.
Parameters¶
Examples¶
- name: Modify switch
community.network.pn_switch_setup:
pn_cliswitch: "sw01"
state: "update"
pn_timezone: "America/New_York"
pn_in_band_ip: "20.20.1.1"
pn_in_band_netmask: "24"
- name: Modify switch
community.network.pn_switch_setup:
pn_cliswitch: "sw01"
state: "update"
pn_in_band_ip6: "2001:0db8:85a3::8a2e:0370:7334"
pn_in_band_netmask_ip6: "127"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Pluribus Networks (@rajaspachipulusu17)