Update list of provided facts for 0.7

This commit is contained in:
Michael DeHaan 2012-09-04 21:40:49 -04:00
parent 4d003127fa
commit 151a9b385d

View file

@ -12,36 +12,65 @@ Ansible provides many 'facts' about the system, automatically.
Some of the variables that are supplied are listed below. These in particular Some of the variables that are supplied are listed below. These in particular
are from a VMWare Fusion 4 VM running CentOS 6.2:: are from a VMWare Fusion 4 VM running CentOS 6.2::
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"192.168.144.180",
"192.168.122.1"
],
"ansible_all_ipv6_addresses": [
"ffff::fff:ffff:ffff:ffff"
],
"ansible_architecture": "x86_64", "ansible_architecture": "x86_64",
"ansible_bios_date": "06/02/2011",
"ansible_bios_version": "6.00",
"ansible_default_ipv4": {
"address": "192.168.144.180",
"alias": "eth0",
"gateway": "192.168.144.2",
"interface": "eth0",
"macaddress": "AA:BB:CC:DD:EE:FF",
"mtu": "1500",
"netmask": "255.255.255.0",
"network": "192.168.144.0",
"type": "ether"
},
"ansible_default_ipv6": {},
"ansible_distribution": "CentOS", "ansible_distribution": "CentOS",
"ansible_distribution_release": "Final", "ansible_distribution_release": "Final",
"ansible_distribution_version": "6.2", "ansible_distribution_version": "6.2",
"ansible_eth0": { "ansible_eth0": {
"device": "eth0",
"ipv4": { "ipv4": {
"address": "REDACTED", "address": "192.168.144.180",
"netmask": "255.255.255.0" "netmask": "255.255.255.0",
"network": "192.16.144.0"
}, },
"ipv6": [ "ipv6": [
{ {
"address": "REDACTED", "address": "ffff::fff:ffff:ffff:ffff",
"prefix": "64", "prefix": "64",
"scope": "link" "scope": "link"
} }
], ],
"macaddress": "REDACTED" "macaddress": "00:0c:29:b6:a2:62",
"mtu": "1500",
"type": "ether"
}, },
"ansible_form_factor": "Other", "ansible_form_factor": "Other",
"ansible_fqdn": "localhost.localdomain", "ansible_fqdn": "localhost.localdomain",
"ansible_hostname": "localhost", "ansible_hostname": "localhost",
"ansible_interfaces": [ "ansible_interfaces": [
"lo", "lo",
"virbr0",
"eth0" "eth0"
], ],
"ansible_kernel": "2.6.32-220.2.1.el6.x86_64", "ansible_kernel": "2.6.32-220.2.1.el6.x86_64",
"ansible_lo": { "ansible_lo": {
"device": "lo",
"ipv4": { "ipv4": {
"address": "127.0.0.1", "address": "127.0.0.1",
"netmask": "255.0.0.0" "netmask": "255.0.0.0",
"network": "127.0.0.0"
}, },
"ipv6": [ "ipv6": [
{ {
@ -50,8 +79,12 @@ are from a VMWare Fusion 4 VM running CentOS 6.2::
"scope": "host" "scope": "host"
} }
], ],
"macaddress": "00:00:00:00:00:00",
"mtu": "16436",
"type": "loopback"
},
"ansible_machine": "x86_64", "ansible_machine": "x86_64",
"ansible_memfree_mb": 89, "ansible_memfree_mb": 166,
"ansible_memtotal_mb": 993, "ansible_memtotal_mb": 993,
"ansible_processor": [ "ansible_processor": [
"Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz" "Intel(R) Core(TM) i7-2677M CPU @ 1.80GHz"
@ -63,16 +96,32 @@ are from a VMWare Fusion 4 VM running CentOS 6.2::
"ansible_product_uuid": "REDACTED", "ansible_product_uuid": "REDACTED",
"ansible_product_version": "None", "ansible_product_version": "None",
"ansible_python_version": "2.6.6", "ansible_python_version": "2.6.6",
"ansible_product_version": "None", "ansible_selinux": {
"ansible_python_version": "2.6.6", "config_mode": "enforcing",
"ansible_ssh_host_key_dsa_public": REDACTED", "mode": "permissive",
"policyvers": 24,
"status": "enabled",
"type": "targeted"
},
"ansible_ssh_host_key_dsa_public": "REDACTED",
"ansible_ssh_host_key_rsa_public": "REDACTED", "ansible_ssh_host_key_rsa_public": "REDACTED",
"ansible_swapfree_mb": 1822, "ansible_swapfree_mb": 1933,
"ansible_swaptotal_mb": 2015, "ansible_swaptotal_mb": 2015,
"ansible_system": "Linux", "ansible_system": "Linux",
"ansible_system_vendor": "VMware, Inc.", "ansible_system_vendor": "VMware, Inc.",
"ansible_virtualization_role": "None", "ansible_virbr0": {
"ansible_virtualization_type": "None", "device": "virbr0",
"ipv4": {
"address": "192.168.122.1",
"netmask": "255.255.255.0",
"network": "192.168.122.0"
},
"macaddress": "AA:BB:CC:DD:EE:FF",
"mtu": "1500",
"type": "ether"
},
"ansible_virtualization_role": "guest",
"ansible_virtualization_type": "VMware",
More ansible facts will be added with successive releases. More ansible facts will be added with successive releases.