facts
Gather Cisco SMB switch hardware, configuration and interface facts
Collection: community.ciscosmb
Full Name: community.ciscosmb.facts
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Gather Cisco SMB switch hardware, configuration and interface facts
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| gather_subset | list | [!config] | Facts subsets to include or exclude; default facts are always gathered |
Example
yaml
- name: Collect all facts from the device
community.ciscosmb.facts:
gather_subset: all
- name: Collect only the config and default facts
community.ciscosmb.facts:
gather_subset:
- config
- name: Do not collect hardware facts
community.ciscosmb.facts:
gather_subset:
- "!hardware"