Skip to content

Instantly share code, notes, and snippets.

@kaz-tk
Created December 23, 2014 13:06
Show Gist options
  • Save kaz-tk/4dc4b5e156f386f8f075 to your computer and use it in GitHub Desktop.
Save kaz-tk/4dc4b5e156f386f8f075 to your computer and use it in GitHub Desktop.
(ansible)/Users/miyabi/tmp/win% ansible -m setup -i inventory win
win2012r2 | success >> {
"ansible_facts": {
"ansible_distribution": "Microsoft Windows NT 6.3.9600.0",
"ansible_distribution_version": "6.3.9600.0",
"ansible_fqdn": "WIN-I7D9V42FUF8",
"ansible_hostname": "WIN-I7D9V42FUF8",
"ansible_interfaces": [
{
"default_gateway": "10.0.2.2",
"dns_domain": null,
"interface_index": 12,
"interface_name": "Intel(R) PRO/1000 MT Desktop Adapter"
},
{
"default_gateway": null,
"dns_domain": null,
"interface_index": 15,
"interface_name": "Intel(R) PRO/1000 MT Desktop Adapter #2"
}
],
"ansible_ip_addresses": [
"10.0.2.15",
"fe80::8df7:e5e0:23f9:d55c",
"172.16.0.2",
"fe80::55b7:f6eb:6d65:7727"
],
"ansible_os_family": "Windows",
"ansible_powershell_version": 5,
"ansible_system": "Win32NT",
"ansible_totalmem": 2147483648
},
"changed": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment