community.network.pn_stp – CLI command to modify stp
This plugin is part of the community.network collection (version 3.0.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.network.
To use it in a playbook, specify:
- name: Modify stp community.network.pn_stp: pn_cliswitch: "sw01" state: "update" pn_hello_time: "3" pn_stp_mode: "rstp"
Common return values are documented here, the following are the fields unique to this module: