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-kuH.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method Parsed /tmp/inventory-kuH.yml inventory source with yaml plugin statically imported: /tmp/collections-Fh9/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-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Thursday 13 February 2025 13:51:11 -0500 (0:00:00.038) 0:00:00.038 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624 `" && echo ansible-tmp-1739472671.39-15985-12543076523624="` echo /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472671.39-15985-12543076523624=/root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624\n', '') Attempting python interpreter discovery <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/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.42.98> (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.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.42.98> (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.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmph61r9g TO /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/AnsiballZ_setup.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmph61r9g /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/AnsiballZ_setup.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/ /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-sagysyydtjkbabztiasqdmavxsewosqn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/AnsiballZ_setup.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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-sagysyydtjkbabztiasqdmavxsewosqn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/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": "0e:ef:88:be:98:e1", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.98", "interface": "eth0", "type": "ether", "gateway": "10.31.40.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": "545e8685ceae44ea8916479c0a8ad7b1", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2D701A-8B99-E6F7-9127-2B326A6E7FE0", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::cef:88ff:febe:98e1"], "ansible_uptime_seconds": 354, "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": "ec2d701a-8b99-e6f7-9127-2b326a6e7fe0", "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": "0e:ef:88:be:98:e1", "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.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.98"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::cef:88ff:febe:98e1"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.98"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 845, "free": 2755}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 182, "free": 3418}}, "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": 2755, "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": 3203725, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287135, "size_available": 251032104960, "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": "20250213T135112", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "51", "tz_offset": "-0500", "month": "02", "epoch": "1739472672", "iso8601_micro": "2025-02-13T18:51:12.214053Z", "weekday": "Thursday", "time": "13:51:12", "date": "2025-02-13", "iso8601": "2025-02-13T18:51:12Z", "day": "13", "iso8601_basic": "20250213T135112214053", "second": "12"}, "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472671.39-15985-12543076523624/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] META: ran handlers TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Thursday 13 February 2025 13:51:12 -0500 (0:00:01.018) 0:00:01.056 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004 `" && echo ansible-tmp-1739472672.48-16023-181307360709004="` echo /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472672.48-16023-181307360709004=/root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpzAQNBN TO /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpzAQNBN /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/ /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ouuqcrnnrxlfmiouupxfwiqvukbssejm ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/AnsiballZ_stat.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472672.48-16023-181307360709004/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Thursday 13 February 2025 13:51:12 -0500 (0:00:00.606) 0:00:01.662 ***** ok: [managed-node3] => { "ansible_facts": { "__is_beaker_env": false }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 Thursday 13 February 2025 13:51:13 -0500 (0:00:00.036) 0:00:01.699 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459 `" && echo ansible-tmp-1739472673.06-16101-18158309998459="` echo /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472673.06-16101-18158309998459=/root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpRizBU4 TO /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpRizBU4 /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/ /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-erftrbduoyaiawdnlbktzmodowqpcjgv ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/AnsiballZ_stat.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472673.06-16101-18158309998459/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 Thursday 13 February 2025 13:51:13 -0500 (0:00:00.328) 0:00:02.027 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [Install ansible-freeipa] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18 Thursday 13 February 2025 13:51:13 -0500 (0:00:00.031) 0:00:02.059 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure freeipa-repo is absent] ******************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Thursday 13 February 2025 13:51:13 -0500 (0:00:00.019) 0:00:02.079 ***** <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-1739472673.41-16124-30639526247803 `" && echo ansible-tmp-1739472673.41-16124-30639526247803="` echo /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803 `" ) && 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-158749xbO2Z/tmpRIz7jc TO /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803/ /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472673.41-16124-30639526247803/ > /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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Thursday 13 February 2025 13:51:13 -0500 (0:00:00.340) 0:00:02.419 ***** <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-1739472673.76-16179-191127320442772 `" && echo ansible-tmp-1739472673.76-16179-191127320442772="` echo /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772 `" ) && 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-158749xbO2Z/tmpPfvw1m TO /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772/AnsiballZ_git.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772/ /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772/AnsiballZ_git.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772/AnsiballZ_git.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472673.76-16179-191127320442772/ > /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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Thursday 13 February 2025 13:51:15 -0500 (0:00:01.702) 0:00:04.121 ***** <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-1739472675.46-16291-220569285637141 `" && echo ansible-tmp-1739472675.46-16291-220569285637141="` echo /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141 `" ) && 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-158749xbO2Z/tmpuiGUJw TO /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141/ /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472675.46-16291-220569285637141/ > /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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "diff": { "after": { "path": "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaserver", "state": "link" }, "before": { "path": "/tmp/collections-Fh9/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-Fh9/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-Fh9/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-1739472675.63-16291-104671891333186 `" && echo ansible-tmp-1739472675.63-16291-104671891333186="` echo /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186 `" ) && 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-158749xbO2Z/tmp5lvXcm TO /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186/AnsiballZ_file.py <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186/ /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186/AnsiballZ_file.py && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472675.63-16291-104671891333186/ > /dev/null 2>&1 && sleep 0' changed: [managed-node3 -> 127.0.0.1] => (item=ipaclient) => { "ansible_loop_var": "item", "changed": true, "dest": "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "diff": { "after": { "path": "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/roles/ipaclient", "state": "link" }, "before": { "path": "/tmp/collections-Fh9/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-Fh9/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-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Thursday 13 February 2025 13:51:15 -0500 (0:00:00.425) 0:00:04.546 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832 `" && echo ansible-tmp-1739472676.03-16340-82865537948832="` echo /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472676.03-16340-82865537948832=/root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpMGbCg_ TO /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpMGbCg_ /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/ /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-rsvulsykmnrnspovmgpxqhvmsgrzkfmi ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/AnsiballZ_yum.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472676.03-16340-82865537948832/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Thursday 13 February 2025 13:51:16 -0500 (0:00:00.830) 0:00:05.377 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734 `" && echo ansible-tmp-1739472676.75-16373-48968018732734="` echo /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472676.75-16373-48968018732734=/root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/hostname.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpMwjHXl TO /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/AnsiballZ_hostname.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpMwjHXl /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/AnsiballZ_hostname.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/ /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/AnsiballZ_hostname.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-qyzgkxnckkycrztyfoapyraqzmdnfaqn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/AnsiballZ_hostname.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472676.75-16373-48968018732734/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Thursday 13 February 2025 13:51:17 -0500 (0:00:00.808) 0:00:06.185 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977 `" && echo ansible-tmp-1739472677.65-16401-226026653400977="` echo /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472677.65-16401-226026653400977=/root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpQZMBko TO /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpQZMBko /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/ /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-drrqbaaotfiwjrptphpvzpflsvutxhgr ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/AnsiballZ_yum.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472677.65-16401-226026653400977/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:72 Thursday 13 February 2025 13:51:22 -0500 (0:00:04.751) 0:00:10.936 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962 `" && echo ansible-tmp-1739472682.29-16606-235957152680962="` echo /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472682.29-16606-235957152680962=/root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/lineinfile.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpdXN_IX TO /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/AnsiballZ_lineinfile.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpdXN_IX /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/AnsiballZ_lineinfile.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/ /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/AnsiballZ_lineinfile.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-khisiuyjhhhtkepdszlrpbjewxjtpmyn ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/AnsiballZ_lineinfile.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (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.42.98", "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472682.29-16606-235957152680962/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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.42.98", "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:83 Thursday 13 February 2025 13:51:22 -0500 (0:00:00.422) 0:00:11.359 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793 `" && echo ansible-tmp-1739472682.71-16618-14589701823793="` echo /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472682.71-16618-14589701823793=/root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/lineinfile.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmp1NCpds TO /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/AnsiballZ_lineinfile.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmp1NCpds /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/AnsiballZ_lineinfile.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/ /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/AnsiballZ_lineinfile.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-doqdzosxywnluvjujmfurakwaeruwfzw ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/AnsiballZ_lineinfile.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (0, '\r\n{"msg": "line added", "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)"}], "changed": true, "backup": "", "invocation": {"module_args": {"directory_mode": null, "force": null, "remote_src": null, "backrefs": false, "insertafter": "EOF", "path": "/etc/hosts", "owner": "root", "follow": false, "line": "10.31.42.98 ipaserver.test.local", "group": "root", "insertbefore": null, "unsafe_writes": false, "create": true, "state": "present", "content": null, "serole": null, "setype": null, "selevel": null, "regexp": null, "validate": null, "src": null, "seuser": null, "delimiter": null, "mode": "0644", "firstmatch": false, "attributes": null, "backup": false}}}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472682.71-16618-14589701823793/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (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)" } ], "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "content": null, "create": true, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": "root", "insertafter": "EOF", "insertbefore": null, "line": "10.31.42.98 ipaserver.test.local", "mode": "0644", "owner": "root", "path": "/etc/hosts", "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "present", "unsafe_writes": false, "validate": null } } } MSG: line added TASK [Debug] ******************************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:111 Thursday 13 February 2025 13:51:22 -0500 (0:00:00.293) 0:00:11.653 ***** ESTABLISH LOCAL CONNECTION FOR USER: root EXEC /bin/sh -c 'echo ~root && sleep 0' EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520 `" && echo ansible-tmp-1739472682.99-16627-73279933083520="` echo /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520 `" ) && sleep 0' Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpZr7udZ TO /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520/AnsiballZ_command.py EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520/ /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520/AnsiballZ_command.py && sleep 0' EXEC /bin/sh -c '/usr/bin/python2 /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520/AnsiballZ_command.py && sleep 0' EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472682.99-16627-73279933083520/ > /dev/null 2>&1 && sleep 0' changed: [managed-node3 -> localhost] => { "changed": true, "cmd": "set -euo pipefail\n/usr/bin/env -u LINUXSYSTEMROLES_SSH_KEY\n", "delta": "0:00:00.005749", "end": "2025-02-13 13:51:23.217332", "invocation": { "module_args": { "_raw_params": "set -euo pipefail\n/usr/bin/env -u LINUXSYSTEMROLES_SSH_KEY\n", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:51:23.211583" } STDOUT: TMT_TEST_PIDFILE_LOCK=/var/tmp/tmt-test.pid.lock TMT_TOPOLOGY_YAML=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/tmt-test-topology.yaml XDG_SESSION_ID=3 TEST_LOCAL_CHANGES=false TMT_TEST_METADATA=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/metadata.yaml __INTERNAL_BEAKERLIB_JOURNAL_TXT=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/journal.txt TESTING_FARM_REQUEST_ID=6bb61aac-f25d-400d-80c7-c369a617cb1b SELINUX_ROLE_REQUESTED= __INTERNAL_DEFAULT_REPORT_RESULT=/bin/true __INTERNAL_JOURNAL_OPEN=1 SHELL=/bin/bash BEAKERLIB_COMMAND_SUBMIT_LOG=/usr/local/bin/tmt-file-submit SSH_CLIENT=10.31.11.225 58026 22 REBOOTCOUNT=0 SELINUX_USE_CURRENT_RANGE= ANSIBLE_VER=2.9 TMT_TEST_SERIAL_NUMBER=2 BEAKERLIB=/usr/share/beakerlib SYSTEM_ROLES_ONLY_TESTS= __INTERNAL_PHASE_OPEN=1 SSH_TTY=/dev/pts/0 ANSIBLE_GATHERING=implicit USER=root LS_COLORS= LINUXSYSTEMROLES_DOMAIN=secondary01.fedoraproject.org TESTING_FARM_GIT_URL=https://github.com/linux-system-roles/tft-tests TMT_REBOOT_COUNT=0 __INTERNAL_TEST_RESULTS=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/TestResults __INTERNAL_ENDTIME= ARTIFACTS_DIR=/srv/pub/alt/linuxsystemroles/logs/tf_certificate-256_CentOS-7-latest-2.9_20250213-183611/artifacts TMT_TEST_RESTART_COUNT=0 PYTHON_VERSION=3 TMT_REBOOT_REQUEST=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/data/reboot-request __INTERNAL_PHASES_PASSED=1 TESTING_FARM_GIT_REF=main __INTERNAL_BEAKERLIB_JOURNAL_COLORED=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/journal_colored.txt PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin MAIL=/var/mail/root BEAKERLIB_COMMAND_REPORT_RESULT=/usr/local/bin/rhts-report-result TMT_TEST_NAME=/Run test playbooks from control_node/tests/general ANSIBLE_STDOUT_CALLBACK=debug PWD=/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate TESTING_FARM_TEST_TYPE=fmf __INTERNAL_PHASE_STATUSES=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/PHASE_STATUSES PR_NUM=256 __INTERNAL_ASSERT_STATUSES=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/ASSERT_STATUSES LANG=en_US.UTF-8 LSR_TFT_DEBUG=False REPO_NAME=certificate TMT_TEST_PIDFILE=/var/tmp/tmt-test.pid TMT_TEST_ITERATION_ID=1739472246-2 TMT_TOPOLOGY_BASH=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/tmt-test-topology.sh __INTERNAL_BEAKERLIB_METAFILE=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/journal.meta SELINUX_LEVEL_REQUESTED= __INTERNAL_PHASES_WORST_RESULT=PASS BEAKERLIB_DIR=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2 RSTRNT_REBOOTCOUNT=0 __INTERNAL_CLEANUP_BUFF=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/clbuff HOME=/root SHLVL=6 __INTERNAL_DEFAULT_SUBMIT_LOG=__INTERNAL_FileSubmit LINUXSYSTEMROLES_USER=linuxsystemroles ARTIFACTS_URL=https://dl.fedoraproject.org/pub/alt/linuxsystemroles/logs/tf_certificate-256_CentOS-7-latest-2.9_20250213-183611/artifacts ANSIBLE_CALLBACK_WHITELIST=profile_tasks TMT_TEST_DATA=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/data __INTERNAL_TEST_STATE=0 LOGNAME=root TESTID=2 __INTERNAL_STARTTIME=1739472549 LSR_ANSIBLE_VERBOSITY='-vvv' __INTERNAL_PHASES_FAILED=0 SSH_CONNECTION=10.31.11.225 58026 10.31.42.233 22 POSIXFIXED=NO __INTERNAL_PHASES_SKIPPED=0 __INTERNAL_CLEANUP_FINAL=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/cleanup.sh TMT_TREE=/var/ARTIFACTS/work-generalnmqizwje/plans/general/tree TMT_VERSION=1.42.1 __INTERNAL_PERSISTENT_DATA=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/PersistentData LESSOPEN=||/usr/bin/lesspipe.sh %s __INTERNAL_METAFILE_INDENT_LEVEL=2 XDG_RUNTIME_DIR=/run/user/0 GITHUB_ORG=linux-system-roles TMT_PLAN_DATA=/var/ARTIFACTS/work-generalnmqizwje/plans/general/data __INTERNAL_BEAKERLIB_JOURNAL=/var/ARTIFACTS/work-generalnmqizwje/plans/general/execute/data/guest/control-node1/Run-test-playbooks-from-control_node/tests/general-2/journal.xml ANSIBLE_COLLECTIONS_PATHS=/tmp/collections-Fh9 __INTERNAL_PERSISTENT_TMP=/var/tmp TMT_PLAN_ENVIRONMENT_FILE=/var/ARTIFACTS/work-generalnmqizwje/plans/general/data/variables.env _=/usr/bin/env TASK [See if collection exists] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:117 Thursday 13 February 2025 13:51:23 -0500 (0:00:00.284) 0:00:11.937 ***** fatal: [managed-node3 -> localhost]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'role_collection_path' is undefined The error appears to be in '/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml': line 117, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: See if collection exists ^ here TASK [FAILURE - check entropy] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:131 Thursday 13 February 2025 13:51:23 -0500 (0:00:00.020) 0:00:11.957 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593 `" && echo ansible-tmp-1739472683.31-16651-177012242404593="` echo /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472683.31-16651-177012242404593=/root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpKl9DQJ TO /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/AnsiballZ_command.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpKl9DQJ /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/AnsiballZ_command.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/ /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-fydebkhopzvjsmljdljclufzbajnvbad ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/AnsiballZ_command.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (0, '\r\n{"changed": true, "end": "2025-02-13 13:51:23.516771", "stdout": "3739", "cmd": ["cat", "/proc/sys/kernel/random/entropy_avail"], "rc": 0, "start": "2025-02-13 13:51:23.513842", "stderr": "", "delta": "0:00:00.002929", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": false, "strip_empty_ends": true, "_raw_params": "cat /proc/sys/kernel/random/entropy_avail", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472683.31-16651-177012242404593/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "cmd": [ "cat", "/proc/sys/kernel/random/entropy_avail" ], "delta": "0:00:00.002929", "end": "2025-02-13 13:51:23.516771", "invocation": { "module_args": { "_raw_params": "cat /proc/sys/kernel/random/entropy_avail", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:51:23.513842" } STDOUT: 3739 TASK [FAILURE - get logs for debugging] **************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:134 Thursday 13 February 2025 13:51:23 -0500 (0:00:00.291) 0:00:12.249 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193 `" && echo ansible-tmp-1739472683.6-16663-194196278581193="` echo /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472683.6-16663-194196278581193=/root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpJ8jIo_ TO /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/AnsiballZ_command.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-158749xbO2Z/tmpJ8jIo_ /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/AnsiballZ_command.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/ /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-xgkcjufgoqqfothmxpvtbhlxtklsifah ; /usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/AnsiballZ_command.py'"'"'"'"'"'"'"'"' && sleep 0'"'"'' Escalation succeeded <10.31.42.98> (1, '\r\n{"changed": true, "end": "2025-02-13 13:51:23.820615", "stdout": "===========================\\n ipaserver-install.log\\n===========================", "cmd": "set -euo pipefail\\ncd /var/log\\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\\nchmod \'0644\' /tmp/ipalogs.tgz\\necho \\"===========================\\"\\necho \\" ipaserver-install.log\\"\\necho \\"===========================\\"\\ncat ipaserver-install.log\\necho \\"===========================\\"\\necho \\" /var/log/messages\\"\\necho \\"===========================\\"\\ncat /var/log/messages", "failed": true, "delta": "0:00:00.013783", "stderr": "cat: ipaserver-install.log: No such file or directory", "rc": 1, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail\\ncd /var/log\\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\\nchmod \'0644\' /tmp/ipalogs.tgz\\necho \\"===========================\\"\\necho \\" ipaserver-install.log\\"\\necho \\"===========================\\"\\ncat ipaserver-install.log\\necho \\"===========================\\"\\necho \\" /var/log/messages\\"\\necho \\"===========================\\"\\ncat /var/log/messages", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}, "start": "2025-02-13 13:51:23.806832", "msg": "non-zero return code"}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> Failed to connect to the host via ssh: Shared connection to 10.31.42.98 closed. <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> 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/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472683.6-16663-194196278581193/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "set -euo pipefail\ncd /var/log\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\nchmod '0644' /tmp/ipalogs.tgz\necho \"===========================\"\necho \" ipaserver-install.log\"\necho \"===========================\"\ncat ipaserver-install.log\necho \"===========================\"\necho \" /var/log/messages\"\necho \"===========================\"\ncat /var/log/messages", "delta": "0:00:00.013783", "end": "2025-02-13 13:51:23.820615", "invocation": { "module_args": { "_raw_params": "set -euo pipefail\ncd /var/log\ntar -czf /tmp/ipalogs.tgz $( [[ -e messages ]] && echo messages ) $( [[ -e ipaserver-install.log ]] && echo ipaserver-install.log ) $( [[ -e ipaclient-install.log ]] && echo ipaclient-install.log ) $( [[ -e pki ]] && echo pki )\nchmod '0644' /tmp/ipalogs.tgz\necho \"===========================\"\necho \" ipaserver-install.log\"\necho \"===========================\"\ncat ipaserver-install.log\necho \"===========================\"\necho \" /var/log/messages\"\necho \"===========================\"\ncat /var/log/messages", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 1, "start": "2025-02-13 13:51:23.806832" } STDOUT: =========================== ipaserver-install.log =========================== STDERR: cat: ipaserver-install.log: No such file or directory MSG: non-zero return code PLAY RECAP ********************************************************************* managed-node3 : ok=15 changed=6 unreachable=0 failed=1 skipped=1 rescued=1 ignored=0 Thursday 13 February 2025 13:51:23 -0500 (0:00:00.296) 0:00:12.546 ***** =============================================================================== Ensure nss package is up-to-date ---------------------------------------- 4.75s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:65 Clone ansible-freeipa repo ---------------------------------------------- 1.70s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:32 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:2 Ensure hostname package is installed ------------------------------------ 0.83s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:53 Set hostname ------------------------------------------------------------ 0.81s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:59 Check if system is ostree ----------------------------------------------- 0.61s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_basic_ipa.yml:13 Create role symlinks ---------------------------------------------------- 0.43s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:41 Sanitize /etc/hosts ----------------------------------------------------- 0.42s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:72 Ensure freeipa-repo is absent ------------------------------------------- 0.34s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:24 Check if system is ostree ----------------------------------------------- 0.33s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:9 FAILURE - get logs for debugging ---------------------------------------- 0.30s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:134 Add host to /etc/hosts -------------------------------------------------- 0.29s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:83 FAILURE - check entropy ------------------------------------------------- 0.29s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:131 Debug ------------------------------------------------------------------- 0.28s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:111 Set __is_beaker_env ----------------------------------------------------- 0.04s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:2 Set flag to indicate system is ostree ----------------------------------- 0.03s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:14 See if collection exists ------------------------------------------------ 0.02s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:117 Install ansible-freeipa ------------------------------------------------- 0.02s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/setup_ipa.yml:18