Skip to content

Instantly share code, notes, and snippets.

@danehans
Created March 22, 2016 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danehans/dc7081b4ac5dfe857cfe to your computer and use it in GitHub Desktop.
Save danehans/dc7081b4ac5dfe857cfe to your computer and use it in GitHub Desktop.
coreos_ansible_facts
core-master | success >> {
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"10.30.118.83",
"2.0.49.0",
"2.0.49.1"
],
"ansible_all_ipv6_addresses": [
"fe80::a64c:11ff:fe13:4494",
"fe80::a64c:11ff:fe13:4493",
"fe80::c89e:44ff:feac:bad1",
"fe80::42:e9ff:fed8:9362",
"fe80::301e:9eff:fe52:c11d",
"fe80::5c3b:efff:fe92:7ab0"
],
"ansible_architecture": "x86_64",
"ansible_bios_date": "02/22/2012",
"ansible_bios_version": "C220M3.1.4.4c.0.022220121951",
"ansible_cmdline": {
"BOOT_IMAGE": "/images/coreos/alpha/coreos_production_pxe.vmlinuz",
"cloud-config-url": "http://10.30.118.81/coreos/cloudinit.yml",
"coreos.autologin": "ttyS0",
"initrd": "/images/coreos/alpha/coreos_production_pxe_image.cpio.gz",
"mount.usrflags": "ro",
"rootflags": "rw"
},
"ansible_date_time": {
"date": "2016-03-22",
"day": "22",
"epoch": "1458665044",
"hour": "16",
"iso8601": "2016-03-22T16:44:04Z",
"iso8601_micro": "2016-03-22T16:44:04.101671Z",
"minute": "44",
"month": "03",
"second": "04",
"time": "16:44:04",
"tz": "UTC",
"tz_offset": "+0000",
"weekday": "Tuesday",
"year": "2016"
},
"ansible_default_ipv4": {
"address": "10.30.118.83",
"alias": "enp14s0",
"gateway": "10.30.118.65",
"interface": "enp14s0",
"macaddress": "a4:4c:11:13:44:93",
"mtu": 1500,
"netmask": "255.255.255.192",
"network": "10.30.118.64",
"type": "ether"
},
"ansible_default_ipv6": {},
"ansible_devices": {
"sda": {
"holders": [],
"host": "USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 (rev 06)",
"model": "Virtual FDD/HDD",
"partitions": {},
"removable": "1",
"rotational": "1",
"scheduler_mode": "cfq",
"sectors": "0",
"sectorsize": "512",
"size": "0.00 Bytes",
"support_discard": "0",
"vendor": "Cisco"
},
"sdb": {
"holders": [],
"host": "USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 (rev 06)",
"model": "Virtual Floppy",
"partitions": {},
"removable": "1",
"rotational": "1",
"scheduler_mode": "cfq",
"sectors": "0",
"sectorsize": "512",
"size": "0.00 Bytes",
"support_discard": "0",
"vendor": "Cisco"
},
"sr0": {
"holders": [],
"host": "USB controller: Intel Corporation C600/X79 series chipset USB2 Enhanced Host Controller #2 (rev 06)",
"model": "Virtual CD/DVD",
"partitions": {},
"removable": "1",
"rotational": "1",
"scheduler_mode": "cfq",
"sectors": "2097151",
"sectorsize": "512",
"size": "1024.00 MB",
"support_discard": "0",
"vendor": "Cisco"
}
},
"ansible_distribution": "NA",
"ansible_distribution_major_version": "NA",
"ansible_distribution_release": "NA",
"ansible_distribution_version": "NA",
"ansible_docker0": {
"active": true,
"device": "docker0",
"id": "8000.0242e9d89362",
"interfaces": [
"veth65543a6",
"veth905c15a"
],
"ipv4": {
"address": "2.0.49.1",
"netmask": "255.255.255.0",
"network": "2.0.49.0"
},
"ipv6": [
{
"address": "fe80::42:e9ff:fed8:9362",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "02:42:e9:d8:93:62",
"mtu": 1450,
"promisc": false,
"stp": false,
"type": "bridge"
},
"ansible_domain": "ctocllab.cisco.com",
"ansible_enp14s0": {
"active": true,
"device": "enp14s0",
"ipv4": {
"address": "10.30.118.83",
"netmask": "255.255.255.192",
"network": "10.30.118.64"
},
"ipv6": [
{
"address": "fe80::a64c:11ff:fe13:4493",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "a4:4c:11:13:44:93",
"module": "enic",
"mtu": 1500,
"promisc": false,
"type": "ether"
},
"ansible_enp15s0": {
"active": true,
"device": "enp15s0",
"ipv6": [
{
"address": "fe80::a64c:11ff:fe13:4494",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "a4:4c:11:13:44:94",
"module": "enic",
"mtu": 1500,
"promisc": false,
"type": "ether"
},
"ansible_enp3s0f0": {
"active": false,
"device": "enp3s0f0",
"macaddress": "a4:4c:11:29:cb:2e",
"module": "igb",
"mtu": 1500,
"promisc": false,
"type": "ether"
},
"ansible_enp3s0f1": {
"active": false,
"device": "enp3s0f1",
"macaddress": "a4:4c:11:29:cb:2f",
"module": "igb",
"mtu": 1500,
"promisc": false,
"type": "ether"
},
"ansible_env": {
"HOME": "/home/core",
"LANG": "C",
"LC_CTYPE": "C",
"LD_LIBRARY_PATH": "/opt/bin/pypy/lib:",
"LOGNAME": "core",
"MAIL": "/var/mail/core",
"PATH": "/opt/bin:/usr/bin:/bin:/usr/sbin:/sbin",
"PWD": "/home/core",
"SHELL": "/bin/bash",
"SHLVL": "2",
"SSH_CLIENT": "10.30.118.81 43707 22",
"SSH_CONNECTION": "10.30.118.81 43707 10.30.118.83 22",
"SSH_TTY": "/dev/pts/0",
"TERM": "xterm-256color",
"USER": "core",
"_": "/opt/bin/python"
},
"ansible_fips": false,
"ansible_flannel.1": {
"active": true,
"device": "flannel.1",
"ipv4": {
"address": "2.0.49.0",
"netmask": "255.240.0.0",
"network": "2.0.0.0"
},
"ipv6": [
{
"address": "fe80::c89e:44ff:feac:bad1",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "ca:9e:44:ac:ba:d1",
"mtu": 1450,
"promisc": false,
"type": "ether"
},
"ansible_form_factor": "Expansion Chassis",
"ansible_fqdn": "core-master.ctocllab.cisco.com",
"ansible_hostname": "core-master",
"ansible_interfaces": [
"docker0",
"veth65543a6",
"lo",
"flannel.1",
"enp15s0",
"enp3s0f1",
"enp3s0f0",
"enp14s0",
"veth905c15a"
],
"ansible_kernel": "4.4.4-coreos",
"ansible_lo": {
"active": true,
"device": "lo",
"ipv4": {
"address": "127.0.0.1",
"netmask": "255.0.0.0",
"network": "127.0.0.0"
},
"ipv6": [
{
"address": "::1",
"prefix": "128",
"scope": "host"
}
],
"mtu": 65536,
"promisc": false,
"type": "loopback"
},
"ansible_lsb": {
"codename": "\"Coeur Rouge\"",
"description": "\"CoreOS 983.0.0 (Coeur Rouge)\"",
"id": "CoreOS",
"major_release": "983",
"release": "983.0.0"
},
"ansible_machine": "x86_64",
"ansible_machine_id": "0ff352c80d14400abad255d8c1354d1e",
"ansible_memfree_mb": 125566,
"ansible_memory_mb": {
"nocache": {
"free": 127770,
"used": 1182
},
"real": {
"free": 125566,
"total": 128952,
"used": 3386
},
"swap": {
"cached": 0,
"free": 0,
"total": 0,
"used": 0
}
},
"ansible_memtotal_mb": 128952,
"ansible_mounts": [
{
"device": "/dev/loop0",
"fstype": "squashfs",
"mount": "/usr",
"options": "ro,seclabel,relatime",
"size_available": 0,
"size_total": 225443840,
"uuid": ""
}
],
"ansible_nodename": "core-master",
"ansible_os_family": "NA",
"ansible_pkg_mgr": "unknown",
"ansible_processor": [
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz",
"GenuineIntel",
"Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz"
],
"ansible_processor_cores": 8,
"ansible_processor_count": 2,
"ansible_processor_threads_per_core": 2,
"ansible_processor_vcpus": 32,
"ansible_product_name": "UCSC-C220-M3S",
"ansible_product_serial": "NA",
"ansible_product_uuid": "NA",
"ansible_product_version": "A",
"ansible_python_version": "2.7.8",
"ansible_selinux": false,
"ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAIlXR6r6ojgkjmqsjSyf3rfwQK40SDdHzvG5lB/Y/hu8j7xNbfYdIQWxrzqPAmK0FR+0GV7bBUKG/55N+E81L+0fCWkjsrTrY+W99GSXMz07tFWXxSpIjrHIbmoNjoRGsQipWbtSeANYiSCQL4su+u0wswjvSeWKiR75NE/+M7RTAAAAFQD/QSfmATqkHcKcNcLEWtz9gXZigQAAAIB12lmnBxashsc791s492G03ghABDyvnhRnYnYrNxibnEEJiQokUU3Z/+JZIG48ZP4tc2fS2dmLUTsRErKGY9zwA65j8KaTKWHfHLZ8vVLHWt/59ScPJoyHAKYQd+WHHeWF3eo3YZEWZgkxQ7uUXT4fBT0n+7g5e0C5ZMNodOF45QAAAIB+JHMJECgaTBOq9jkYkbXsZfYv8aXdEtNBFiI+jGbpcWSL7D+6TtlZkQIfBicv4UzY/ZoqmsHarbfxR+p5vlbcBomKlNIb9BNqvf+3MBaRztyH8JBcvVxNP3kD/hoFA2BRONsMLN9kM0h/iX7+LxXOuqW+hv7NOqbGVDnRnqBzbQ==",
"ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGyeJ4c9o8N8VyUljG2CnY9+pmfx8GS1B4qpUs+ZfZ/pG+T+XAf9Yyu7KzljjwsiOrVWrSwfUB1Byc2QTEyci98=",
"ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCikPYJBoOgj9sy87jwQqcGt3kN/IVBlYm1vwxvhuBqZ0MLvXcDFOU+OC0KZc7Rlhz6Dm3P2m+TuGI7eMDdUQdFNctWUO11mNZS+wYqJigsFKk059wOEZQIMpaa6im+tXxiCwvCH1MNXfwEqXVFh0Hh2LJluPNPlrZHC1xFXwju7bFkOXw9RTfXOjGs4IyU76+iysRcjNEbiuD32t8UEYci6Y6tLRErCvBssgABm2OGNAEGmnllb80P2XqZciIX5kdrxvEt4/lUoiR62gQ1MyEMdAW1R8i7O8Nufe0iVyLMy0Yao5gCBK5Xpns9V0520qD5ktRnWKe7saFxP5s4m3+3",
"ansible_swapfree_mb": 0,
"ansible_swaptotal_mb": 0,
"ansible_system": "Linux",
"ansible_system_vendor": "Cisco Systems Inc",
"ansible_user_dir": "/home/core",
"ansible_user_gecos": "CoreOS Admin",
"ansible_user_gid": 500,
"ansible_user_id": "core",
"ansible_user_shell": "/bin/bash",
"ansible_user_uid": 500,
"ansible_userspace_architecture": "x86_64",
"ansible_userspace_bits": "64",
"ansible_veth65543a6": {
"active": true,
"device": "veth65543a6",
"ipv6": [
{
"address": "fe80::5c3b:efff:fe92:7ab0",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "5e:3b:ef:92:7a:b0",
"mtu": 1450,
"promisc": true,
"type": "ether"
},
"ansible_veth905c15a": {
"active": true,
"device": "veth905c15a",
"ipv6": [
{
"address": "fe80::301e:9eff:fe52:c11d",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "32:1e:9e:52:c1:1d",
"mtu": 1450,
"promisc": true,
"type": "ether"
},
"ansible_virtualization_role": "host",
"ansible_virtualization_type": "kvm",
"module_setup": true
},
"changed": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment