ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-Zkj.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-Zkj.yml as it did not pass its verify_file() method Parsed /tmp/inventory-Zkj.yml inventory source with yaml plugin statically imported: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_basic_ipa.yml ************************************************** 1 plays in /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml PLAY [Test using IPA to issue certs] ******************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Thursday 13 February 2025 13:31:44 -0500 (0:00:00.030) 0:00:00.030 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634 `" && echo ansible-tmp-1739471504.19-15929-263693724039634="` echo /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471504.19-15929-263693724039634=/root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634\n', '') Attempting python interpreter discovery <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.45.236> (0, 'PLATFORM\nLinux\nFOUND\n/usr/bin/python\n/usr/bin/python2.7\n/usr/libexec/platform-python\n/usr/bin/python\nENDFOUND\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.45.236> (0, '{"osrelease_content": "NAME=\\"CentOS Linux\\"\\nVERSION=\\"7 (Core)\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"7\\"\\nPRETTY_NAME=\\"CentOS Linux 7 (Core)\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:7\\"\\nHOME_URL=\\"https://www.centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugs.centos.org/\\"\\n\\nCENTOS_MANTISBT_PROJECT=\\"CentOS-7\\"\\nCENTOS_MANTISBT_PROJECT_VERSION=\\"7\\"\\nREDHAT_SUPPORT_PRODUCT=\\"centos\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"7\\"\\n\\n", "platform_dist_result": ["centos", "7.9.2009", "Core"]}\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpGPZQip TO /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/AnsiballZ_setup.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpGPZQip /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/AnsiballZ_setup.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/ /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gnueglellakexnvgregnnnwapjputxqn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/AnsiballZ_setup.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"USERNAME": "root", "LANG": "en_US.UTF-8", "TERM": "unknown", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SUDO_COMMAND": "/bin/sh -c echo BECOME-SUCCESS-gnueglellakexnvgregnnnwapjputxqn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/AnsiballZ_setup.py", "SHLVL": "1", "XDG_SESSION_ID": "4", "SUDO_UID": "0", "SUDO_GID": "0", "PWD": "/root", "LOGNAME": "root", "USER": "root", "MAIL": "/var/mail/root", "PATH": "/sbin:/bin:/usr/sbin:/usr/bin", "SUDO_USER": "root", "LS_COLORS": "", "HOME": "/root", "_": "/usr/bin/python"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "02:56:15:0b:0e:af", "network": "10.31.44.0", "mtu": 9001, "broadcast": "10.31.47.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.45.236", "interface": "eth0", "type": "ether", "gateway": "10.31.44.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "8d852cc562544293b2bf939e6a1ba4ab", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2C356E-EF2A-9F6A-BE61-21D957ACC6D7", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::56:15ff:fe0b:eaf"], "ansible_uptime_seconds": 305, "ansible_kernel": "3.10.0-1160.119.1.el7.x86_64", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "ec2c356e-ef2a-9f6a-be61-21d957acc6d7", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "02:56:15:0b:0e:af", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.47.255", "netmask": "255.255.252.0", "network": "10.31.44.0", "address": "10.31.45.236"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::56:15ff:fe0b:eaf"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.45.236"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 848, "free": 2752}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 185, "free": 3415}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2752, "ansible_processor_count": 1, "ansible_hostname": "managed-node3", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node3", "ansible_mounts": [{"block_used": 3203726, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287134, "size_available": 251032100864, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65220, "block_size": 4096, "inode_available": 16318780}], "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T133145", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "31", "tz_offset": "-0500", "month": "02", "epoch": "1739471505", "iso8601_micro": "2025-02-13T18:31:45.284808Z", "weekday": "Thursday", "time": "13:31:45", "date": "2025-02-13", "iso8601": "2025-02-13T18:31:45Z", "day": "13", "iso8601_basic": "20250213T133145284808", "second": "45"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "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", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471504.19-15929-263693724039634/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') ok: [managed-node3] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Thursday 13 February 2025 13:31:45 -0500 (0:00:01.210) 0:00:01.240 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007 `" && echo ansible-tmp-1739471505.43-15977-14254552029007="` echo /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471505.43-15977-14254552029007=/root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpcMRE5V TO /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/AnsiballZ_stat.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpcMRE5V /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/AnsiballZ_stat.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/ /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-npqqajkfgciopvdqdsiloeqgmtdpyidw ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/AnsiballZ_stat.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/run/ostree-booted", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471505.43-15977-14254552029007/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } META: end_host conditional evaluated to false, continuing execution for managed-node3 TASK [Set __is_beaker_env] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Thursday 13 February 2025 13:31:45 -0500 (0:00:00.500) 0:00:01.741 ***** ok: [managed-node3] => { "ansible_facts": { "__is_beaker_env": false }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Thursday 13 February 2025 13:31:45 -0500 (0:00:00.027) 0:00:01.769 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016 `" && echo ansible-tmp-1739471505.93-16045-102621483118016="` echo /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471505.93-16045-102621483118016=/root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpGWIXR6 TO /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/AnsiballZ_stat.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpGWIXR6 /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/AnsiballZ_stat.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/ /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-bqbyeqascueudjonhcoccljsfquyfpgj ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/AnsiballZ_stat.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/run/ostree-booted", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471505.93-16045-102621483118016/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Thursday 13 February 2025 13:31:46 -0500 (0:00:00.278) 0:00:02.047 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Thursday 13 February 2025 13:31:46 -0500 (0:00:00.027) 0:00:02.075 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Thursday 13 February 2025 13:31:46 -0500 (0:00:00.055) 0:00:02.130 ***** <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621 `" && echo ansible-tmp-1739471506.28-16100-46773710520621="` echo /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpcLMdVj TO /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621/ /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471506.28-16100-46773710520621/ > /dev/null 2>&1 && sleep 0' ok: [managed-node3 -> 127.0.0.1] => { "changed": false, "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": null, "mode": null, "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": null, "path": "/tmp/freeipa-repo/", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": false } }, "path": "/tmp/freeipa-repo/", "state": "absent" } TASK [Clone ansible-freeipa repo] ********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Thursday 13 February 2025 13:31:46 -0500 (0:00:00.334) 0:00:02.465 ***** <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987 `" && echo ansible-tmp-1739471506.61-16166-49532551233987="` echo /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/source_control/git.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpEq9ttj TO /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987/AnsiballZ_git.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987/ /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987/AnsiballZ_git.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987/AnsiballZ_git.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471506.61-16166-49532551233987/ > /dev/null 2>&1 && sleep 0' [WARNING]: Your git version is too old to fully support the depth argument. Falling back to full checkouts. changed: [managed-node3 -> 127.0.0.1] => { "after": "feb33e4e3a4832c84724baa85ad51fee391bc995", "before": null, "changed": true, "invocation": { "module_args": { "accept_hostkey": false, "archive": null, "bare": false, "clone": true, "depth": 1, "dest": "/tmp/freeipa-repo", "executable": null, "force": false, "gpg_whitelist": [], "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://github.com/freeipa/ansible-freeipa", "separate_git_dir": null, "ssh_opts": null, "track_submodules": false, "umask": null, "update": true, "verify_commit": false, "version": "HEAD" } } } TASK [Create role symlinks] **************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Thursday 13 February 2025 13:31:48 -0500 (0:00:01.507) 0:00:03.973 ***** <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489 `" && echo ansible-tmp-1739471508.13-16233-155744041757489="` echo /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpfQBFC5 TO /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489/ /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471508.13-16233-155744041757489/ > /dev/null 2>&1 && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'echo ~root && sleep 0' changed: [managed-node3 -> 127.0.0.1] => (item=ipaserver) => { "ansible_loop_var": "item", "changed": true, "dest": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "diff": { "after": { "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "state": "link" }, "before": { "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "directory_mode": null, "follow": true, "force": false, "group": null, "mode": null, "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": null, "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/tmp/freeipa-repo/roles/ipaserver/", "state": "link", "unsafe_writes": false } }, "item": "ipaserver", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaserver/", "state": "link", "uid": 0 } <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044 `" && echo ansible-tmp-1739471508.32-16233-196455059836044="` echo /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <127.0.0.1> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpZ_pIXD TO /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044/ /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471508.32-16233-196455059836044/ > /dev/null 2>&1 && sleep 0' changed: [managed-node3 -> 127.0.0.1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": true, "dest": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "diff": { "after": { "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "state": "link" }, "before": { "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "dest": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "directory_mode": null, "follow": true, "force": false, "group": null, "mode": null, "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "owner": null, "path": "/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/tmp/freeipa-repo/roles/ipaclient/", "state": "link", "unsafe_writes": false } }, "item": "ipaclient", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 34, "src": "/tmp/freeipa-repo/roles/ipaclient/", "state": "link", "uid": 0 } TASK [Ensure hostname package is installed] ************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Thursday 13 February 2025 13:31:48 -0500 (0:00:00.368) 0:00:04.342 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365 `" && echo ansible-tmp-1739471508.63-16277-274239002128365="` echo /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471508.63-16277-274239002128365=/root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpaWJsmD TO /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/AnsiballZ_yum.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpaWJsmD /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/AnsiballZ_yum.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/ /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-gsiaqpqygwzbzexbnldezfgqbuqvivbv ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/AnsiballZ_yum.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["hostname"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["hostname-3.13-3.el7_7.1.x86_64 providing hostname is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471508.63-16277-274239002128365/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "hostname" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "hostname-3.13-3.el7_7.1.x86_64 providing hostname is already installed" ] } TASK [Set hostname] ************************************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Thursday 13 February 2025 13:31:49 -0500 (0:00:00.832) 0:00:05.174 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553 `" && echo ansible-tmp-1739471509.33-16298-157854916613553="` echo /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471509.33-16298-157854916613553=/root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/hostname.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpEY3HdR TO /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/AnsiballZ_hostname.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpEY3HdR /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/AnsiballZ_hostname.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/ /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/AnsiballZ_hostname.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-exrzqdkgpgmhoqpkfffiqbwempculzxu ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/AnsiballZ_hostname.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"invocation": {"module_args": {"use": "systemd", "name": "ipaserver.test.local"}}, "diff": {"after": "hostname = ipaserver.test.local\\n", "before": "hostname = managed-node3\\n"}, "changed": true, "ansible_facts": {"ansible_hostname": "ipaserver", "ansible_domain": "test.local", "ansible_fqdn": "ipaserver.test.local", "ansible_nodename": "ipaserver.test.local"}, "name": "ipaserver.test.local"}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471509.33-16298-157854916613553/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') changed: [managed-node3] => { "ansible_facts": { "ansible_domain": "test.local", "ansible_fqdn": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local" }, "changed": true, "diff": { "after": "hostname = ipaserver.test.local\n", "before": "hostname = managed-node3\n" }, "invocation": { "module_args": { "name": "ipaserver.test.local", "use": "systemd" } }, "name": "ipaserver.test.local" } TASK [Ensure nss package is up-to-date] **************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Thursday 13 February 2025 13:31:50 -0500 (0:00:00.762) 0:00:05.937 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553 `" && echo ansible-tmp-1739471510.19-16326-270409569150553="` echo /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471510.19-16326-270409569150553=/root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpcQLeQ3 TO /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/AnsiballZ_yum.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpcQLeQ3 /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/AnsiballZ_yum.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/ /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-xfwlpxorqaywvgmvrywulereuhanxkyy ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/AnsiballZ_yum.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"changed": false, "results": ["All packages providing nss are up to date", ""], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "latest", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["nss"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"updated": [], "installed": []}}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471510.19-16326-270409569150553/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') ok: [managed-node3] => { "changed": false, "changes": { "installed": [], "updated": [] }, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "nss" ], "releasever": null, "security": false, "skip_broken": false, "state": "latest", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "All packages providing nss are up to date", "" ] } TASK [Sanitize /etc/hosts] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:72 Thursday 13 February 2025 13:31:54 -0500 (0:00:04.428) 0:00:10.365 ***** <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.45.236> (0, '/root\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497 `" && echo ansible-tmp-1739471514.52-16561-30629811830497="` echo /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497 `" ) && sleep 0'"'"'' <10.31.45.236> (0, 'ansible-tmp-1739471514.52-16561-30629811830497=/root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/lineinfile.py <10.31.45.236> PUT /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpxz7puF TO /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/AnsiballZ_lineinfile.py <10.31.45.236> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ef64876e38 '[10.31.45.236]' <10.31.45.236> (0, 'sftp> put /root/.ansible/tmp/ansible-local-15810Ejdzvl/tmpxz7puF /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/AnsiballZ_lineinfile.py\n', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/ /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/AnsiballZ_lineinfile.py && sleep 0'"'"'' <10.31.45.236> (0, '', '') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 -tt 10.31.45.236 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-xmlwtexsstbrpyiqeirzayokceugjaje ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/AnsiballZ_lineinfile.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.45.236> (0, '\r\n{"changed": true, "msg": "1 line(s) removed", "found": 1, "invocation": {"module_args": {"directory_mode": null, "force": null, "remote_src": null, "backrefs": false, "insertafter": null, "path": "/etc/hosts", "owner": "root", "follow": false, "validate": null, "group": "root", "insertbefore": null, "unsafe_writes": false, "create": false, "state": "absent", "content": null, "serole": null, "setype": null, "selevel": null, "regexp": "10.31.45.236", "line": null, "src": null, "seuser": null, "delimiter": null, "mode": "0644", "firstmatch": false, "attributes": null, "backup": false}}, "diff": [{"after": "", "before_header": "/etc/hosts (content)", "after_header": "/etc/hosts (content)", "before": ""}, {"before_header": "/etc/hosts (file attributes)", "after_header": "/etc/hosts (file attributes)"}], "backup": ""}\r\n', 'Shared connection to 10.31.45.236 closed.\r\n') <10.31.45.236> ESTABLISH SSH CONNECTION FOR USER: None <10.31.45.236> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/ef64876e38 10.31.45.236 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471514.52-16561-30629811830497/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.45.236> (0, '', '') changed: [managed-node3] => { "backup": "", "changed": true, "diff": [ { "after": "", "after_header": "/etc/hosts (content)", "before": "", "before_header": "/etc/hosts (content)" }, { "after_header": "/etc/hosts (file attributes)", "before_header": "/etc/hosts (file attributes)" } ], "found": 1, "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": "root", "insertafter": null, "insertbefore": null, "line": null, "mode": "0644", "owner": "root", "path": "/etc/hosts", "regexp": "10.31.45.236", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": false, "validate": null } } } MSG: 1 line(s) removed TASK [Add host to /etc/hosts] ************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:83 Thursday 13 February 2025 13:31:54 -0500 (0:00:00.394) 0:00:10.760 ***** fatal: [managed-node3]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'ipaserver' is undefined The error appears to be in '/tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 83, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Add host to /etc/hosts ^ here PLAY RECAP ********************************************************************* managed-node3 : ok=12 changed=4 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Thursday 13 February 2025 13:31:54 -0500 (0:00:00.016) 0:00:10.776 ***** =============================================================================== Ensure nss package is up-to-date ---------------------------------------- 4.43s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Clone ansible-freeipa repo ---------------------------------------------- 1.51s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Ensure hostname package is installed ------------------------------------ 0.83s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Set hostname ------------------------------------------------------------ 0.76s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Check if system is ostree ----------------------------------------------- 0.50s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Sanitize /etc/hosts ----------------------------------------------------- 0.39s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:72 Create role symlinks ---------------------------------------------------- 0.37s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Ensure freeipa-repo is absent ------------------------------------------- 0.33s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Check if system is ostree ----------------------------------------------- 0.28s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Install ansible-freeipa ------------------------------------------------- 0.06s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Set __is_beaker_env ----------------------------------------------------- 0.03s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Add host to /etc/hosts -------------------------------------------------- 0.02s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:83