Last active
February 3, 2017 05:01
-
-
Save rahulkrishnanfs/827b9b19121512700ce8fac0add17160 to your computer and use it in GitHub Desktop.
Parsing the Ansible Facts Gathered from the server using " -m setup "
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ansible Facts will be in Json object | |
| -------------------------------------------- | |
| 1) Step one | |
| $ansible <group name > -i hosts -m setup ----------------------------------------> to gather the facts | |
| #################################################################################### | |
| { | |
| "ansible_facts":{ + }, ---------------------> Expand to View all the facts | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ################################################################################### | |
| Expanded View of ansible_facts | |
| ----------------------------------------------------------------------------------- | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ... ], | |
| "ansible_all_ipv6_addresses":[ ... ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ ... }, | |
| "ansible_date_time":{ ... }, | |
| "ansible_default_ipv4":{ ... }, | |
| "ansible_default_ipv6":{ ... }, | |
| "ansible_devices":{ ... }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ ... }, | |
| "ansible_eth0":{ ... }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ... ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ ... }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ... ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ... ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ ... }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| Facts in Depth Analysis | |
| 1) ansible_all_ipv4_addresses | |
| -------------------------------------------------------- | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ | |
| "10.0.2.130" | |
| ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"KOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"Wa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ---------------------------------------------------------------------------------------------- | |
| 2) Expanded View of ansible_all_ipv6_addresses | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ --------------------------- | |
| "fe80::4ba:65ff:fe70:47c5" | |
| ], -------------------------------------------------------- | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ------------------------------------------------------------------------------------------------------- | |
| 3) Expanded View of "ansible_cmdline" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ -------------------------------------------- | |
| "BOOT_IMAGE":"/boot/vmlinuz-3.10.0-514.6.1.el7.x86_64", | |
| "LANG":"en_US.UTF-8", | |
| "console":"tty0", | |
| "crashkernel":"auto", | |
| "net.ifnames":"0", | |
| "ro":true, | |
| "root":"UUID=3ed41454-00c8-4803-bf61-2ee88aa54dbf" | |
| },---------------------------------------------------------------- | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ---------------------------------------------------------------------------------------------- | |
| 4) Expanded View of "ansible_date_time" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ ------------------------------------ | |
| "date":"2017-02-02", | |
| "day":"02", | |
| "epoch":"1486094803", | |
| "hour":"23", | |
| "iso8601":"2017-02-03T04:06:43Z", | |
| "iso8601_micro":"2017-02-03T04:06:43.635225Z", | |
| "minute":"06", | |
| "month":"02", | |
| "second":"43", | |
| "time":"23:06:43", | |
| "tz":"EST", | |
| "tz_offset":"-0500", | |
| "year":"2017" | |
| },--------------------------------------------------------- | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| 5) Expanded View of "ansible_default_ipv4" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ | |
| "address":"10.0.2.130", ------------------------ | |
| "alias":"eth0", | |
| "gateway":"10.0.2.1", | |
| "interface":"eth0", | |
| "macaddress":"06:ba:65:70:47:c5", | |
| "mtu":9001, | |
| "netmask":"255.255.255.0", | |
| "network":"10.0.2.0", | |
| "type":"ether" | |
| }, ------------------------------------------------ | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| 6) Expanded View of "ansible_devices" | |
| 6a) List disks | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ ---------------------------------------------- | |
| "xvda":{ } | |
| },----------------------------------------------------------------- | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| 6b) | |
| "ansible_devices":{ | |
| "xvda":{ | |
| "holders":[ ... ], | |
| "host":"", | |
| "model":null, | |
| "partitions":{ ... }, | |
| "removable":"0", | |
| "rotational":"0", | |
| "scheduler_mode":"deadline", | |
| "sectors":"20971520", | |
| "sectorsize":"512", | |
| "size":"10.00 GB", | |
| "support_discard":"0", | |
| "vendor":null | |
| } | |
| } | |
| 6c) | |
| "ansible_devices":{ | |
| "xvda":{ | |
| "holders":[ | |
| ], | |
| "host":"", | |
| "model":null, | |
| "partitions":{ }, | |
| "removable":"0", | |
| "rotational":"0", | |
| "scheduler_mode":"deadline", | |
| "sectors":"20971520", | |
| "sectorsize":"512", | |
| "size":"10.00 GB", | |
| "support_discard":"0", | |
| "vendor":null | |
| } | |
| } | |
| 6d) | |
| "ansible_devices":{ | |
| "xvda":{ | |
| "holders":[ | |
| ], | |
| "host":"", | |
| "model":null, | |
| "partitions":{ | |
| "xvda1":{ }, | |
| "xvda2":{ } | |
| }, | |
| "removable":"0", | |
| "rotational":"0", | |
| "scheduler_mode":"deadline", | |
| "sectors":"20971520", | |
| "sectorsize":"512", | |
| "size":"10.00 GB", | |
| "support_discard":"0", | |
| "vendor":null | |
| } | |
| } | |
| 6e) | |
| "ansible_devices":{ | |
| "xvda":{ | |
| "holders":[ | |
| ], | |
| "host":"", | |
| "model":null, | |
| "partitions":{ | |
| "xvda1":{ | |
| "sectors":"2048", | |
| "sectorsize":512, | |
| "size":"1.00 MB", | |
| "start":"2048" | |
| }, | |
| "xvda2":{ | |
| "sectors":"20967391", | |
| "sectorsize":512, | |
| "size":"10.00 GB", | |
| "start":"4096" | |
| } | |
| } | |
| -------------------------------------------------------------------------------------------------------- | |
| 7) Expanded View of "ansible_env" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ -------------------------------------------------------- | |
| "HOME":"/home/ec2-user", | |
| "LANG":"en_IN", | |
| "LESSOPEN":"||/usr/bin/lesspipe.sh %s", | |
| "LOGNAME":"ec2-user", | |
| "LS_COLORS":"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:", | |
| "MAIL":"/var/mail/ec2-user", | |
| "PATH":"/usr/local/bin:/usr/bin", | |
| "PWD":"/home/ec2-user", | |
| "SELINUX_LEVEL_REQUESTED":"", | |
| "SELINUX_ROLE_REQUESTED":"", | |
| "SELINUX_USE_CURRENT_RANGE":"", | |
| "SHELL":"/bin/bash", | |
| "SHLVL":"2", | |
| "SSH_CLIENT":"59.88.250.91 56906 22", | |
| "SSH_CONNECTION":"59.88.250.91 56906 10.0.2.130 22", | |
| "SSH_TTY":"/dev/pts/0", | |
| "TERM":"xterm", | |
| "USER":"ec2-user", | |
| "XDG_RUNTIME_DIR":"/run/user/1000", | |
| "XDG_SESSION_ID":"1", | |
| "_":"/usr/bin/python" | |
| }, ----------------------------------------------------------- | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ################################################### " ansible_selinux" ##################################################################### | |
| ----------------------------------------------------------------------------------------- | |
| 8) Expanded View of "ansible_selinux" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ --------------------------------------- | |
| "config_mode":"enforcing", | |
| "mode":"enforcing", | |
| "policyvers":28, | |
| "status":"enabled", | |
| "type":"targeted" | |
| },--------------------------------------------------------- | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ########################################### ansible_processor ################################################ | |
| 9) Expanded View of "ansible_processor" | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ --------------------------------------- | |
| "Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz" | |
| ],------------------------------------------------------------ | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ############################################# ansible_mounts ################################################## | |
| 10) Expanded View of ansible_mounts | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ }, | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ----------------------------------------- | |
| { | |
| "device":"/dev/xvda2", | |
| "fstype":"xfs", | |
| "mount":"/", | |
| "options":"rw,seclabel,relatime,attr2,inode64,noquota", | |
| "size_available":6930227200, | |
| "size_total":10724814848 | |
| } | |
| ],----------------------------------------------------------- | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ############################################ | |
| 11) Expanded View of " ansible_lo " | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "ansible_lo":{ ---------------------------------------- | |
| "active":true, | |
| "device":"lo", | |
| "ipv4":{ ... }, | |
| "ipv6":[ ... ], | |
| "mtu":65536, | |
| "promisc":false, | |
| "type":"loopback" | |
| },...................................................... | |
| "ansible_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } | |
| ############################################### ansible_eth0 ######################################################## | |
| 12) Expanded view of ansible_eth0 | |
| { | |
| "ansible_facts":{ | |
| "ansible_all_ipv4_addresses":[ ], | |
| "ansible_all_ipv6_addresses":[ ], | |
| "ansible_architecture":"x86_64", | |
| "ansible_bios_date":"11/11/2016", | |
| "ansible_bios_version":"4.2.amazon", | |
| "ansible_cmdline":{ }, | |
| "ansible_date_time":{ }, | |
| "ansible_default_ipv4":{ }, | |
| "ansible_default_ipv6":{ }, | |
| "ansible_devices":{ }, | |
| "ansible_distribution":"RedHat", | |
| "ansible_distribution_release":"Maipo", | |
| "ansible_distribution_version":"7.3", | |
| "ansible_domain":"us-west-2.compute.internal", | |
| "ansible_env":{ }, | |
| "ansible_eth0":{ | |
| "active":true, | |
| "device":"eth0", | |
| "ipv4":{ | |
| "address":"10.0.2.130", | |
| "netmask":"255.255.255.0", | |
| "network":"10.0.2.0" | |
| }, | |
| "ipv6":[ | |
| { | |
| "address":"fe80::4ba:65ff:fe70:47c5", | |
| "prefix":"64", | |
| "scope":"link" | |
| } | |
| ], | |
| "macaddress":"06:ba:65:70:47:c5", | |
| "module":"xen_netfront", | |
| "mtu":9001, | |
| "promisc":false, | |
| "type":"ether" | |
| }, | |
| "ansible_form_factor":"Other", | |
| "ansible_fqdn":"ip-10-0-2-130.us-west-2.compute.internal", | |
| "ansible_hostname":"ip-10-0-2-130", | |
| "ansible_interfaces":[ ], | |
| "ansible_kernel":"3.10.0-514.6.1.el7.x86_64", | |
| "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_machine":"x86_64", | |
| "ansible_memfree_mb":613, | |
| "ansible_memtotal_mb":991, | |
| "ansible_mounts":[ ], | |
| "ansible_os_family":"RedHat", | |
| "ansible_pkg_mgr":"yum", | |
| "ansible_processor":[ ], | |
| "ansible_processor_cores":1, | |
| "ansible_processor_count":1, | |
| "ansible_processor_threads_per_core":1, | |
| "ansible_processor_vcpus":1, | |
| "ansible_product_name":"HVM domU", | |
| "ansible_product_serial":"NA", | |
| "ansible_product_uuid":"NA", | |
| "ansible_product_version":"4.2.amazon", | |
| "ansible_python_version":"2.7.5", | |
| "ansible_selinux":{ }, | |
| "ansible_ssh_host_key_ecdsa_public":"AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJ3baGx0ufw8xsrffxJOo+YgxTYQLqxcMn8c7x97mTjuyAyfqaOwBs1Zuj+U3GX+0o8FXMBBKUKOCfyDrNlRxQU=", | |
| "ansible_ssh_host_key_rsa_public":"AAAAB3NzaC1yc2EAAAADAQABAAABAQC1WJW0jGBzW+PCNMtVk60K3p456KNn6G8GLIuvkybonttO1pDRhinqb3jwclks34vSaDtf6fro+wkApokxShp7PU2SMpVxk/aM3RjJRFnysWrJ5wv96ZIYY6+y+6tYSogff8L/ldgAESZsQt1AsSEv7/V1bTKnI72/Sh7A6bZA4+AZ22bUYh7atskubq3Uzxs5RS+qQqhpumYswQME04/NAu+bGxxPsO6iMNp/8NDeHh71wIausmfg333ANJE5hB4SCEziKnI2mwQt29bbDwpZzblRJF8OXEBxftHgxC802V/Acd+i0zxOastIKeonXswhMBbWa8VVeK2zWujyQldf", | |
| "ansible_swapfree_mb":0, | |
| "ansible_swaptotal_mb":0, | |
| "ansible_system":"Linux", | |
| "ansible_system_vendor":"Xen", | |
| "ansible_user_id":"ec2-user", | |
| "ansible_userspace_architecture":"x86_64", | |
| "ansible_userspace_bits":"64", | |
| "ansible_virtualization_role":"guest", | |
| "ansible_virtualization_type":"xen" | |
| }, | |
| "changed":false, | |
| "verbose_override":true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment