Ansible setup

$ sudo ansible local -m setup
ansible-server | SUCCESS => {
    "ansible_facts": {
        "ansible_all_ipv4_addresses": [
            "10.240.0.200",
            "192.168.121.208"
        ],
        "ansible_all_ipv6_addresses": [
            "fe80::5054:ff:fe90:13ea",
            "fe80::5054:ff:fe93:bf55"
        ],
        "ansible_apparmor": {
            "status": "enabled"
        },
        "ansible_architecture": "x86_64",
        "ansible_bios_date": "01/01/2011",
        "ansible_bios_vendor": "Seabios",
        "ansible_bios_version": "0.5.1",
        "ansible_board_asset_tag": "NA",
        "ansible_board_name": "NA",
        "ansible_board_serial": "NA",
        "ansible_board_vendor": "NA",
        "ansible_board_version": "NA",
        "ansible_chassis_asset_tag": "NA",
        "ansible_chassis_serial": "NA",
        "ansible_chassis_vendor": "Bochs",
        "ansible_chassis_version": "NA",
        "ansible_cmdline": {
            "BOOT_IMAGE": "/vmlinuz-5.15.0-47-generic",
            "biosdevname": "0",
            "net.ifnames": "0",
            "ro": true,
            "root": "/dev/mapper/ubuntu--vg-ubuntu--lv"
        },
        "ansible_date_time": {
            "date": "2022-09-28",
            "day": "28",
            "epoch": "1664377148",
            "epoch_int": "1664377148",
            "hour": "14",
            "iso8601": "2022-09-28T14:59:08Z",
            "iso8601_basic": "20220928T145908432743",
            "iso8601_basic_short": "20220928T145908",
            "iso8601_micro": "2022-09-28T14:59:08.432743Z",
            "minute": "59",
            "month": "09",
            "second": "08",
            "time": "14:59:08",
            "tz": "UTC",
            "tz_dst": "UTC",
            "tz_offset": "+0000",
            "weekday": "Wednesday",
            "weekday_number": "3",
            "weeknumber": "39",
            "year": "2022"
        },
        "ansible_default_ipv4": {
            "address": "192.168.121.208",
            "alias": "eth0",
            "broadcast": "",
            "gateway": "192.168.121.1",
            "interface": "eth0",
            "macaddress": "52:54:00:93:bf:55",
            "mtu": 1500,
            "netmask": "255.255.255.0",
            "network": "192.168.121.0",
            "prefix": "24",
            "type": "ether"
        },
        "ansible_default_ipv6": {},
        "ansible_device_links": {
            "ids": {
                "dm-0": [
                    "dm-name-ubuntu--vg-ubuntu--lv",
                    "dm-uuid-LVM-OCdvbUchAVwSybgbrEjWtVbmTzeroauwPXz2n7sg2563qhduOt93iepwZft43DfI"
                ],
                "vda3": [
                    "lvm-pv-uuid-DsDW64-9K01-vQWI-TyE2-72d5-6ZHT-3dPBrZ"
                ]
            },
            "labels": {},
            "masters": {
                "vda3": [
                    "dm-0"
                ]
            },
            "uuids": {
                "dm-0": [
                    "72bc9ea1-4114-454c-aaf6-30c31692927f"
                ],
                "vda2": [
                    "76efc147-51cb-4680-9cba-11ca2f6175ab"
                ]
            }
        },
        "ansible_devices": {
            "dm-0": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [
                        "dm-name-ubuntu--vg-ubuntu--lv",
                        "dm-uuid-LVM-OCdvbUchAVwSybgbrEjWtVbmTzeroauwPXz2n7sg2563qhduOt93iepwZft43DfI"
                    ],
                    "labels": [],
                    "masters": [],
                    "uuids": [
                        "72bc9ea1-4114-454c-aaf6-30c31692927f"
                    ]
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "",
                "sectors": "31449088",
                "sectorsize": "512",
                "size": "15.00 GB",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop0": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "4096",
                "vendor": null,
                "virtual": 1
            },
            "loop1": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop2": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop3": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop4": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop5": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop6": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "loop7": {
                "holders": [],
                "host": "",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {},
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "none",
                "sectors": "0",
                "sectorsize": "512",
                "size": "0.00 Bytes",
                "support_discard": "0",
                "vendor": null,
                "virtual": 1
            },
            "vda": {
                "holders": [],
                "host": "SCSI storage controller: Red Hat, Inc. Virtio block device",
                "links": {
                    "ids": [],
                    "labels": [],
                    "masters": [],
                    "uuids": []
                },
                "model": null,
                "partitions": {
                    "vda1": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": []
                        },
                        "sectors": "2048",
                        "sectorsize": 512,
                        "size": "1.00 MB",
                        "start": "2048",
                        "uuid": null
                    },
                    "vda2": {
                        "holders": [],
                        "links": {
                            "ids": [],
                            "labels": [],
                            "masters": [],
                            "uuids": [
                                "76efc147-51cb-4680-9cba-11ca2f6175ab"
                            ]
                        },
                        "sectors": "4194304",
                        "sectorsize": 512,
                        "size": "2.00 GB",
                        "start": "4096",
                        "uuid": "76efc147-51cb-4680-9cba-11ca2f6175ab"
                    },
                    "vda3": {
                        "holders": [
                            "ubuntu--vg-ubuntu--lv"
                        ],
                        "links": {
                            "ids": [
                                "lvm-pv-uuid-DsDW64-9K01-vQWI-TyE2-72d5-6ZHT-3dPBrZ"
                            ],
                            "labels": [],
                            "masters": [
                                "dm-0"
                            ],
                            "uuids": []
                        },
                        "sectors": "62908416",
                        "sectorsize": 512,
                        "size": "30.00 GB",
                        "start": "4198400",
                        "uuid": null
                    }
                },
                "removable": "0",
                "rotational": "1",
                "sas_address": null,
                "sas_device_handle": null,
                "scheduler_mode": "mq-deadline",
                "sectors": "67108864",
                "sectorsize": "512",
                "size": "32.00 GB",
                "support_discard": "0",
                "vendor": "0x1af4",
                "virtual": 1
            }
        },
        "ansible_distribution": "Ubuntu",
        "ansible_distribution_file_parsed": true,
        "ansible_distribution_file_path": "/etc/os-release",
        "ansible_distribution_file_variety": "Debian",
        "ansible_distribution_major_version": "22",
        "ansible_distribution_release": "jammy",
        "ansible_distribution_version": "22.04",
        "ansible_dns": {
            "nameservers": [
                "127.0.0.53"
            ],
            "options": {
                "edns0": true,
                "trust-ad": true
            },
            "search": [
                "."
            ]
        },
        "ansible_domain": "juntotelecom.com.br",
        "ansible_effective_group_id": 0,
        "ansible_effective_user_id": 0,
        "ansible_env": {
            "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus",
            "HOME": "/root",
            "LANG": "C.UTF-8",
            "LOGNAME": "root",
            "MOTD_SHOWN": "pam",
            "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
            "PWD": "/root",
            "SHELL": "/bin/bash",
            "SHLVL": "0",
            "SSH_CLIENT": "10.240.0.200 53834 22",
            "SSH_CONNECTION": "10.240.0.200 53834 10.240.0.200 22",
            "SSH_TTY": "/dev/pts/3",
            "TERM": "xterm-256color",
            "USER": "root",
            "XDG_RUNTIME_DIR": "/run/user/0",
            "XDG_SESSION_CLASS": "user",
            "XDG_SESSION_ID": "25",
            "XDG_SESSION_TYPE": "tty",
            "_": "/bin/sh"
        },
        "ansible_eth0": {
            "active": true,
            "device": "eth0",
            "ipv4": {
                "address": "192.168.121.208",
                "broadcast": "",
                "netmask": "255.255.255.0",
                "network": "192.168.121.0",
                "prefix": "24"
            },
            "ipv6": [
                {
                    "address": "fe80::5054:ff:fe93:bf55",
                    "prefix": "64",
                    "scope": "link"
                }
            ],
            "macaddress": "52:54:00:93:bf:55",
            "module": "virtio_net",
            "mtu": 1500,
            "pciid": "virtio2",
            "promisc": false,
            "speed": -1,
            "type": "ether"
        },
        "ansible_eth1": {
            "active": true,
            "device": "eth1",
            "ipv4": {
                "address": "10.240.0.200",
                "broadcast": "10.240.0.255",
                "netmask": "255.255.255.0",
                "network": "10.240.0.0",
                "prefix": "24"
            },
            "ipv6": [
                {
                    "address": "fe80::5054:ff:fe90:13ea",
                    "prefix": "64",
                    "scope": "link"
                }
            ],
            "macaddress": "52:54:00:90:13:ea",
            "module": "virtio_net",
            "mtu": 1500,
            "pciid": "virtio3",
            "promisc": false,
            "speed": -1,
            "type": "ether"
        },
        "ansible_fibre_channel_wwn": [],
        "ansible_fips": false,
        "ansible_form_factor": "Other",
        "ansible_fqdn": "ansible-server.juntotelecom.com.br",
        "ansible_hostname": "ansible-server",
        "ansible_hostnqn": "",
        "ansible_interfaces": [
            "eth0",
            "lo",
            "eth1"
        ],
        "ansible_is_chroot": false,
        "ansible_iscsi_iqn": "iqn.2004-10.com.ubuntu:01:84de25ddfc37",
        "ansible_kernel": "5.15.0-47-generic",
        "ansible_kernel_version": "#51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022",
        "ansible_lo": {
            "active": true,
            "device": "lo",
            "ipv4": {
                "address": "127.0.0.1",
                "broadcast": "",
                "netmask": "255.0.0.0",
                "network": "127.0.0.0",
                "prefix": "8"
            },
            "ipv6": [
                {
                    "address": "::1",
                    "prefix": "128",
                    "scope": "host"
                }
            ],
            "mtu": 65536,
            "promisc": false,
            "type": "loopback"
        },
        "ansible_local": {},
        "ansible_lsb": {
            "codename": "jammy",
            "description": "Ubuntu 22.04.1 LTS",
            "id": "Ubuntu",
            "major_release": "22",
            "release": "22.04"
        },
        "ansible_lvm": {
            "lvs": {
                "ubuntu-lv": {
                    "size_g": "15.00",
                    "vg": "ubuntu-vg"
                }
            },
            "pvs": {
                "/dev/vda3": {
                    "free_g": "15.00",
                    "size_g": "30.00",
                    "vg": "ubuntu-vg"
                }
            },
            "vgs": {
                "ubuntu-vg": {
                    "free_g": "15.00",
                    "num_lvs": "1",
                    "num_pvs": "1",
                    "size_g": "30.00"
                }
            }
        },
        "ansible_machine": "x86_64",
        "ansible_machine_id": "7d015d1ef579422faf6e136b65bbf3f6",
        "ansible_memfree_mb": 2064,
        "ansible_memory_mb": {
            "nocache": {
                "free": 3511,
                "used": 413
            },
            "real": {
                "free": 2064,
                "total": 3924,
                "used": 1860
            },
            "swap": {
                "cached": 0,
                "free": 2047,
                "total": 2047,
                "used": 0
            }
        },
        "ansible_memtotal_mb": 3924,
        "ansible_mounts": [
            {
                "block_available": 2260221,
                "block_size": 4096,
                "block_total": 3842802,
                "block_used": 1582581,
                "device": "/dev/mapper/ubuntu--vg-ubuntu--lv",
                "fstype": "ext4",
                "inode_available": 846441,
                "inode_total": 983040,
                "inode_used": 136599,
                "mount": "/",
                "options": "rw,relatime",
                "size_available": 9257865216,
                "size_total": 15740116992,
                "uuid": "72bc9ea1-4114-454c-aaf6-30c31692927f"
            },
            {
                "block_available": 404912,
                "block_size": 4096,
                "block_total": 498138,
                "block_used": 93226,
                "device": "/dev/vda2",
                "fstype": "ext4",
                "inode_available": 130752,
                "inode_total": 131072,
                "inode_used": 320,
                "mount": "/boot",
                "options": "rw,relatime",
                "size_available": 1658519552,
                "size_total": 2040373248,
                "uuid": "76efc147-51cb-4680-9cba-11ca2f6175ab"
            }
        ],
        "ansible_nodename": "ansible-server",
        "ansible_os_family": "Debian",
        "ansible_pkg_mgr": "apt",
        "ansible_proc_cmdline": {
            "BOOT_IMAGE": "/vmlinuz-5.15.0-47-generic",
            "biosdevname": "0",
            "net.ifnames": "0",
            "ro": true,
            "root": "/dev/mapper/ubuntu--vg-ubuntu--lv"
        },
        "ansible_processor": [
            "0",
            "GenuineIntel",
            "Intel Core i7 9xx (Nehalem Core i7, IBRS update)",
            "1",
            "GenuineIntel",
            "Intel Core i7 9xx (Nehalem Core i7, IBRS update)"
        ],
        "ansible_processor_cores": 1,
        "ansible_processor_count": 2,
        "ansible_processor_nproc": 2,
        "ansible_processor_threads_per_core": 1,
        "ansible_processor_vcpus": 2,
        "ansible_product_name": "KVM",
        "ansible_product_serial": "NA",
        "ansible_product_uuid": "7d015d1e-f579-422f-af6e-136b65bbf3f6",
        "ansible_product_version": "RHEL 7.0.0 PC (i440FX + PIIX, 1996)",
        "ansible_python": {
            "executable": "/usr/bin/python3",
            "has_sslcontext": true,
            "type": "cpython",
            "version": {
                "major": 3,
                "micro": 4,
                "minor": 10,
                "releaselevel": "final",
                "serial": 0
            },
            "version_info": [
                3,
                10,
                4,
                "final",
                0
            ]
        },
        "ansible_python_version": "3.10.4",
        "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_dsa_public": "AAAAB3NzaC1kc3MAAACBANNC+ndxwb4FhZn3VzRCZDon9JiQjPM5FwxwYzrlmpDBARyhNEj/fJHGbwSlJse/nqbAb7DOFzyEcF5gGyONtxaQoWyvhbuYGLLphtX2Usr8hcWV8ZjdiDkxDNn7dpnCFndpRcZeMckb/4v33+ei6sAiLRqIHcjy6o1bycX/8ChrAAAAFQC9mB1ubF7CoGBm/UkZ95c7S7gmFwAAAIBatZBs+Q0SZfyPybz0TTlNJhsgO0y3+0rmaYcR12apQLuqW2knxJxBNV5g+kxc1mos//5HZYBGYAfIPaUSljqMEWP3Yr/LjhSNL/0x1uQOaJ9gjwZZVIOb+s9sXCmFc0uVidrsE5/HX90oZRN6LjeHdH/k9fJ2zYbD6ZXlskQnUgAAAIEAk6V8jreBUF2mfXQH4xmn1gn1tUiZSUS95oPF7NnGRp8SaYcnllKSiQ2KsrbD9AZMbyg93JBNL88gs4TxTzU4+YJD+7aeZ2EWKve2UMi4zBnAI3vCnu2GJ2d7hUklwxE8Xv6LoSWMER/gmOEb2UNldd/acMrOHYVgKTDDybM4U6Q=",
        "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss",
        "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMYxhwUsGbo7GeyitTunElmrgytXszWbhEF7DrKo9r5gThC0KezrozCoZZOUyYlEUlz6T7fj5xMlsuF9NaIUhXI=",
        "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256",
        "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIFYJJl7CDS0cNyH6Mz3mbHfzsOyfTdfQQirseAu8lmks",
        "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519",
        "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC3T4ikywIAj5YwN8NicSFq624GcA89uNdT+Y7DOqxKjS4JSFNNSnzZYzMK95SuELOUnRKu1EOKpxNFmtbft5YJoqhyoV2Jep5+XZBdhykCjkVw1Z+CqJq1vgZ49o+2lXxucIWG3wbHoReCso+mhLal4ANHIElz+tNZT2lO0ZwetqqPCItCAisQQSvCAOmeZ3Em2wJ5f+YKYmbL3EDQXSS8GpuMVzah/ZOQQjgf21v0QKbJo+KP7aLtXL6hn8ZdVC/KLrLl4vAbZ/ksrRsw2H5e4JufAbcAjMyb0Xmaw0nJTF68YLQtriEvZN7tA6MjyKKcbS/yp4xEyFqT+3F6j85G9RvCVyu+oy7Jo5nV8NhisBpszrOzgKZaoBgs7Kuxfk8nWPjZhMTVm+wDpLm+JrOip7DA/rH0qpM+ISreB2c8GkvQ78IuWR0Mb8LHWsc3+n5ixBlU0bCqzDICuNgmlmNq505B737JHYIrwtDlrS3dCsTaQCZE3XsoreyVqOyXzGs=",
        "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa",
        "ansible_swapfree_mb": 2047,
        "ansible_swaptotal_mb": 2047,
        "ansible_system": "Linux",
        "ansible_system_capabilities": [],
        "ansible_system_capabilities_enforced": "False",
        "ansible_system_vendor": "Red Hat",
        "ansible_uptime_seconds": 697393,
        "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": [
            "kvm"
        ],
        "ansible_virtualization_tech_host": [
            "kvm"
        ],
        "ansible_virtualization_type": "kvm",
        "discovered_interpreter_python": "/usr/bin/python3",
        "gather_subset": [
            "all"
        ],
        "module_setup": true
    },
    "changed": false
}