Skip to content

Instantly share code, notes, and snippets.

@den-is
Last active October 8, 2021 13:27
Show Gist options
  • Save den-is/c9f5264933c3d997865eaf6ed567f33c to your computer and use it in GitHub Desktop.
Save den-is/c9f5264933c3d997865eaf6ed567f33c to your computer and use it in GitHub Desktop.
ansible facts output from setup module
{
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"10.1.1.81"
],
"ansible_all_ipv6_addresses": [
"fe80::a00:27ff:fe75:a4bb"
],
"ansible_apparmor": {
"status": "enabled"
},
"ansible_architecture": "x86_64",
"ansible_bios_date": "12/01/2006",
"ansible_bios_vendor": "innotek GmbH",
"ansible_bios_version": "VirtualBox",
"ansible_board_asset_tag": "NA",
"ansible_board_name": "VirtualBox",
"ansible_board_serial": "NA",
"ansible_board_vendor": "Oracle Corporation",
"ansible_board_version": "1.2",
"ansible_chassis_asset_tag": "NA",
"ansible_chassis_serial": "NA",
"ansible_chassis_vendor": "Oracle Corporation",
"ansible_chassis_version": "NA",
"ansible_cmdline": {
"BOOT_IMAGE": "/vmlinuz-4.19.0-16-amd64",
"debian-installer": "en_US.UTF-8",
"quiet": true,
"ro": true,
"root": "/dev/mapper/debian-root"
},
"ansible_date_time": {
"date": "2021-05-20",
"day": "20",
"epoch": "1621502352",
"hour": "13",
"iso8601": "2021-05-20T09:19:12Z",
"iso8601_basic": "20210520T131912796745",
"iso8601_basic_short": "20210520T131912",
"iso8601_micro": "2021-05-20T09:19:12.796745Z",
"minute": "19",
"month": "05",
"second": "12",
"time": "13:19:12",
"tz": "+04",
"tz_offset": "+0400",
"weekday": "Thursday",
"weekday_number": "4",
"weeknumber": "20",
"year": "2021"
},
"ansible_default_ipv4": {
"address": "10.1.1.81",
"alias": "enp0s3",
"broadcast": "10.1.1.255",
"gateway": "10.1.1.1",
"interface": "enp0s3",
"macaddress": "08:00:27:75:a4:bb",
"mtu": 1500,
"netmask": "255.255.255.0",
"network": "10.1.1.0",
"type": "ether"
},
"ansible_default_ipv6": {},
"ansible_device_links": {
"ids": {
"dm-0": [
"dm-name-debian-root",
"dm-uuid-LVM-KApZHKIETnQ2H1UebmkkQWInPKZ2St1v4DNRSTjEihT0dQbI3WfYvjn8GRQ8MPiM"
],
"sda": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c"
],
"sda1": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part1"
],
"sda2": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part2"
],
"sda5": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part5",
"lvm-pv-uuid-4duQLr-p7ZV-nMuP-iULC-lBpP-uhf3-iCmvx2"
]
},
"labels": {},
"masters": {
"sda5": [
"dm-0"
]
},
"uuids": {
"dm-0": [
"71b0b447-34e8-46be-8139-c81a507cab38"
],
"sda1": [
"aa46f05e-1873-422d-87ec-9ba2af76079e"
]
}
},
"ansible_devices": {
"dm-0": {
"holders": [],
"host": "",
"links": {
"ids": [
"dm-name-debian-root",
"dm-uuid-LVM-KApZHKIETnQ2H1UebmkkQWInPKZ2St1v4DNRSTjEihT0dQbI3WfYvjn8GRQ8MPiM"
],
"labels": [],
"masters": [],
"uuids": [
"71b0b447-34e8-46be-8139-c81a507cab38"
]
},
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"sas_address": null,
"sas_device_handle": null,
"scheduler_mode": "",
"sectors": "41435136",
"sectorsize": "512",
"size": "19.76 GB",
"support_discard": "0",
"vendor": null,
"virtual": 1
},
"sda": {
"holders": [],
"host": "SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)",
"links": {
"ids": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c"
],
"labels": [],
"masters": [],
"uuids": []
},
"model": "VBOX HARDDISK",
"partitions": {
"sda1": {
"holders": [],
"links": {
"ids": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part1"
],
"labels": [],
"masters": [],
"uuids": [
"aa46f05e-1873-422d-87ec-9ba2af76079e"
]
},
"sectors": "497664",
"sectorsize": 512,
"size": "243.00 MB",
"start": "2048",
"uuid": "aa46f05e-1873-422d-87ec-9ba2af76079e"
},
"sda2": {
"holders": [],
"links": {
"ids": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part2"
],
"labels": [],
"masters": [],
"uuids": []
},
"sectors": "2",
"sectorsize": 512,
"size": "1.00 KB",
"start": "501758",
"uuid": null
},
"sda5": {
"holders": [
"debian-root"
],
"links": {
"ids": [
"ata-VBOX_HARDDISK_VB5bd8a6bf-3aa2a20c-part5",
"lvm-pv-uuid-4duQLr-p7ZV-nMuP-iULC-lBpP-uhf3-iCmvx2"
],
"labels": [],
"masters": [
"dm-0"
],
"uuids": []
},
"sectors": "41439232",
"sectorsize": 512,
"size": "19.76 GB",
"start": "501760",
"uuid": null
}
},
"removable": "0",
"rotational": "1",
"sas_address": null,
"sas_device_handle": null,
"scheduler_mode": "mq-deadline",
"sectors": "41943040",
"sectorsize": "512",
"size": "20.00 GB",
"support_discard": "0",
"vendor": "ATA",
"virtual": 1
}
},
"ansible_distribution": "Debian",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/os-release",
"ansible_distribution_file_variety": "Debian",
"ansible_distribution_major_version": "10",
"ansible_distribution_release": "buster",
"ansible_distribution_version": "10",
"ansible_dns": {
"nameservers": [
"8.8.8.8",
"8.8.4.4"
]
},
"ansible_domain": "dev",
"ansible_effective_group_id": 1000,
"ansible_effective_user_id": 1000,
"ansible_enp0s3": {
"active": true,
"device": "enp0s3",
"ipv4": {
"address": "10.1.1.81",
"broadcast": "10.1.1.255",
"netmask": "255.255.255.0",
"network": "10.1.1.0"
},
"ipv6": [{
"address": "fe80::a00:27ff:fe75:a4bb",
"prefix": "64",
"scope": "link"
}],
"macaddress": "08:00:27:75:a4:bb",
"module": "e1000",
"mtu": 1500,
"pciid": "0000:00:03.0",
"promisc": false,
"speed": 1000,
"type": "ether"
},
"ansible_env": {
"HOME": "/home/administrator",
"LANG": "C",
"LC_ALL": "C",
"LC_NUMERIC": "C",
"LC_TERMINAL": "iTerm2",
"LC_TERMINAL_VERSION": "3.4.6",
"LOGNAME": "administrator",
"MAIL": "/var/mail/administrator",
"PATH": "/usr/local/bin:/usr/bin:/bin:/usr/games",
"PWD": "/home/administrator",
"SHELL": "/bin/bash",
"SHLVL": "0",
"SSH_CLIENT": "10.1.1.200 56829 22",
"SSH_CONNECTION": "10.1.1.200 56829 10.1.1.81 22",
"SSH_TTY": "/dev/pts/1",
"TERM": "screen-256color",
"USER": "administrator",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_CLASS": "user",
"XDG_SESSION_ID": "4",
"XDG_SESSION_TYPE": "tty",
"_": "/bin/sh"
},
"ansible_fibre_channel_wwn": [],
"ansible_fips": false,
"ansible_form_factor": "Other",
"ansible_fqdn": "testvm1.dev",
"ansible_hostname": "testvm1",
"ansible_hostnqn": "",
"ansible_interfaces": [
"lo",
"enp0s3"
],
"ansible_is_chroot": false,
"ansible_iscsi_iqn": "",
"ansible_kernel": "4.19.0-16-amd64",
"ansible_kernel_version": "#1 SMP Debian 4.19.181-1 (2021-03-19)",
"ansible_lo": {
"active": true,
"device": "lo",
"ipv4": {
"address": "127.0.0.1",
"broadcast": "",
"netmask": "255.0.0.0",
"network": "127.0.0.0"
},
"ipv6": [{
"address": "::1",
"prefix": "128",
"scope": "host"
}],
"mtu": 65536,
"promisc": false,
"type": "loopback"
},
"ansible_local": {},
"ansible_lsb": {
"codename": "buster",
"description": "Debian GNU/Linux 10 (buster)",
"id": "Debian",
"major_release": "10",
"release": "10"
},
"ansible_machine": "x86_64",
"ansible_machine_id": "0967f3fc08d34e4789a06b8306e4078c",
"ansible_memfree_mb": 7332,
"ansible_memory_mb": {
"nocache": {
"free": 7551,
"used": 427
},
"real": {
"free": 7332,
"total": 7978,
"used": 646
},
"swap": {
"cached": 0,
"free": 0,
"total": 0,
"used": 0
}
},
"ansible_memtotal_mb": 7978,
"ansible_mounts": [{
"block_available": 171080,
"block_size": 1024,
"block_total": 236868,
"block_used": 65788,
"device": "/dev/sda1",
"fstype": "ext4",
"inode_available": 61909,
"inode_total": 62248,
"inode_used": 339,
"mount": "/boot",
"options": "rw,relatime",
"size_available": 175185920,
"size_total": 242552832,
"uuid": "aa46f05e-1873-422d-87ec-9ba2af76079e"
},
{
"block_available": 2769728,
"block_size": 4096,
"block_total": 5176832,
"block_used": 2407104,
"device": "/dev/mapper/debian-root",
"fstype": "xfs",
"inode_available": 10280366,
"inode_total": 10358784,
"inode_used": 78418,
"mount": "/",
"options": "rw,relatime,attr2,inode64,noquota",
"size_available": 11344805888,
"size_total": 21204303872,
"uuid": "71b0b447-34e8-46be-8139-c81a507cab38"
}
],
"ansible_nodename": "testvm1.dev",
"ansible_os_family": "Debian",
"ansible_pkg_mgr": "apt",
"ansible_proc_cmdline": {
"BOOT_IMAGE": "/vmlinuz-4.19.0-16-amd64",
"debian-installer": "en_US.UTF-8",
"quiet": true,
"ro": true,
"root": "/dev/mapper/debian-root"
},
"ansible_processor": [
"0",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz",
"1",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz",
"2",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz",
"3",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz"
],
"ansible_processor_cores": 4,
"ansible_processor_count": 1,
"ansible_processor_nproc": 4,
"ansible_processor_threads_per_core": 1,
"ansible_processor_vcpus": 4,
"ansible_product_name": "VirtualBox",
"ansible_product_serial": "NA",
"ansible_product_uuid": "NA",
"ansible_product_version": "1.2",
"ansible_python": {
"executable": "/usr/bin/python",
"has_sslcontext": true,
"type": "CPython",
"version": {
"major": 2,
"micro": 16,
"minor": 7,
"releaselevel": "final",
"serial": 0
},
"version_info": [
2,
7,
16,
"final",
0
]
},
"ansible_python_version": "2.7.16",
"ansible_real_group_id": 1000,
"ansible_real_user_id": 1000,
"ansible_selinux": {
"status": "Missing selinux Python library"
},
"ansible_selinux_python_present": false,
"ansible_service_mgr": "systemd",
"ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJGYVWRdxVERQo30WxSOMqwwTHjwnNWwgi8hrprOzayLVnHrDSSmXhh4gTMsYXcTb/EUwHWeOHweEWzqV5P3vqY=",
"ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256",
"ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIOXfi22xVarK5uAprgG2ugRyvMehk+OegEpVYD2YD1on",
"ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519",
"ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCt5X2M7vpVoKyjTFYVD9BZI7PKhapoWfOh2NszHvW4UtOqxydsK5M/f8te6SyQCbx15wLwLBAajvdscOXqtS/1SO2YzznrcLEo/dv+Cx0ovfVeO0XBn+aTts7ugbF2S0s9U9Q/SpZgTzguHLrLFVZ5jJl5HeVp2SHhFvYYJUOdacNmhKrJ+Bld7UiILtDzhIgCFPqdAyGInwtlhKH8giAwbcXoHUHKlljKW1KY8jF4K0CL4kOZGKLlfsBbBjosmwxF+a65pJ5+45BMYpmvZSurlcT7MG08xD18WSeU/Qnif1crDceoAHfHl0058jLBgLnsBT/ZCgWSnF+XQe/bS0xp",
"ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa",
"ansible_swapfree_mb": 0,
"ansible_swaptotal_mb": 0,
"ansible_system": "Linux",
"ansible_system_capabilities": [
""
],
"ansible_system_capabilities_enforced": "True",
"ansible_system_vendor": "innotek GmbH",
"ansible_uptime_seconds": 1489,
"ansible_user_dir": "/home/administrator",
"ansible_user_gecos": "administrator,,,",
"ansible_user_gid": 1000,
"ansible_user_id": "administrator",
"ansible_user_shell": "/bin/bash",
"ansible_user_uid": 1000,
"ansible_userspace_architecture": "x86_64",
"ansible_userspace_bits": "64",
"ansible_virtualization_role": "guest",
"ansible_virtualization_type": "virtualbox",
"gather_subset": [
"all"
],
"module_setup": true
},
"changed": false
}
{
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"10.1.1.183"
],
"ansible_all_ipv6_addresses": [
"fe80::a00:27ff:fecf:70b9"
],
"ansible_apparmor": {
"status": "disabled"
},
"ansible_architecture": "x86_64",
"ansible_bios_date": "12/01/2006",
"ansible_bios_vendor": "innotek GmbH",
"ansible_bios_version": "VirtualBox",
"ansible_board_asset_tag": "NA",
"ansible_board_name": "VirtualBox",
"ansible_board_serial": "0",
"ansible_board_vendor": "Oracle Corporation",
"ansible_board_version": "1.2",
"ansible_chassis_asset_tag": "NA",
"ansible_chassis_serial": "NA",
"ansible_chassis_vendor": "Oracle Corporation",
"ansible_chassis_version": "NA",
"ansible_cmdline": {
"BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-305.19.1.el8_4.x86_64",
"crashkernel": "auto",
"rd.lvm.lv": "rocky_vg/root",
"ro": true,
"root": "/dev/mapper/rocky_vg-root"
},
"ansible_date_time": {
"date": "2021-10-08",
"day": "08",
"epoch": "1633699505",
"hour": "13",
"iso8601": "2021-10-08T13:25:05Z",
"iso8601_basic": "20211008T132505498767",
"iso8601_basic_short": "20211008T132505",
"iso8601_micro": "2021-10-08T13:25:05.498767Z",
"minute": "25",
"month": "10",
"second": "05",
"time": "13:25:05",
"tz": "UTC",
"tz_dst": "UTC",
"tz_offset": "+0000",
"weekday": "Friday",
"weekday_number": "5",
"weeknumber": "40",
"year": "2021"
},
"ansible_default_ipv4": {
"address": "10.1.1.183",
"alias": "enp0s3",
"broadcast": "10.1.1.255",
"gateway": "10.1.1.1",
"interface": "enp0s3",
"macaddress": "08:00:27:cf:70:b9",
"mtu": 1500,
"netmask": "255.255.255.0",
"network": "10.1.1.0",
"type": "ether"
},
"ansible_default_ipv6": {},
"ansible_device_links": {
"ids": {
"dm-0": [
"dm-name-rocky_vg-root",
"dm-uuid-LVM-opjJGquwt52P9SgjU5soLZpAUQi3rilWJU0bIoyc3anQcaU6A7e3qT7HQZj00UYr"
],
"sda": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4"
],
"sda1": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1"
],
"sda2": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"lvm-pv-uuid-wEvefC-J2bt-y4n3-BaRo-mvFQ-sV8V-75nuIC",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2"
]
},
"labels": {},
"masters": {
"sda2": [
"dm-0"
]
},
"uuids": {
"dm-0": [
"dff1274e-ba21-458e-b436-c42240fbf547"
],
"sda1": [
"664d6660-a803-45b7-8bd4-9bda1eb220c3"
]
}
},
"ansible_devices": {
"dm-0": {
"holders": [],
"host": "",
"links": {
"ids": [
"dm-name-rocky_vg-root",
"dm-uuid-LVM-opjJGquwt52P9SgjU5soLZpAUQi3rilWJU0bIoyc3anQcaU6A7e3qT7HQZj00UYr"
],
"labels": [],
"masters": [],
"uuids": [
"dff1274e-ba21-458e-b436-c42240fbf547"
]
},
"model": null,
"partitions": {},
"removable": "0",
"rotational": "1",
"sas_address": null,
"sas_device_handle": null,
"scheduler_mode": "",
"sectors": "39837696",
"sectorsize": "512",
"serial": "VBd220ffb4",
"size": "19.00 GB",
"support_discard": "0",
"vendor": null,
"virtual": 1
},
"sda": {
"holders": [],
"host": "SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 02)",
"links": {
"ids": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4"
],
"labels": [],
"masters": [],
"uuids": []
},
"model": "VBOX HARDDISK",
"partitions": {
"sda1": {
"holders": [],
"links": {
"ids": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part1"
],
"labels": [],
"masters": [],
"uuids": [
"664d6660-a803-45b7-8bd4-9bda1eb220c3"
]
},
"sectors": "2097152",
"sectorsize": 512,
"size": "1.00 GB",
"start": "2048",
"uuid": "664d6660-a803-45b7-8bd4-9bda1eb220c3"
},
"sda2": {
"holders": [
"rocky_vg-root"
],
"links": {
"ids": [
"ata-VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"lvm-pv-uuid-wEvefC-J2bt-y4n3-BaRo-mvFQ-sV8V-75nuIC",
"scsi-0ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"scsi-1ATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2",
"scsi-SATA_VBOX_HARDDISK_VBd220ffb4-1fe393b4-part2"
],
"labels": [],
"masters": [
"dm-0"
],
"uuids": []
},
"sectors": "39843840",
"sectorsize": 512,
"size": "19.00 GB",
"start": "2099200",
"uuid": null
}
},
"removable": "0",
"rotational": "1",
"sas_address": null,
"sas_device_handle": null,
"scheduler_mode": "mq-deadline",
"sectors": "41943040",
"sectorsize": "512",
"serial": "VBd220ffb4",
"size": "20.00 GB",
"support_discard": "0",
"vendor": "ATA",
"virtual": 1
}
},
"ansible_distribution": "Rocky",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/redhat-release",
"ansible_distribution_file_variety": "RedHat",
"ansible_distribution_major_version": "8",
"ansible_distribution_release": "Green Obsidian",
"ansible_distribution_version": "8.4",
"ansible_dns": {
"nameservers": [
"8.8.8.8",
"8.8.4.4"
],
"search": [
"dev"
]
},
"ansible_domain": "dev",
"ansible_effective_group_id": 0,
"ansible_effective_user_id": 0,
"ansible_enp0s3": {
"active": true,
"device": "enp0s3",
"features": {
"esp_hw_offload": "off [fixed]",
"esp_tx_csum_hw_offload": "off [fixed]",
"fcoe_mtu": "off [fixed]",
"generic_receive_offload": "on",
"generic_segmentation_offload": "on",
"highdma": "off [fixed]",
"hw_tc_offload": "off [fixed]",
"l2_fwd_offload": "off [fixed]",
"large_receive_offload": "off [fixed]",
"loopback": "off [fixed]",
"netns_local": "off [fixed]",
"ntuple_filters": "off [fixed]",
"receive_hashing": "off [fixed]",
"rx_all": "off",
"rx_checksumming": "off",
"rx_fcs": "off",
"rx_gro_hw": "off [fixed]",
"rx_gro_list": "off",
"rx_udp_tunnel_port_offload": "off [fixed]",
"rx_vlan_filter": "on [fixed]",
"rx_vlan_offload": "on",
"rx_vlan_stag_filter": "off [fixed]",
"rx_vlan_stag_hw_parse": "off [fixed]",
"scatter_gather": "on",
"tcp_segmentation_offload": "on",
"tls_hw_record": "off [fixed]",
"tls_hw_rx_offload": "off [fixed]",
"tls_hw_tx_offload": "off [fixed]",
"tx_checksum_fcoe_crc": "off [fixed]",
"tx_checksum_ip_generic": "on",
"tx_checksum_ipv4": "off [fixed]",
"tx_checksum_ipv6": "off [fixed]",
"tx_checksum_sctp": "off [fixed]",
"tx_checksumming": "on",
"tx_esp_segmentation": "off [fixed]",
"tx_fcoe_segmentation": "off [fixed]",
"tx_gre_csum_segmentation": "off [fixed]",
"tx_gre_segmentation": "off [fixed]",
"tx_gso_list": "off [fixed]",
"tx_gso_partial": "off [fixed]",
"tx_gso_robust": "off [fixed]",
"tx_ipxip4_segmentation": "off [fixed]",
"tx_ipxip6_segmentation": "off [fixed]",
"tx_lockless": "off [fixed]",
"tx_nocache_copy": "off",
"tx_scatter_gather": "on",
"tx_scatter_gather_fraglist": "off [fixed]",
"tx_sctp_segmentation": "off [fixed]",
"tx_tcp6_segmentation": "off [fixed]",
"tx_tcp_ecn_segmentation": "off [fixed]",
"tx_tcp_mangleid_segmentation": "off",
"tx_tcp_segmentation": "on",
"tx_tunnel_remcsum_segmentation": "off [fixed]",
"tx_udp_segmentation": "off [fixed]",
"tx_udp_tnl_csum_segmentation": "off [fixed]",
"tx_udp_tnl_segmentation": "off [fixed]",
"tx_vlan_offload": "on [fixed]",
"tx_vlan_stag_hw_insert": "off [fixed]",
"vlan_challenged": "off [fixed]"
},
"hw_timestamp_filters": [],
"ipv4": {
"address": "10.1.1.183",
"broadcast": "10.1.1.255",
"netmask": "255.255.255.0",
"network": "10.1.1.0"
},
"ipv6": [
{
"address": "fe80::a00:27ff:fecf:70b9",
"prefix": "64",
"scope": "link"
}
],
"macaddress": "08:00:27:cf:70:b9",
"module": "e1000",
"mtu": 1500,
"pciid": "0000:00:03.0",
"promisc": false,
"speed": 1000,
"timestamping": [],
"type": "ether"
},
"ansible_env": {
"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus",
"HOME": "/root",
"LANG": "en_US.UTF-8",
"LESSOPEN": "||/usr/bin/lesspipe.sh %s",
"LOGNAME": "root",
"LS_COLORS": "rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:",
"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin",
"PWD": "/root",
"SHELL": "/bin/bash",
"SHLVL": "2",
"SSH_CLIENT": "10.1.1.200 60053 22",
"SSH_CONNECTION": "10.1.1.200 60053 10.1.1.183 22",
"SSH_TTY": "/dev/pts/0",
"TERM": "screen-256color",
"USER": "root",
"XDG_RUNTIME_DIR": "/run/user/0",
"XDG_SESSION_ID": "3",
"_": "/usr/libexec/platform-python"
},
"ansible_fibre_channel_wwn": [],
"ansible_fips": false,
"ansible_form_factor": "Other",
"ansible_fqdn": "unconfigured.dev",
"ansible_hostname": "unconfigured",
"ansible_hostnqn": "",
"ansible_interfaces": [
"enp0s3",
"lo"
],
"ansible_is_chroot": false,
"ansible_iscsi_iqn": "",
"ansible_kernel": "4.18.0-305.19.1.el8_4.x86_64",
"ansible_kernel_version": "#1 SMP Wed Sep 15 19:12:32 UTC 2021",
"ansible_lo": {
"active": true,
"device": "lo",
"features": {
"esp_hw_offload": "off [fixed]",
"esp_tx_csum_hw_offload": "off [fixed]",
"fcoe_mtu": "off [fixed]",
"generic_receive_offload": "on",
"generic_segmentation_offload": "on",
"highdma": "on [fixed]",
"hw_tc_offload": "off [fixed]",
"l2_fwd_offload": "off [fixed]",
"large_receive_offload": "off [fixed]",
"loopback": "on [fixed]",
"netns_local": "on [fixed]",
"ntuple_filters": "off [fixed]",
"receive_hashing": "off [fixed]",
"rx_all": "off [fixed]",
"rx_checksumming": "on [fixed]",
"rx_fcs": "off [fixed]",
"rx_gro_hw": "off [fixed]",
"rx_gro_list": "off",
"rx_udp_tunnel_port_offload": "off [fixed]",
"rx_vlan_filter": "off [fixed]",
"rx_vlan_offload": "off [fixed]",
"rx_vlan_stag_filter": "off [fixed]",
"rx_vlan_stag_hw_parse": "off [fixed]",
"scatter_gather": "on",
"tcp_segmentation_offload": "on",
"tls_hw_record": "off [fixed]",
"tls_hw_rx_offload": "off [fixed]",
"tls_hw_tx_offload": "off [fixed]",
"tx_checksum_fcoe_crc": "off [fixed]",
"tx_checksum_ip_generic": "on [fixed]",
"tx_checksum_ipv4": "off [fixed]",
"tx_checksum_ipv6": "off [fixed]",
"tx_checksum_sctp": "on [fixed]",
"tx_checksumming": "on",
"tx_esp_segmentation": "off [fixed]",
"tx_fcoe_segmentation": "off [fixed]",
"tx_gre_csum_segmentation": "off [fixed]",
"tx_gre_segmentation": "off [fixed]",
"tx_gso_list": "off [fixed]",
"tx_gso_partial": "off [fixed]",
"tx_gso_robust": "off [fixed]",
"tx_ipxip4_segmentation": "off [fixed]",
"tx_ipxip6_segmentation": "off [fixed]",
"tx_lockless": "on [fixed]",
"tx_nocache_copy": "off [fixed]",
"tx_scatter_gather": "on [fixed]",
"tx_scatter_gather_fraglist": "on [fixed]",
"tx_sctp_segmentation": "on",
"tx_tcp6_segmentation": "on",
"tx_tcp_ecn_segmentation": "on",
"tx_tcp_mangleid_segmentation": "on",
"tx_tcp_segmentation": "on",
"tx_tunnel_remcsum_segmentation": "off [fixed]",
"tx_udp_segmentation": "off [fixed]",
"tx_udp_tnl_csum_segmentation": "off [fixed]",
"tx_udp_tnl_segmentation": "off [fixed]",
"tx_vlan_offload": "off [fixed]",
"tx_vlan_stag_hw_insert": "off [fixed]",
"vlan_challenged": "on [fixed]"
},
"hw_timestamp_filters": [],
"ipv4": {
"address": "127.0.0.1",
"broadcast": "",
"netmask": "255.0.0.0",
"network": "127.0.0.0"
},
"ipv6": [
{
"address": "::1",
"prefix": "128",
"scope": "host"
}
],
"mtu": 65536,
"promisc": false,
"timestamping": [],
"type": "loopback"
},
"ansible_local": {},
"ansible_lsb": {
"codename": "GreenObsidian",
"description": "Rocky Linux release 8.4 (Green Obsidian)",
"id": "Rocky",
"major_release": "8",
"release": "8.4"
},
"ansible_lvm": {
"lvs": {
"root": {
"size_g": "19.00",
"vg": "rocky_vg"
}
},
"pvs": {
"/dev/sda2": {
"free_g": "0",
"size_g": "19.00",
"vg": "rocky_vg"
}
},
"vgs": {
"rocky_vg": {
"free_g": "0",
"num_lvs": "1",
"num_pvs": "1",
"size_g": "19.00"
}
}
},
"ansible_machine": "x86_64",
"ansible_machine_id": "67ab97bb83d44f28b110808d98bd959e",
"ansible_memfree_mb": 1475,
"ansible_memory_mb": {
"nocache": {
"free": 1661,
"used": 156
},
"real": {
"free": 1475,
"total": 1817,
"used": 342
},
"swap": {
"cached": 0,
"free": 0,
"total": 0,
"used": 0
}
},
"ansible_memtotal_mb": 1817,
"ansible_mounts": [
{
"block_available": 4537213,
"block_size": 4096,
"block_total": 4977152,
"block_used": 439939,
"device": "/dev/mapper/rocky_vg-root",
"fstype": "xfs",
"inode_available": 9918164,
"inode_total": 9959424,
"inode_used": 41260,
"mount": "/",
"options": "rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota",
"size_available": 18584424448,
"size_total": 20386414592,
"uuid": "dff1274e-ba21-458e-b436-c42240fbf547"
},
{
"block_available": 199522,
"block_size": 4096,
"block_total": 259584,
"block_used": 60062,
"device": "/dev/sda1",
"fstype": "xfs",
"inode_available": 523972,
"inode_total": 524288,
"inode_used": 316,
"mount": "/boot",
"options": "rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota",
"size_available": 817242112,
"size_total": 1063256064,
"uuid": "664d6660-a803-45b7-8bd4-9bda1eb220c3"
}
],
"ansible_nodename": "unconfigured.dev",
"ansible_os_family": "RedHat",
"ansible_pkg_mgr": "dnf",
"ansible_proc_cmdline": {
"BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-305.19.1.el8_4.x86_64",
"crashkernel": "auto",
"rd.lvm.lv": "rocky_vg/root",
"ro": true,
"root": "/dev/mapper/rocky_vg-root"
},
"ansible_processor": [
"0",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz",
"1",
"GenuineIntel",
"Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz"
],
"ansible_processor_cores": 2,
"ansible_processor_count": 1,
"ansible_processor_nproc": 2,
"ansible_processor_threads_per_core": 1,
"ansible_processor_vcpus": 2,
"ansible_product_name": "VirtualBox",
"ansible_product_serial": "0",
"ansible_product_uuid": "b5e60699-9f06-0648-b7b9-6ac6cd3a8fab",
"ansible_product_version": "1.2",
"ansible_python": {
"executable": "/usr/libexec/platform-python",
"has_sslcontext": true,
"type": "cpython",
"version": {
"major": 3,
"micro": 8,
"minor": 6,
"releaselevel": "final",
"serial": 0
},
"version_info": [
3,
6,
8,
"final",
0
]
},
"ansible_python_version": "3.6.8",
"ansible_real_group_id": 0,
"ansible_real_user_id": 0,
"ansible_selinux": {
"status": "disabled"
},
"ansible_selinux_python_present": true,
"ansible_service_mgr": "systemd",
"ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBO3J7Yd5aMoPAa9ul8CcO2yRKYgs1izT9MZLxDuv1AWLpev75c02bU2BOjzwq6YVFbJ/hjLE4Kk9pkrOGTrXd9U=",
"ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256",
"ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIJXGKp+pC333/HA0FWAr0HxCQZbnVcXJY+IhDhJhHNS6",
"ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519",
"ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDIyeQIu9uvQ9JsiVXPLuroAdBFG5jb9dnXaDJmj997fo5x06KRF9wOGBnUJtC/GYJ+EDjADoH37yfmEk4hX8UODVGQ1+6GQkwtvVmoXUuZqutDfg+3gZh7xRzuGkriH7uBvyVFujUgJIiH2F8yBroPqfzsdyLzEKic/5tB/otG5jzsDXlh0U23FXukOa7ymsiCYrInOMyakJa0KsEHoO6ptdXfLyEuirC3hkbxcjwer5FXOz+KVz6naH/5f4KZSUioaEyYXxFa2owQ+ycZtM1hnc6jlBJyWru05ra5bi4vo00QFs6l5yr0fhEmOsRb2IqhCvvQvThgzB/Zsw8wMbtO6tNkm4ADyrAavvI0lJo599s/kGd2HmUauQpFJX62gYNMqEKbwx/j9Cv/2nK3pmJ34Lq6sXMVirpAez+oNgI+2Wf92FHFIRoU3hqjSnSqkogsgQtpBNPdUYXfQBcKogH5zGRrOS+ltMnNIcROPe2pE/bkivftNR3DT1nL5pvN98E=",
"ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa",
"ansible_swapfree_mb": 0,
"ansible_swaptotal_mb": 0,
"ansible_system": "Linux",
"ansible_system_capabilities": [
"cap_chown",
"cap_dac_override",
"cap_dac_read_search",
"cap_fowner",
"cap_fsetid",
"cap_kill",
"cap_setgid",
"cap_setuid",
"cap_setpcap",
"cap_linux_immutable",
"cap_net_bind_service",
"cap_net_broadcast",
"cap_net_admin",
"cap_net_raw",
"cap_ipc_lock",
"cap_ipc_owner",
"cap_sys_module",
"cap_sys_rawio",
"cap_sys_chroot",
"cap_sys_ptrace",
"cap_sys_pacct",
"cap_sys_admin",
"cap_sys_boot",
"cap_sys_nice",
"cap_sys_resource",
"cap_sys_time",
"cap_sys_tty_config",
"cap_mknod",
"cap_lease",
"cap_audit_write",
"cap_audit_control",
"cap_setfcap",
"cap_mac_override",
"cap_mac_admin",
"cap_syslog",
"cap_wake_alarm",
"cap_block_suspend",
"cap_audit_read",
"38",
"39+ep"
],
"ansible_system_capabilities_enforced": "True",
"ansible_system_vendor": "innotek GmbH",
"ansible_uptime_seconds": 198,
"ansible_user_dir": "/root",
"ansible_user_gecos": "root",
"ansible_user_gid": 0,
"ansible_user_id": "root",
"ansible_user_shell": "/bin/bash",
"ansible_user_uid": 0,
"ansible_userspace_architecture": "x86_64",
"ansible_userspace_bits": "64",
"ansible_virtualization_role": "guest",
"ansible_virtualization_tech_guest": [
"virtualbox"
],
"ansible_virtualization_tech_host": [],
"ansible_virtualization_type": "virtualbox",
"discovered_interpreter_python": "/usr/libexec/platform-python",
"gather_subset": [
"all"
],
"module_setup": true
},
"changed": false
}
@den-is
Copy link
Author

den-is commented Oct 8, 2021

Ansible setup module example outputs for Debian, Centos, Rocky Linux 8.4 and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment