Bo's Oracle Station

查看: 1153|回复: 0

ansible事实变量(现场在受管理机器上实时探测的):

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2020-11-28 21:10:19 | 显示全部楼层 |阅读模式
  1. ansible   servera  -m setup
复制代码
servera | SUCCESS => {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
            "172.25.250.10",
            "192.168.122.1"
        ],
        "ansible_all_ipv6_addresses": [
            "2001:db8:0:1::1",
            "fe80::aeb2:b6c7:2a14:b916"
        ],
        "ansible_apparmor": {
            "status": "disabled"
        },
        "ansible_architecture": "x86_64",
        "ansible_bios_date": "04/01/2014",
        "ansible_bios_version": "1.11.1-3.module+el8+2529+a9686a4d",
        "ansible_cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64",
            "crashkernel": "auto",
            "quiet": true,
            "rd.lvm.lv": "rhel/root",
            "resume": "UUID=2579d3ea-08b0-4bed-8058-db52761301d7",
            "rhgb": true,
            "ro": true,
            "root": "/dev/mapper/rhel-root"
        },
        "ansible_date_time": {
            "date": "2020-11-28",
            "day": "28",
            "epoch": "1606568699",
            "hour": "21",
            "iso8601": "2020-11-28T13:04:59Z",
            "iso8601_basic": "20201128T210459788532",
            "iso8601_basic_short": "20201128T210459",
            "iso8601_micro": "2020-11-28T13:04:59.788711Z",
            "minute": "04",
            "month": "11",
            "second": "59",
            "time": "21:04:59",
            "tz": "CST",
            "tz_offset": "+0800",
            "weekday": "Saturday",
            "weekday_number": "6",
            "weeknumber": "47",
            "year": "2020"
        },
        "ansible_default_ipv4": {
            "address": "172.25.250.10",
            "alias": "enp1s0",
            "broadcast": "172.25.250.255",
            "gateway": "172.25.250.254",
            "interface": "enp1s0",
            "macaddress": "52:54:00:fb:e6:e2",
            "mtu": 1500,
            "netmask": "255.255.255.0",
            "network": "172.25.250.0",
            "type": "ether"
        },
        "ansible_default_ipv6": {},
        "ansible_device_links": {
            "ids": {
                "dm-0": [
                    "dm-name-rhel-root",
                    "dm-uuid-LVM-CrIu7OIphYFDwbuARHD5ioTyWOhUapQH90eOnh6DVaOfzIY0PccafOrYkj67XpRg"
                ],
                "dm-1": [
                    "dm-name-research-data",
                    "dm-uuid-LVM-yQkRifwJpBDfYbOoT7wIZ5m074yE7vtknm3NC6nFhsRWajvf4tTg9to7OXTjFUiM"
                ],
                "vda2": [
                    "lvm-pv-uuid-ywHgZf-D8WY-LpPz-eJpp-Pxkl-vgg1-cjcylq"
                ],
                "vdb": [
                    "lvm-pv-uuid-v3B2v1-e39p-oSPW-KSpZ-Lzra-QVwG-dlTk9o"
                ]
            },
            "labels": {},
            "masters": {
                "vda2": [
                    "dm-0"
                ],
                "vdb": [
                    "dm-1"
                ]
            },
            "uuids": {
                "dm-0": [
                    "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
                ],
                "dm-1": [
                    "129dc9d7-55bc-499e-b196-9d1f4b8b05d7"
                ],
                "vda1": [
                    "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                ],
                "vda3": [
                    "2579d3ea-08b0-4bed-8058-db52761301d7"
                ]
            }
        },
        "ansible_devices": {
            "dm-0": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-rhel-root",
                        "dm-uuid-LVM-CrIu7OIphYFDwbuARHD5ioTyWOhUapQH90eOnh6DVaOfzIY0PccafOrYkj67XpRg"
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "37683200",
                "sectorsize": "512",
                "size": "17.97 GB",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "dm-1": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-research-data",
                        "dm-uuid-LVM-yQkRifwJpBDfYbOoT7wIZ5m074yE7vtknm3NC6nFhsRWajvf4tTg9to7OXTjFUiM"
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "129dc9d7-55bc-499e-b196-9d1f4b8b05d7"
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "4194304",
                "sectorsize": "512",
                "size": "2.00 GB",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "vda": {
                "holders": [],
                "host": "SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {
                    "vda1": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                            ]
                        },
                        "sectors": "614400",
                        "sectorsize": 512,
                        "size": "300.00 MB",
                        "start": "2048",
                        "uuid": "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                    },
                    "vda2": {
                        "holders": [
                            "rhel-root"
                        ],
                        "links": {
                            "ids": [
                                "lvm-pv-uuid-ywHgZf-D8WY-LpPz-eJpp-Pxkl-vgg1-cjcylq"
                            ],
                            "labels": [],
                            "masters": [
                                "dm-0"
                            ],
                            "uuids": []
                        },
                        "sectors": "37888000",
                        "sectorsize": 512,
                        "size": "18.07 GB",
                        "start": "616448",
                        "uuid": null
                    },
                    "vda3": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "2579d3ea-08b0-4bed-8058-db52761301d7"
                            ]
                        },
                        "sectors": "2097152",
                        "sectorsize": 512,
                        "size": "1.00 GB",
                        "start": "38504448",
                        "uuid": "2579d3ea-08b0-4bed-8058-db52761301d7"
                    }
                },
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "mq-deadline",
                "sectors": "46137344",
                "sectorsize": "512",
                "size": "22.00 GB",
                "support_discard": "0",
                "vendor": "0x1af4",
                "virtual": 1
            },
            "vdb": {
                "holders": [
                    "research-data"
                ],
                "host": "SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)",
                "links": {
                    "ids": [
                        "lvm-pv-uuid-v3B2v1-e39p-oSPW-KSpZ-Lzra-QVwG-dlTk9o"
                    ],
                    "labels": [],
                    "masters": [
                        "dm-1"
                    ],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "mq-deadline",
                "sectors": "4612096",
                "sectorsize": "512",
                "size": "2.20 GB",
                "support_discard": "0",
                "vendor": "0x1af4",
                "virtual": 1
            }
        },
        "ansible_distribution": "RedHat",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/redhat-release",
        "ansible_distribution_file_search_string": "Red Hat",
        "ansible_distribution_file_variety": "RedHat",
        "ansible_distribution_major_version": "8",
        "ansible_distribution_release": "Ootpa",
        "ansible_distribution_version": "8.0",
        "ansible_dns": {
            "nameservers": [
                "172.25.250.254"
            ],
            "search": [
                "lab.example.com"
            ]
        },
        "ansible_domain": "lab.example.com",
        "ansible_effective_group_id": 0,
        "ansible_effective_user_id": 0,
        "ansible_enp1s0": {
            "active": true,
            "device": "enp1s0",
            "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": "off [fixed]",
                "netns_local": "off [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_udp_tunnel_port_offload": "off [fixed]",
                "rx_vlan_filter": "on [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_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_partial": "off [fixed]",
                "tx_gso_robust": "on [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": "on",
                "tx_tcp_ecn_segmentation": "on",
                "tx_tcp_mangleid_segmentation": "off",
                "tx_tcp_segmentation": "on",
                "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]",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "ipv4": {
                "address": "172.25.250.10",
                "broadcast": "172.25.250.255",
                "netmask": "255.255.255.0",
                "network": "172.25.250.0"
            },
            "ipv6": [
                {
                    "address": "2001:db8:0:1::1",
                    "prefix": "64",
                    "scope": "global"
                },
                {
                    "address": "fe80::aeb2:b6c7:2a14:b916",
                    "prefix": "64",
                    "scope": "link"
                }
            ],
            "macaddress": "52:54:00:fb:e6:e2",
            "module": "virtio_net",
            "mtu": 1500,
            "pciid": "virtio0",
            "promisc": false,
            "speed": -1,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "ether"
        },
        "ansible_env": {
            "HOME": "/root",
            "LANG": "en_US.UTF-8",
            "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:",
            "MAIL": "/var/mail/devops",
            "PATH": "/sbin:/bin:/usr/sbin:/usr/bin",
            "PWD": "/home/devops",
            "SHELL": "/bin/bash",
            "SHLVL": "1",
            "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-novqqbnsevgxthdobaqpsmzvraldiact ; /usr/libexec/platform-python /home/devops/.ansible/tmp/ansible-tmp-1606568696.8433292-92521725752163/AnsiballZ_setup.py",
            "SUDO_GID": "5000",
            "SUDO_UID": "5000",
            "SUDO_USER": "devops",
            "TERM": "xterm-256color",
            "USER": "root",
            "USERNAME": "root",
            "_": "/usr/libexec/platform-python"
        },
        "ansible_fibre_channel_wwn": [],
        "ansible_fips": false,
        "ansible_form_factor": "Other",
        "ansible_fqdn": "servera.lab.example.com",
        "ansible_hostname": "servera",
        "ansible_hostnqn": "",
        "ansible_interfaces": [
            "enp1s0",
            "lo",
            "virbr0",
            "virbr0-nic"
        ],
        "ansible_is_chroot": false,
        "ansible_iscsi_iqn": "iqn.1994-05.com.redhat:42a92f6d6f84",
        "ansible_kernel": "4.18.0-80.el8.x86_64",
        "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_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_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_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_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]",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "on [fixed]"
            },
            "hw_timestamp_filters": [],
            "ipv4": {
                "address": "127.0.0.1",
                "broadcast": "host",
                "netmask": "255.0.0.0",
                "network": "127.0.0.0"
            },
            "ipv6": [
                {
                    "address": "::1",
                    "prefix": "128",
                    "scope": "host"
                }
            ],
            "mtu": 65536,
            "promisc": false,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "loopback"
        },
        "ansible_local": {},
        "ansible_lsb": {},
        "ansible_lvm": {
            "lvs": {
                "data": {
                    "size_g": "2.00",
                    "vg": "research"
                },
                "root": {
                    "size_g": "17.97",
                    "vg": "rhel"
                }
            },
            "pvs": {
                "/dev/vda2": {
                    "free_g": "0.09",
                    "size_g": "18.06",
                    "vg": "rhel"
                },
                "/dev/vdb": {
                    "free_g": "0.20",
                    "size_g": "2.20",
                    "vg": "research"
                }
            },
            "vgs": {
                "research": {
                    "free_g": "0.20",
                    "num_lvs": "1",
                    "num_pvs": "1",
                    "size_g": "2.20"
                },
                "rhel": {
                    "free_g": "0.09",
                    "num_lvs": "1",
                    "num_pvs": "1",
                    "size_g": "18.06"
                }
            }
        },
        "ansible_machine": "x86_64",
        "ansible_machine_id": "b21f44f0957740ec8aa3b1900a9821bd",
        "ansible_memfree_mb": 662,
        "ansible_memory_mb": {
            "nocache": {
                "free": 1176,
                "used": 652
            },
            "real": {
                "free": 662,
                "total": 1828,
                "used": 1166
            },
            "swap": {
                "cached": 0,
                "free": 1023,
                "total": 1023,
                "used": 0
            }
        },
        "ansible_memtotal_mb": 1828,
        "ansible_mounts": [
            {
                "block_available": 3544462,
                "block_size": 4096,
                "block_total": 4707840,
                "block_used": 1163378,
                "device": "/dev/mapper/rhel-root",
                "fstype": "xfs",
                "inode_available": 9291853,
                "inode_total": 9420800,
                "inode_used": 128947,
                "mount": "/",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 14518116352,
                "size_total": 19283312640,
                "uuid": "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
            },
            {
                "block_available": 37916,
                "block_size": 4096,
                "block_total": 75432,
                "block_used": 37516,
                "device": "/dev/vda1",
                "fstype": "xfs",
                "inode_available": 153299,
                "inode_total": 153600,
                "inode_used": 301,
                "mount": "/boot",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 155303936,
                "size_total": 308969472,
                "uuid": "33418e0d-8f4c-4571-9a5c-d760aecc606a"
            },
            {
                "block_available": 0,
                "block_size": 4096,
                "block_total": 0,
                "block_used": 0,
                "device": "/etc/auto.misc",
                "fstype": "autofs",
                "inode_available": 0,
                "inode_total": 0,
                "inode_used": 0,
                "mount": "/misc",
                "options": "rw,relatime,fd=5,pgrp=1802,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=37157",
                "size_available": 0,
                "size_total": 0,
                "uuid": "N/A"
            },
            {
                "device": "/etc/auto.rhel",
                "fstype": "autofs",
                "mount": "/rhel/user1",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapusere",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserb",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserd",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserg",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapusera",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserf",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserc",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            }
        ],
        "ansible_nodename": "servera.lab.example.com",
        "ansible_os_family": "RedHat",
        "ansible_pkg_mgr": "dnf",
        "ansible_proc_cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64",
            "crashkernel": "auto",
            "quiet": true,
            "rd.lvm.lv": "rhel/root",
            "resume": "UUID=2579d3ea-08b0-4bed-8058-db52761301d7",
            "rhgb": true,
            "ro": true,
            "root": "/dev/mapper/rhel-root"
        },
        "ansible_processor": [
            "0",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "1",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "2",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "3",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)"
        ],
        "ansible_processor_cores": 1,
        "ansible_processor_count": 4,
        "ansible_processor_threads_per_core": 1,
        "ansible_processor_vcpus": 4,
        "ansible_product_name": "KVM",
        "ansible_product_serial": "NA",
        "ansible_product_uuid": "b21f44f0-9577-40ec-8aa3-b1900a9821bd",
        "ansible_product_version": "RHEL-7.6.0 PC (Q35 + ICH9, 2009)",
        "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": {
            "config_mode": "enforcing",
            "mode": "enforcing",
            "policyvers": 31,
            "status": "enabled",
            "type": "targeted"
        },
        "ansible_selinux_python_present": true,
        "ansible_service_mgr": "systemd",
        "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBO0NG7e+105aXOxcDLUnVol5Ubg4fThyQoteMC3PwurS5VBZEUcYJke+dBp9xQB7XM0GashOnme4/l1cV20NwDs=",
        "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGwA5notSwEl4Wyzrd31HrTTafqas9/ZedhGqxLsmBAw",
        "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC3vw2n8YuV2X7PNp3kQBg6auP0CBhHotr5yH2oCPUokRwN0yEl8s7FxhItn7VybkDaimGMbBcVkH4AgMKdcz787KUT5qi+CMtvXV3TNSbITDh6iI6Skuz5UKdkUF3rT72ici/l/hAvUy7QGjCWtN0V+RYs5oaU+rGZqyBCTK0tW+tTPdRuVkUXymZjMG/0FpqC4+Du6q6Mtde5bTfYDU2s51HL6dtKEVOLrmoFAIZAm8XoBWUK/LnfWjDo0tNF3lVCrfQnrMuknQ/n7ulPK7JzvDQv79mKzBcZ7KP9OYABkySAIeFuGE6HScW5WfQorQkEX1HGVSDm6I/S/I1dJzRn",
        "ansible_swapfree_mb": 1023,
        "ansible_swaptotal_mb": 1023,
        "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+ep"
        ],
        "ansible_system_capabilities_enforced": "True",
        "ansible_system_vendor": "Red Hat",
        "ansible_uptime_seconds": 24365,
        "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_virbr0": {
            "active": false,
            "device": "virbr0",
            "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 [requested on]",
                "hw_tc_offload": "off [fixed]",
                "l2_fwd_offload": "off [fixed]",
                "large_receive_offload": "off [fixed]",
                "loopback": "off [fixed]",
                "netns_local": "on [fixed]",
                "ntuple_filters": "off [fixed]",
                "receive_hashing": "off [fixed]",
                "rx_all": "off [fixed]",
                "rx_checksumming": "off [fixed]",
                "rx_fcs": "off [fixed]",
                "rx_gro_hw": "off [fixed]",
                "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_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": "on",
                "tx_fcoe_segmentation": "off [requested on]",
                "tx_gre_csum_segmentation": "on",
                "tx_gre_segmentation": "on",
                "tx_gso_partial": "on",
                "tx_gso_robust": "off [requested on]",
                "tx_ipxip4_segmentation": "on",
                "tx_ipxip6_segmentation": "on",
                "tx_lockless": "on [fixed]",
                "tx_nocache_copy": "off",
                "tx_scatter_gather": "on",
                "tx_scatter_gather_fraglist": "on",
                "tx_sctp_segmentation": "off [requested on]",
                "tx_tcp6_segmentation": "on",
                "tx_tcp_ecn_segmentation": "on",
                "tx_tcp_mangleid_segmentation": "on",
                "tx_tcp_segmentation": "on",
                "tx_udp_segmentation": "on",
                "tx_udp_tnl_csum_segmentation": "on",
                "tx_udp_tnl_segmentation": "on",
                "tx_vlan_offload": "on",
                "tx_vlan_stag_hw_insert": "on",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "id": "8000.52540061b566",
            "interfaces": [
                "virbr0-nic"
            ],
            "ipv4": {
                "address": "192.168.122.1",
                "broadcast": "192.168.122.255",
                "netmask": "255.255.255.0",
                "network": "192.168.122.0"
            },
            "macaddress": "52:54:00:61:b5:66",
            "mtu": 1500,
            "promisc": false,
            "stp": true,
            "timestamping": [
                "rx_software",
                "software"
            ],
            "type": "bridge"
        },
        "ansible_virbr0_nic": {
            "active": false,
            "device": "virbr0-nic",
            "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 [fixed]",
                "rx_checksumming": "off [fixed]",
                "rx_fcs": "off [fixed]",
                "rx_gro_hw": "off [fixed]",
                "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": "off",
                "tls_hw_record": "off [fixed]",
                "tls_hw_tx_offload": "off [fixed]",
                "tx_checksum_fcoe_crc": "off [fixed]",
                "tx_checksum_ip_generic": "off [requested on]",
                "tx_checksum_ipv4": "off [fixed]",
                "tx_checksum_ipv6": "off [fixed]",
                "tx_checksum_sctp": "off [fixed]",
                "tx_checksumming": "off",
                "tx_esp_segmentation": "off [fixed]",
                "tx_fcoe_segmentation": "off [fixed]",
                "tx_gre_csum_segmentation": "off [fixed]",
                "tx_gre_segmentation": "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",
                "tx_scatter_gather": "on",
                "tx_scatter_gather_fraglist": "on",
                "tx_sctp_segmentation": "off [fixed]",
                "tx_tcp6_segmentation": "off [requested on]",
                "tx_tcp_ecn_segmentation": "off [requested on]",
                "tx_tcp_mangleid_segmentation": "off",
                "tx_tcp_segmentation": "off [requested on]",
                "tx_udp_segmentation": "off [fixed]",
                "tx_udp_tnl_csum_segmentation": "off [fixed]",
                "tx_udp_tnl_segmentation": "off [fixed]",
                "tx_vlan_offload": "on",
                "tx_vlan_stag_hw_insert": "on",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "macaddress": "52:54:00:61:b5:66",
            "mtu": 1500,
            "promisc": true,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "ether"
        },
        "ansible_virtualization_role": "guest",
        "ansible_virtualization_type": "kvm",
        "discovered_interpreter_python": "/usr/libexec/platform-python",
        "gather_subset": [
            "all"
        ],
        "module_setup": true
    },
    "changed": false
}
[student@workstation ansible]$ ansible   servera.lab.example.com  -m setup  
[WARNING]: Could not match supplied host pattern, ignoring: servera.lab.example.com

[WARNING]: No hosts matched, nothing to do

[student@workstation ansible]$ ansible   servera  -m setup  
servera | SUCCESS => {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
            "172.25.250.10",
            "192.168.122.1"
        ],
        "ansible_all_ipv6_addresses": [
            "2001:db8:0:1::1",
            "fe80::aeb2:b6c7:2a14:b916"
        ],
        "ansible_apparmor": {
            "status": "disabled"
        },
        "ansible_architecture": "x86_64",
        "ansible_bios_date": "04/01/2014",
        "ansible_bios_version": "1.11.1-3.module+el8+2529+a9686a4d",
        "ansible_cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64",
            "crashkernel": "auto",
            "quiet": true,
            "rd.lvm.lv": "rhel/root",
            "resume": "UUID=2579d3ea-08b0-4bed-8058-db52761301d7",
            "rhgb": true,
            "ro": true,
            "root": "/dev/mapper/rhel-root"
        },
        "ansible_date_time": {
            "date": "2020-11-28",
            "day": "28",
            "epoch": "1606568740",
            "hour": "21",
            "iso8601": "2020-11-28T13:05:40Z",
            "iso8601_basic": "20201128T210540701534",
            "iso8601_basic_short": "20201128T210540",
            "iso8601_micro": "2020-11-28T13:05:40.701656Z",
            "minute": "05",
            "month": "11",
            "second": "40",
            "time": "21:05:40",
            "tz": "CST",
            "tz_offset": "+0800",
            "weekday": "Saturday",
            "weekday_number": "6",
            "weeknumber": "47",
            "year": "2020"
        },
        "ansible_default_ipv4": {
            "address": "172.25.250.10",
            "alias": "enp1s0",
            "broadcast": "172.25.250.255",
            "gateway": "172.25.250.254",
            "interface": "enp1s0",
            "macaddress": "52:54:00:fb:e6:e2",
            "mtu": 1500,
            "netmask": "255.255.255.0",
            "network": "172.25.250.0",
            "type": "ether"
        },
        "ansible_default_ipv6": {},
        "ansible_device_links": {
            "ids": {
                "dm-0": [
                    "dm-name-rhel-root",
                    "dm-uuid-LVM-CrIu7OIphYFDwbuARHD5ioTyWOhUapQH90eOnh6DVaOfzIY0PccafOrYkj67XpRg"
                ],
                "dm-1": [
                    "dm-name-research-data",
                    "dm-uuid-LVM-yQkRifwJpBDfYbOoT7wIZ5m074yE7vtknm3NC6nFhsRWajvf4tTg9to7OXTjFUiM"
                ],
                "vda2": [
                    "lvm-pv-uuid-ywHgZf-D8WY-LpPz-eJpp-Pxkl-vgg1-cjcylq"
                ],
                "vdb": [
                    "lvm-pv-uuid-v3B2v1-e39p-oSPW-KSpZ-Lzra-QVwG-dlTk9o"
                ]
            },
            "labels": {},
            "masters": {
                "vda2": [
                    "dm-0"
                ],
                "vdb": [
                    "dm-1"
                ]
            },
            "uuids": {
                "dm-0": [
                    "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
                ],
                "dm-1": [
                    "129dc9d7-55bc-499e-b196-9d1f4b8b05d7"
                ],
                "vda1": [
                    "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                ],
                "vda3": [
                    "2579d3ea-08b0-4bed-8058-db52761301d7"
                ]
            }
        },
        "ansible_devices": {
            "dm-0": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-rhel-root",
                        "dm-uuid-LVM-CrIu7OIphYFDwbuARHD5ioTyWOhUapQH90eOnh6DVaOfzIY0PccafOrYkj67XpRg"
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "37683200",
                "sectorsize": "512",
                "size": "17.97 GB",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "dm-1": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-research-data",
                        "dm-uuid-LVM-yQkRifwJpBDfYbOoT7wIZ5m074yE7vtknm3NC6nFhsRWajvf4tTg9to7OXTjFUiM"
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "129dc9d7-55bc-499e-b196-9d1f4b8b05d7"
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "4194304",
                "sectorsize": "512",
                "size": "2.00 GB",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "vda": {
                "holders": [],
                "host": "SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {
                    "vda1": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                            ]
                        },
                        "sectors": "614400",
                        "sectorsize": 512,
                        "size": "300.00 MB",
                        "start": "2048",
                        "uuid": "33418e0d-8f4c-4571-9a5c-d760aecc606a"
                    },
                    "vda2": {
                        "holders": [
                            "rhel-root"
                        ],
                        "links": {
                            "ids": [
                                "lvm-pv-uuid-ywHgZf-D8WY-LpPz-eJpp-Pxkl-vgg1-cjcylq"
                            ],
                            "labels": [],
                            "masters": [
                                "dm-0"
                            ],
                            "uuids": []
                        },
                        "sectors": "37888000",
                        "sectorsize": 512,
                        "size": "18.07 GB",
                        "start": "616448",
                        "uuid": null
                    },
                    "vda3": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "2579d3ea-08b0-4bed-8058-db52761301d7"
                            ]
                        },
                        "sectors": "2097152",
                        "sectorsize": 512,
                        "size": "1.00 GB",
                        "start": "38504448",
                        "uuid": "2579d3ea-08b0-4bed-8058-db52761301d7"
                    }
                },
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "mq-deadline",
                "sectors": "46137344",
                "sectorsize": "512",
                "size": "22.00 GB",
                "support_discard": "0",
                "vendor": "0x1af4",
                "virtual": 1
            },
            "vdb": {
                "holders": [
                    "research-data"
                ],
                "host": "SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)",
                "links": {
                    "ids": [
                        "lvm-pv-uuid-v3B2v1-e39p-oSPW-KSpZ-Lzra-QVwG-dlTk9o"
                    ],
                    "labels": [],
                    "masters": [
                        "dm-1"
                    ],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "mq-deadline",
                "sectors": "4612096",
                "sectorsize": "512",
                "size": "2.20 GB",
                "support_discard": "0",
                "vendor": "0x1af4",
                "virtual": 1
            }
        },
        "ansible_distribution": "RedHat",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/redhat-release",
        "ansible_distribution_file_search_string": "Red Hat",
        "ansible_distribution_file_variety": "RedHat",
        "ansible_distribution_major_version": "8",
        "ansible_distribution_release": "Ootpa",
        "ansible_distribution_version": "8.0",
        "ansible_dns": {
            "nameservers": [
                "172.25.250.254"
            ],
            "search": [
                "lab.example.com"
            ]
        },
        "ansible_domain": "lab.example.com",
        "ansible_effective_group_id": 0,
        "ansible_effective_user_id": 0,
        "ansible_enp1s0": {
            "active": true,
            "device": "enp1s0",
            "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": "off [fixed]",
                "netns_local": "off [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_udp_tunnel_port_offload": "off [fixed]",
                "rx_vlan_filter": "on [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_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_partial": "off [fixed]",
                "tx_gso_robust": "on [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": "on",
                "tx_tcp_ecn_segmentation": "on",
                "tx_tcp_mangleid_segmentation": "off",
                "tx_tcp_segmentation": "on",
                "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]",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "ipv4": {
                "address": "172.25.250.10",
                "broadcast": "172.25.250.255",
                "netmask": "255.255.255.0",
                "network": "172.25.250.0"
            },
            "ipv6": [
                {
                    "address": "2001:db8:0:1::1",
                    "prefix": "64",
                    "scope": "global"
                },
                {
                    "address": "fe80::aeb2:b6c7:2a14:b916",
                    "prefix": "64",
                    "scope": "link"
                }
            ],
            "macaddress": "52:54:00:fb:e6:e2",
            "module": "virtio_net",
            "mtu": 1500,
            "pciid": "virtio0",
            "promisc": false,
            "speed": -1,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "ether"
        },
        "ansible_env": {
            "HOME": "/root",
            "LANG": "C",
            "LC_ALL": "C",
            "LC_NUMERIC": "C",
            "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:",
            "MAIL": "/var/mail/devops",
            "PATH": "/sbin:/bin:/usr/sbin:/usr/bin",
            "PWD": "/home/devops",
            "SHELL": "/bin/bash",
            "SHLVL": "1",
            "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-uavsuzhevecetavwyczviuvuqtanimdh ; /usr/libexec/platform-python /home/devops/.ansible/tmp/ansible-tmp-1606568728.5881855-67378220972335/AnsiballZ_setup.py",
            "SUDO_GID": "5000",
            "SUDO_UID": "5000",
            "SUDO_USER": "devops",
            "TERM": "xterm-256color",
            "USER": "root",
            "USERNAME": "root",
            "_": "/usr/libexec/platform-python"
        },
        "ansible_fibre_channel_wwn": [],
        "ansible_fips": false,
        "ansible_form_factor": "Other",
        "ansible_fqdn": "servera.lab.example.com",
        "ansible_hostname": "servera",
        "ansible_hostnqn": "",
        "ansible_interfaces": [
            "lo",
            "virbr0",
            "enp1s0",
            "virbr0-nic"
        ],
        "ansible_is_chroot": false,
        "ansible_iscsi_iqn": "iqn.1994-05.com.redhat:42a92f6d6f84",
        "ansible_kernel": "4.18.0-80.el8.x86_64",
        "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_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_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_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_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]",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "on [fixed]"
            },
            "hw_timestamp_filters": [],
            "ipv4": {
                "address": "127.0.0.1",
                "broadcast": "host",
                "netmask": "255.0.0.0",
                "network": "127.0.0.0"
            },
            "ipv6": [
                {
                    "address": "::1",
                    "prefix": "128",
                    "scope": "host"
                }
            ],
            "mtu": 65536,
            "promisc": false,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "loopback"
        },
        "ansible_local": {},
        "ansible_lsb": {},
        "ansible_lvm": {
            "lvs": {
                "data": {
                    "size_g": "2.00",
                    "vg": "research"
                },
                "root": {
                    "size_g": "17.97",
                    "vg": "rhel"
                }
            },
            "pvs": {
                "/dev/vda2": {
                    "free_g": "0.09",
                    "size_g": "18.06",
                    "vg": "rhel"
                },
                "/dev/vdb": {
                    "free_g": "0.20",
                    "size_g": "2.20",
                    "vg": "research"
                }
            },
            "vgs": {
                "research": {
                    "free_g": "0.20",
                    "num_lvs": "1",
                    "num_pvs": "1",
                    "size_g": "2.20"
                },
                "rhel": {
                    "free_g": "0.09",
                    "num_lvs": "1",
                    "num_pvs": "1",
                    "size_g": "18.06"
                }
            }
        },
        "ansible_machine": "x86_64",
        "ansible_machine_id": "b21f44f0957740ec8aa3b1900a9821bd",
        "ansible_memfree_mb": 656,
        "ansible_memory_mb": {
            "nocache": {
                "free": 1171,
                "used": 657
            },
            "real": {
                "free": 656,
                "total": 1828,
                "used": 1172
            },
            "swap": {
                "cached": 0,
                "free": 1023,
                "total": 1023,
                "used": 0
            }
        },
        "ansible_memtotal_mb": 1828,
        "ansible_mounts": [
            {
                "block_available": 3544465,
                "block_size": 4096,
                "block_total": 4707840,
                "block_used": 1163375,
                "device": "/dev/mapper/rhel-root",
                "fstype": "xfs",
                "inode_available": 9291853,
                "inode_total": 9420800,
                "inode_used": 128947,
                "mount": "/",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 14518128640,
                "size_total": 19283312640,
                "uuid": "24c1e9dc-c202-4292-8fcf-39434b0c8a24"
            },
            {
                "block_available": 37916,
                "block_size": 4096,
                "block_total": 75432,
                "block_used": 37516,
                "device": "/dev/vda1",
                "fstype": "xfs",
                "inode_available": 153299,
                "inode_total": 153600,
                "inode_used": 301,
                "mount": "/boot",
                "options": "rw,seclabel,relatime,attr2,inode64,noquota",
                "size_available": 155303936,
                "size_total": 308969472,
                "uuid": "33418e0d-8f4c-4571-9a5c-d760aecc606a"
            },
            {
                "block_available": 0,
                "block_size": 4096,
                "block_total": 0,
                "block_used": 0,
                "device": "/etc/auto.misc",
                "fstype": "autofs",
                "inode_available": 0,
                "inode_total": 0,
                "inode_used": 0,
                "mount": "/misc",
                "options": "rw,relatime,fd=5,pgrp=1802,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=37157",
                "size_available": 0,
                "size_total": 0,
                "uuid": "N/A"
            },
            {
                "device": "serverb.lab.example.com:/rhel",
                "fstype": "nfs4",
                "mount": "/rhel/user1",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,vers=4.2,rsize=262144,wsize=262144,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.25.250.10,local_lock=none,addr=172.25.250.11"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapusere",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserb",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserd",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserg",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapusera",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserf",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            },
            {
                "device": "/etc/auto.guests",
                "fstype": "autofs",
                "mount": "/home/guests/ldapuserc",
                "note": "Timed out while attempting to get extra information.",
                "options": "rw,relatime,fd=11,pgrp=1802,timeout=300,minproto=5,maxproto=5,direct,pipe_ino=33572"
            }
        ],
        "ansible_nodename": "servera.lab.example.com",
        "ansible_os_family": "RedHat",
        "ansible_pkg_mgr": "dnf",
        "ansible_proc_cmdline": {
            "BOOT_IMAGE": "(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64",
            "crashkernel": "auto",
            "quiet": true,
            "rd.lvm.lv": "rhel/root",
            "resume": "UUID=2579d3ea-08b0-4bed-8058-db52761301d7",
            "rhgb": true,
            "ro": true,
            "root": "/dev/mapper/rhel-root"
        },
        "ansible_processor": [
            "0",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "1",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "2",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)",
            "3",
            "GenuineIntel",
            "Intel Core Processor (Haswell, no TSX)"
        ],
        "ansible_processor_cores": 1,
        "ansible_processor_count": 4,
        "ansible_processor_threads_per_core": 1,
        "ansible_processor_vcpus": 4,
        "ansible_product_name": "KVM",
        "ansible_product_serial": "NA",
        "ansible_product_uuid": "b21f44f0-9577-40ec-8aa3-b1900a9821bd",
        "ansible_product_version": "RHEL-7.6.0 PC (Q35 + ICH9, 2009)",
        "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": {
            "config_mode": "enforcing",
            "mode": "enforcing",
            "policyvers": 31,
            "status": "enabled",
            "type": "targeted"
        },
        "ansible_selinux_python_present": true,
        "ansible_service_mgr": "systemd",
        "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBO0NG7e+105aXOxcDLUnVol5Ubg4fThyQoteMC3PwurS5VBZEUcYJke+dBp9xQB7XM0GashOnme4/l1cV20NwDs=",
        "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGwA5notSwEl4Wyzrd31HrTTafqas9/ZedhGqxLsmBAw",
        "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC3vw2n8YuV2X7PNp3kQBg6auP0CBhHotr5yH2oCPUokRwN0yEl8s7FxhItn7VybkDaimGMbBcVkH4AgMKdcz787KUT5qi+CMtvXV3TNSbITDh6iI6Skuz5UKdkUF3rT72ici/l/hAvUy7QGjCWtN0V+RYs5oaU+rGZqyBCTK0tW+tTPdRuVkUXymZjMG/0FpqC4+Du6q6Mtde5bTfYDU2s51HL6dtKEVOLrmoFAIZAm8XoBWUK/LnfWjDo0tNF3lVCrfQnrMuknQ/n7ulPK7JzvDQv79mKzBcZ7KP9OYABkySAIeFuGE6HScW5WfQorQkEX1HGVSDm6I/S/I1dJzRn",
        "ansible_swapfree_mb": 1023,
        "ansible_swaptotal_mb": 1023,
        "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+ep"
        ],
        "ansible_system_capabilities_enforced": "True",
        "ansible_system_vendor": "Red Hat",
        "ansible_uptime_seconds": 24395,
        "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_virbr0": {
            "active": false,
            "device": "virbr0",
            "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 [requested on]",
                "hw_tc_offload": "off [fixed]",
                "l2_fwd_offload": "off [fixed]",
                "large_receive_offload": "off [fixed]",
                "loopback": "off [fixed]",
                "netns_local": "on [fixed]",
                "ntuple_filters": "off [fixed]",
                "receive_hashing": "off [fixed]",
                "rx_all": "off [fixed]",
                "rx_checksumming": "off [fixed]",
                "rx_fcs": "off [fixed]",
                "rx_gro_hw": "off [fixed]",
                "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_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": "on",
                "tx_fcoe_segmentation": "off [requested on]",
                "tx_gre_csum_segmentation": "on",
                "tx_gre_segmentation": "on",
                "tx_gso_partial": "on",
                "tx_gso_robust": "off [requested on]",
                "tx_ipxip4_segmentation": "on",
                "tx_ipxip6_segmentation": "on",
                "tx_lockless": "on [fixed]",
                "tx_nocache_copy": "off",
                "tx_scatter_gather": "on",
                "tx_scatter_gather_fraglist": "on",
                "tx_sctp_segmentation": "off [requested on]",
                "tx_tcp6_segmentation": "on",
                "tx_tcp_ecn_segmentation": "on",
                "tx_tcp_mangleid_segmentation": "on",
                "tx_tcp_segmentation": "on",
                "tx_udp_segmentation": "on",
                "tx_udp_tnl_csum_segmentation": "on",
                "tx_udp_tnl_segmentation": "on",
                "tx_vlan_offload": "on",
                "tx_vlan_stag_hw_insert": "on",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "id": "8000.52540061b566",
            "interfaces": [
                "virbr0-nic"
            ],
            "ipv4": {
                "address": "192.168.122.1",
                "broadcast": "192.168.122.255",
                "netmask": "255.255.255.0",
                "network": "192.168.122.0"
            },
            "macaddress": "52:54:00:61:b5:66",
            "mtu": 1500,
            "promisc": false,
            "stp": true,
            "timestamping": [
                "rx_software",
                "software"
            ],
            "type": "bridge"
        },
        "ansible_virbr0_nic": {
            "active": false,
            "device": "virbr0-nic",
            "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 [fixed]",
                "rx_checksumming": "off [fixed]",
                "rx_fcs": "off [fixed]",
                "rx_gro_hw": "off [fixed]",
                "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": "off",
                "tls_hw_record": "off [fixed]",
                "tls_hw_tx_offload": "off [fixed]",
                "tx_checksum_fcoe_crc": "off [fixed]",
                "tx_checksum_ip_generic": "off [requested on]",
                "tx_checksum_ipv4": "off [fixed]",
                "tx_checksum_ipv6": "off [fixed]",
                "tx_checksum_sctp": "off [fixed]",
                "tx_checksumming": "off",
                "tx_esp_segmentation": "off [fixed]",
                "tx_fcoe_segmentation": "off [fixed]",
                "tx_gre_csum_segmentation": "off [fixed]",
                "tx_gre_segmentation": "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",
                "tx_scatter_gather": "on",
                "tx_scatter_gather_fraglist": "on",
                "tx_sctp_segmentation": "off [fixed]",
                "tx_tcp6_segmentation": "off [requested on]",
                "tx_tcp_ecn_segmentation": "off [requested on]",
                "tx_tcp_mangleid_segmentation": "off",
                "tx_tcp_segmentation": "off [requested on]",
                "tx_udp_segmentation": "off [fixed]",
                "tx_udp_tnl_csum_segmentation": "off [fixed]",
                "tx_udp_tnl_segmentation": "off [fixed]",
                "tx_vlan_offload": "on",
                "tx_vlan_stag_hw_insert": "on",
                "udp_fragmentation_offload": "off",
                "vlan_challenged": "off [fixed]"
            },
            "hw_timestamp_filters": [],
            "macaddress": "52:54:00:61:b5:66",
            "mtu": 1500,
            "promisc": true,
            "timestamping": [
                "tx_software",
                "rx_software",
                "software"
            ],
            "type": "ether"
        },
        "ansible_virtualization_role": "guest",
        "ansible_virtualization_type": "kvm",
        "discovered_interpreter_python": "/usr/libexec/platform-python",
        "gather_subset": [
            "all"
        ],
        "module_setup": true
    },
    "changed": false
}

----------------------------------------------------------------------
测试并收集需要的事实:
  1. ---
  2. - name: Test factvars
  3.   hosts: servera
  4.   tasks:
  5.   - name: Test factvars
  6.     debug:
  7.       msg: |
  8.        hostname: "{{ ansible_facts['fqdn'] }}"
  9.        short hostname: "{{ ansible_facts['hostname'] }}"
  10.        ip addresses: "{{ ansible_facts['all_ipv4_addresses'] }}"
  11.        time: "{{ ansible_facts['date_time']['time'] }}"

复制代码


  1. ansible-playbook  testfactvars.yml
复制代码

PLAY [Test factvars] ***************************************************************************************

TASK [Gathering Facts] *************************************************************************************
ok: [servera]

TASK [Test factvars] ***************************************************************************************
ok: [servera] => {
    "msg": "hostname: \"servera.lab.example.com\"\nshort hostname: \"servera\"\nip addresses: \"['172.25.250.10', '192.168.122.1']\"\ntime: \"21:37:52\"\n"
}


PLAY RECAP *************************************************************************************************
servera                    : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

------------------------------------------------------------------------------
变种的语法:
  1. ---
  2. - name: Test factvars
  3.   hosts: servera
  4.   tasks:
  5.   - name: Test factvars
  6.     debug:
  7.       msg: |
  8.        hostname: "{{ ansible_facts['fqdn'] }}"
  9.        short hostname: "{{ ansible_facts['hostname'] }}"
  10.        ip addresses: "{{ ansible_facts['all_ipv4_addresses'] }}"
  11.        time: "{{ ansible_facts['date_time']['time'] }}"
  12.        vda2: "{{ ansible_facts.devices.vda.partitions.vda2.size }}"
  13.        vda2 again: "{{ ansible_devices.vda.partitions.vda2.size }}"
  14.        vda2 again again: "{{ ansible_devices['vda']['partitions']['vda2']['size'] }}"

复制代码


[student@workstation ansible]$ ansible-playbook  testfactvars.yml

PLAY [Test factvars] *******************************************************************************************************************

TASK [Gathering Facts] *****************************************************************************************************************
ok: [servera]

TASK [Test factvars] *******************************************************************************************************************
ok: [servera] => {
    "msg": "hostname: \"servera.lab.example.com\"\nshort hostname: \"servera\"\nip addresses: \"['172.25.250.10', '192.168.122.1']\"\ntime: \"21:53:07\"\nvda2: \"18.07 GB\"\nvda2 again: \"18.07 GB\"\nvda2 again again: \"18.07 GB\"\n"
}


PLAY RECAP *****************************************************************************************************************************
servera                    : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-29 03:27 , Processed in 0.050047 second(s), 24 queries .

快速回复 返回顶部 返回列表