mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Add mac address to windows facts (#25803)
This commit is contained in:
parent
42039cd436
commit
a43af128cf
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ foreach ($adapter in $ActiveNetcfg)
|
||||||
dns_domain = $adapter.dnsdomain
|
dns_domain = $adapter.dnsdomain
|
||||||
interface_index = $adapter.InterfaceIndex
|
interface_index = $adapter.InterfaceIndex
|
||||||
interface_name = $adapter.description
|
interface_name = $adapter.description
|
||||||
|
macaddress = $adapter.macaddress
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($adapter.defaultIPGateway)
|
if ($adapter.defaultIPGateway)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue