I have a test environment"
control
ansible1
ansible2
[ansible@control ~]$ ansible ansible1 -m setup | grep ansible_local
“ansible_local”: {},
Why is “ansible_local” empty? Normally you have the installed packages there.
I have a test environment"
control
ansible1
ansible2
[ansible@control ~]$ ansible ansible1 -m setup | grep ansible_local
“ansible_local”: {},
Why is “ansible_local” empty? Normally you have the installed packages there.
[ansible@control ~]$ ansible ansible2 -m setup|grep package
“packages”: {
“packages”: {
“db_package”: “mariadb”,
“firewall_package”: “firewalld”,
“ftp_package”: “vsftpd”,
“smb_package”: “samba”,
“web_package”: “httpd”
[ansible@control ~]$ ansible ansible1 -m setup|grep package
[ansible@control ~]$
Why not on ansible1?
Hi
Check whether are you able to take ssh connection to the ansible1 server . What is your whole facts looks like for the ansible1 server
//vinoth
Here is the output of:
ansible ansible1 -m setup:
ansible1 | SUCCESS => {
“ansible_facts”: {
“ansible_all_ipv4_addresses”: [
“192.168.122.114”
],
“ansible_all_ipv6_addresses”: [
“fe80::92aa:3516:18a0:dc7d”
],
“ansible_apparmor”: {
“status”: “disabled”
},
“ansible_architecture”: “x86_64”,
“ansible_bios_date”: “04/01/2014”,
“ansible_bios_version”: “1.13.0-2.module_el8.3.0+555+a55c8938”,
“ansible_cmdline”: {
“BOOT_IMAGE”: “(hd0,msdos1)/vmlinuz-4.18.0-80.el8.x86_64”,
“crashkernel”: “auto”,
“quiet”: true,
“rd.lvm.lv”: “cl/swap”,
“resume”: “/dev/mapper/cl-swap”,
“rhgb”: true,
“ro”: true,
“root”: “/dev/mapper/cl-root”
},
“ansible_date_time”: {
“date”: “2021-05-26”,
“day”: “26”,
“epoch”: “1622035181”,
“hour”: “15”,
“iso8601”: “2021-05-26T13:19:41Z”,
“iso8601_basic”: “20210526T151941521220”,
“iso8601_basic_short”: “20210526T151941”,
“iso8601_micro”: “2021-05-26T13:19:41.521220Z”,
“minute”: “19”,
“month”: “05”,
“second”: “41”,
“time”: “15:19:41”,
“tz”: “CEST”,
“tz_offset”: “+0200”,
“weekday”: “Wednesday”,
“weekday_number”: “3”,
“weeknumber”: “21”,
“year”: “2021”
},
“ansible_default_ipv4”: {
“address”: “192.168.122.114”,
“alias”: “enp1s0”,
“broadcast”: “192.168.122.255”,
“gateway”: “192.168.122.1”,
“interface”: “enp1s0”,
“macaddress”: “52:54:00:8a:e2:92”,
“mtu”: 1500,
“netmask”: “255.255.255.0”,
“network”: “192.168.122.0”,
“type”: “ether”
},
“ansible_default_ipv6”: {},
“ansible_device_links”: {
“ids”: {
“dm-0”: [
“dm-name-cl-root”,
“dm-uuid-LVM-kFvknsXPktlcj0UcbGOCfeufz2BHMOTPEmpyOC21V2MkfAUHAQyUnqRhadvwrNaF”
],
“dm-1”: [
“dm-name-cl-swap”,
“dm-uuid-LVM-kFvknsXPktlcj0UcbGOCfeufz2BHMOTPNINzMSaxM0NYqCH6Th7Hf0W0kOlowQa6”
],
“sr0”: [
“ata-QEMU_DVD-ROM_QM00001”
],
“vda2”: [
“lvm-pv-uuid-wPqbFC-9oTJ-gJ5J-OsHt-Whfl-sVqh-93qULc”
]
},
“labels”: {},
“masters”: {
“vda2”: [
“dm-0”,
“dm-1”
]
},
“uuids”: {
“dm-0”: [
“4a7311e9-0ca4-4f13-a035-cad464412c3d”
],
“dm-1”: [
“b1d288e4-1fea-4c89-8c7f-57328b9a5645”
],
“vda1”: [
“7d04b887-dca4-4962-b37a-c25bd6a1cd03”
]
}
},
“ansible_devices”: {
“dm-0”: {
“holders”: ,
“host”: “”,
“links”: {
“ids”: [
“dm-name-cl-root”,
“dm-uuid-LVM-kFvknsXPktlcj0UcbGOCfeufz2BHMOTPEmpyOC21V2MkfAUHAQyUnqRhadvwrNaF”
],
“labels”: ,
“masters”: ,
“uuids”: [
“4a7311e9-0ca4-4f13-a035-cad464412c3d”
]
},
“model”: null,
“partitions”: {},
“removable”: “0”,
“rotational”: “1”,
“sas_address”: null,
“sas_device_handle”: null,
“scheduler_mode”: “”,
“sectors”: “35643392”,
“sectorsize”: “512”,
“size”: “17.00 GB”,
“support_discard”: “0”,
“vendor”: null,
“virtual”: 1
},
“dm-1”: {
“holders”: ,
“host”: “”,
“links”: {
“ids”: [
“dm-name-cl-swap”,
“dm-uuid-LVM-kFvknsXPktlcj0UcbGOCfeufz2BHMOTPNINzMSaxM0NYqCH6Th7Hf0W0kOlowQa6”
],
“labels”: ,
“masters”: ,
“uuids”: [
“b1d288e4-1fea-4c89-8c7f-57328b9a5645”
]
},
“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
},
“sr0”: {
“holders”: ,
“host”: “”,
“links”: {
“ids”: [
“ata-QEMU_DVD-ROM_QM00001”
],
“labels”: ,
“masters”: ,
“uuids”:
},
“model”: “QEMU DVD-ROM”,
“partitions”: {},
“removable”: “1”,
“rotational”: “1”,
“sas_address”: null,
“sas_device_handle”: null,
“scheduler_mode”: “mq-deadline”,
“sectors”: “2097151”,
“sectorsize”: “512”,
“size”: “1024.00 MB”,
“support_discard”: “0”,
“vendor”: “QEMU”,
“virtual”: 1
},
“vda”: {
“holders”: ,
“host”: “”,
“links”: {
“ids”: ,
“labels”: ,
“masters”: ,
“uuids”:
},
“model”: null,
“partitions”: {
“vda1”: {
“holders”: ,
“links”: {
“ids”: ,
“labels”: ,
“masters”: ,
“uuids”: [
“7d04b887-dca4-4962-b37a-c25bd6a1cd03”
]
},
“sectors”: “2097152”,
“sectorsize”: 512,
“size”: “1.00 GB”,
“start”: “2048”,
“uuid”: “7d04b887-dca4-4962-b37a-c25bd6a1cd03”
},
},
“vda2”: {
“holders”: [
“cl-swap”,
“cl-root”
],
“links”: {
“ids”: [
“lvm-pv-uuid-wPqbFC-9oTJ-gJ5J-OsHt-Whfl-sVqh-93qULc”
],
“labels”: ,
“masters”: [
“dm-0”,
“dm-1”
],
“uuids”:
},
“sectors”: “39843840”,
“sectorsize”: 512,
“size”: “19.00 GB”,
“start”: “2099200”,
“uuid”: null
}
},
“removable”: “0”,
“rotational”: “1”,
“sas_address”: null,
“sas_device_handle”: null,
“scheduler_mode”: “mq-deadline”,
“sectors”: “41943040”,
“sectorsize”: “512”,
“size”: “20.00 GB”,
“support_discard”: “0”,
“vendor”: “0x1af4”,
“virtual”: 1
}
},
“ansible_distribution”: “CentOS”,
“ansible_distribution_file_parsed”: true,
“ansible_distribution_file_path”: “/etc/redhat-release”,
“ansible_distribution_file_variety”: “RedHat”,
“ansible_distribution_major_version”: “8”,
“ansible_distribution_release”: “Core”,
“ansible_distribution_version”: “8.0”,
“ansible_dns”: {
“nameservers”: [
“192.168.122.1”
],
“search”: [
“example.com”
]
},
“ansible_domain”: “zolder.local”,
“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”: “192.168.122.114”,
“broadcast”: “192.168.122.255”,
“netmask”: “255.255.255.0”,
“network”: “192.168.122.0”
},
“ipv6”: [
{
“address”: “fe80::92aa:3516:18a0:dc7d”,
“prefix”: “64”,
“scope”: “link”
}
],
“macaddress”: “52:54:00:8a:e2:92”,
“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/ansible”,
“PATH”: “/sbin:/bin:/usr/sbin:/usr/bin”,
“PWD”: “/home/ansible”,
“SHELL”: “/bin/bash”,
“SHLVL”: “1”,
“SUDO_COMMAND”: “/bin/sh -c echo BECOME-SUCCESS-tcyxccccqufwhfljgzidfdgqxljcodqm ; /usr/libexec/platform-python /home/ansible/.ansible/tmp/ansible-tmp-1622035180.617051-2631-269564334078024/AnsiballZ_setup.py”,
“SUDO_GID”: “1001”,
“SUDO_UID”: “1001”,
“SUDO_USER”: “ansible”,
“TERM”: “xterm-256color”,
“USER”: “root”,
“USERNAME”: “root”,
“_”: “/usr/libexec/platform-python”
},
“ansible_fibre_channel_wwn”: ,
“ansible_fips”: false,
“ansible_form_factor”: “Other”,
“ansible_fqdn”: “centos8-2.zolder.local”,
“ansible_hostname”: “ansible1”,
“ansible_hostnqn”: “”,
“ansible_interfaces”: [
“enp1s0”,
“lo”
],
“ansible_is_chroot”: false,
“ansible_iscsi_iqn”: “”,
“ansible_kernel”: “4.18.0-80.el8.x86_64”,
“ansible_kernel_version”: “#1 SMP Tue Jun 4 09:19:46 UTC 2019”,
“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”: “”,
“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”: {
“root”: {
“size_g”: “17.00”,
“vg”: “cl”
},
“swap”: {
“size_g”: “2.00”,
“vg”: “cl”
}
},
“pvs”: {
“/dev/vda2”: {
“free_g”: “0”,
“size_g”: “19.00”,
“vg”: “cl”
}
},
“vgs”: {
“cl”: {
“free_g”: “0”,
“num_lvs”: “2”,
“num_pvs”: “1”,
“size_g”: “19.00”
}
}
},
“ansible_machine”: “x86_64”,
“ansible_machine_id”: “17a6cebf5aed4a9db063f25121d56cc1”,
“ansible_memfree_mb”: 309,
“ansible_memory_mb”: {
“nocache”: {
“free”: 580,
“used”: 241
},
“real”: {
“free”: 309,
“total”: 821,
“used”: 512
},
“swap”: {
“cached”: 0,
“free”: 2047,
“total”: 2047,
“used”: 0
}
},
“ansible_memtotal_mb”: 821,
“ansible_mounts”: [
{
“block_available”: 4063370,
“block_size”: 4096,
“block_total”: 4452864,
“block_used”: 389494,
“device”: “/dev/mapper/cl-root”,
“fstype”: “xfs”,
“inode_available”: 8873134,
“inode_total”: 8910848,
“inode_used”: 37714,
“mount”: “/”,
“options”: “rw,seclabel,relatime,attr2,inode64,noquota”,
“size_available”: 16643563520,
“size_total”: 18238930944,
“uuid”: “4a7311e9-0ca4-4f13-a035-cad464412c3d”
},
{
“block_available”: 200418,
“block_size”: 4096,
“block_total”: 249830,
“block_used”: 49412,
“device”: “/dev/vda1”,
“fstype”: “ext4”,
“inode_available”: 65227,
“inode_total”: 65536,
“inode_used”: 309,
“mount”: “/boot”,
“options”: “rw,seclabel,relatime”,
“size_available”: 820912128,
“size_total”: 1023303680,
“uuid”: “7d04b887-dca4-4962-b37a-c25bd6a1cd03”
}
],
“ansible_nodename”: “ansible1.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”: [
“cl/root”,
“cl/swap”
],
“resume”: “/dev/mapper/cl-swap”,
“rhgb”: true,
“ro”: true,
“root”: “/dev/mapper/cl-root”
},
“ansible_processor”: [
“0”,
“GenuineIntel”,
“Intel Core Processor (Haswell, no TSX, IBRS)”
],
“ansible_processor_cores”: 1,
“ansible_processor_count”: 1,
“ansible_processor_threads_per_core”: 1,
“ansible_processor_vcpus”: 1,
“ansible_product_name”: “KVM”,
“ansible_product_serial”: “NA”,
“ansible_product_uuid”: “02368bf1-6d9b-455e-8797-8f54d78559ba”,
“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”: “AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAohw4KvBZ6oe6eahURrJ4mK38Wl+3ptaRDVWtVceDUW5/fXl4dW7A4GaFtm4TJQgfy1hF0ElGJNTiFrExiTV+0=”,
“ansible_ssh_host_key_ed25519_public”: “AAAAC3NzaC1lZDI1NTE5AAAAIKAVJFndaF2c9rr6j7TKjYXVQpeIFaepds+2dNgvzCRq”,
“ansible_ssh_host_key_rsa_public”: “AAAAB3NzaC1yc2EAAAADAQABAAABAQC7yesTYH8lcT6FHDHey8REOPkHUYiz5njYa/DBwipxLbxUs6/oEwQH0MYG6AVMhcXlh5Xg5O3Nh5ijEMr+K72KHt/z+vtt6rdNdDgQpvqTijlBN70rG8b5bsz1YqXT0TE0ECyvOt79O554zZJuoDRphO25n6dLoZF60/LU0Y5vRG70v0Ma7A5FtZCUanHUPc978tI7qwuNf7iHvUzdgt4GFC124gqlzfGG22tFcis6rytvyXghgaYWr3KdtPqRKAPmQl9abb56c+zDZSJnggMoksDYeroe8e6XRye7raVQF8ML32B4VNLShtCOtqnP3BmDMrtsgGAWRFQ8IfUXzYTL”,
“ansible_swapfree_mb”: 2047,
“ansible_swaptotal_mb”: 2047,
“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”: 2278,
“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_type”: “kvm”,
“gather_subset”: [
“all”
],
“module_setup”: true
},
“changed”: false
}
and yes I can ssh to ansible1:
[ansible@control ~]$ ssh ansible1
Last login: Wed May 26 15:19:41 2021 from 192.168.122.51
[ansible@ansible1 ~]$