diff --git a/lib/ansible/modules/windows/setup.ps1 b/lib/ansible/modules/windows/setup.ps1 index b1f1c49115..3b32fb5b40 100644 --- a/lib/ansible/modules/windows/setup.ps1 +++ b/lib/ansible/modules/windows/setup.ps1 @@ -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)