mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 06:41:04 +00:00
Add mac address to windows facts (#25803)
This commit is contained in:
@@ -74,6 +74,7 @@ foreach ($adapter in $ActiveNetcfg)
|
||||
dns_domain = $adapter.dnsdomain
|
||||
interface_index = $adapter.InterfaceIndex
|
||||
interface_name = $adapter.description
|
||||
macaddress = $adapter.macaddress
|
||||
}
|
||||
|
||||
if ($adapter.defaultIPGateway)
|
||||
|
||||
Reference in New Issue
Block a user