| Key |
Returned |
Description |
|
ansible_net_api
string
|
always |
The name of the transport
|
|
ansible_net_commits
list
|
when present |
The set of available configuration revisions
|
|
ansible_net_config
string
|
when config is configured |
The running-config from the device
|
|
ansible_net_gather_network_resources
list
|
always |
The list of fact resource subsets collected from the device
|
|
ansible_net_gather_subset
list
|
always |
The list of subsets gathered by the module
|
|
ansible_net_hostname
string
|
always |
The configured system hostname
|
|
ansible_net_model
string
|
always |
The device model string
|
|
ansible_net_neighbors
list
|
when interface is configured |
The set of LLDP neighbors
|
|
ansible_net_python_version
string
|
always |
The Python version Ansible controller is using
|
|
ansible_net_secure_boot
dictionary
|
when the device reports its Secure Boot state |
The Secure Boot state of the device, from show secure-boot.
Only on images that have the command; older images do not return it.
Sample:
- {'enabled': True, 'uefi': True, 'certificates': [{'issuer': 'CN=VyOS Secure Boot CA', 'subject': 'CN=VyOS Secure Boot Signer'}]}
+ {'enabled': True, 'uefi': True, 'certificates': [{'issuer': '/CN=VyOS Networks Secure Boot CA', 'subject': '/CN=VyOS Networks Secure Boot Signer 2025 - linux'}]}
|
| |
certificates
list
/ elements=dictionary
|
|
Issuer and subject of the kernel signing certificates, when Secure Boot is enabled.
|
| |
|
issuer
string
|
|
Certificate issuer.
|
| |
|
subject
string
|
|
Certificate subject.
|
| |
enabled
boolean
|
|
Whether Secure Boot is enabled.
|
| |
uefi
boolean
|
|
Whether the system booted with UEFI; false for legacy BIOS.
|
|
ansible_net_serialnum
string
|
always |
The serial number of the device
|
|
ansible_net_version
string
|
always |
The version of the software running
|