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-7Qu.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-7Qu.yml as it did not pass its verify_file() method Parsed /tmp/inventory-7Qu.yml inventory source with yaml plugin 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_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Thursday 13 February 2025 13:11:05 -0500 (0:00:00.036) 0:00:00.036 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', "Warning: Permanently added '10.31.10.164' (ECDSA) to the list of known hosts.\r\n") <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324 `" && echo ansible-tmp-1739470265.82-9857-276409051284324="` echo /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470265.82-9857-276409051284324=/root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324\n', '') Attempting python interpreter discovery <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/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.10.164> (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.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.10.164> (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.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpVDX0Bs TO /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/AnsiballZ_setup.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpVDX0Bs /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/AnsiballZ_setup.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/ /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (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": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.40.91 41674 22", "SSH_CONNECTION": "10.31.40.91 41674 10.31.10.164 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:04:34:f4:5f:89", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.10.164", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "194bccff83a24ea098bc8cdd81831333", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2B522A-8A9F-954E-6B0C-E31ECF877D7D", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1004:34ff:fef4:5f89"], "ansible_uptime_seconds": 241, "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": "ec2b522a-8a9f-954e-6b0c-e31ecf877d7d", "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": "12:04:34:f4:5f:89", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.10.164"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1004:34ff:fef4:5f89"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.10.164"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 711, "free": 2889}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 172, "free": 3428}}, "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": 2889, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3195554, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295306, "size_available": 251065573376, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64245, "block_size": 4096, "inode_available": 16319755}], "ansible_nodename": "managed-node2", "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": "20250213T131106", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470266", "iso8601_micro": "2025-02-13T18:11:06.555208Z", "weekday": "Thursday", "time": "13:11:06", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:06Z", "day": "13", "iso8601_basic": "20250213T131106555208", "second": "06"}, "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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470265.82-9857-276409051284324/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Thursday 13 February 2025 13:11:06 -0500 (0:00:01.141) 0:00:01.178 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396 `" && echo ansible-tmp-1739470266.66-9876-182075641714396="` echo /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470266.66-9876-182075641714396=/root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpPNefg7 TO /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/AnsiballZ_user.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpPNefg7 /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/AnsiballZ_user.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/ /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/AnsiballZ_user.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/AnsiballZ_user.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"comment": "", "shell": "/bin/bash", "group": 1040, "uid": 1040, "changed": true, "create_home": true, "system": false, "state": "present", "invocation": {"module_args": {"comment": null, "ssh_key_bits": 0, "update_password": "always", "non_unique": false, "force": false, "ssh_key_type": "rsa", "create_home": true, "password_lock": null, "ssh_key_passphrase": null, "home": null, "skeleton": null, "append": false, "uid": 1040, "ssh_key_comment": "ansible-generated on managed-node2", "group": null, "system": false, "state": "present", "role": null, "hidden": null, "local": null, "authorization": null, "profile": null, "shell": null, "expires": null, "ssh_key_file": null, "groups": null, "move_home": false, "password": null, "name": "user1", "seuser": null, "remove": false, "login_class": null, "generate_ssh_key": null}}, "home": "/home/user1", "name": "user1"}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470266.66-9876-182075641714396/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "invocation": { "module_args": { "append": false, "authorization": null, "comment": null, "create_home": true, "expires": null, "force": false, "generate_ssh_key": null, "group": null, "groups": null, "hidden": null, "home": null, "local": null, "login_class": null, "move_home": false, "name": "user1", "non_unique": false, "password": null, "password_lock": null, "profile": null, "remove": false, "role": null, "seuser": null, "shell": null, "skeleton": null, "ssh_key_bits": 0, "ssh_key_comment": "ansible-generated on managed-node2", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": false, "uid": 1040, "update_password": "always" } }, "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Thursday 13 February 2025 13:11:07 -0500 (0:00:00.618) 0:00:01.796 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290 `" && echo ansible-tmp-1739470267.29-9915-161205753165290="` echo /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470267.29-9915-161205753165290=/root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/group.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpYawM5H TO /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/AnsiballZ_group.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpYawM5H /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/AnsiballZ_group.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/ /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/AnsiballZ_group.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/AnsiballZ_group.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"name": "somegroup", "changed": true, "system": false, "state": "present", "gid": 1041, "invocation": {"module_args": {"non_unique": false, "name": "somegroup", "system": false, "state": "present", "gid": 1041, "local": false}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470267.29-9915-161205753165290/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => { "changed": true, "gid": 1041, "invocation": { "module_args": { "gid": 1041, "local": false, "name": "somegroup", "non_unique": false, "state": "present", "system": false } }, "name": "somegroup", "state": "present", "system": false } META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Thursday 13 February 2025 13:11:07 -0500 (0:00:00.523) 0:00:02.319 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345 `" && echo ansible-tmp-1739470267.8-9933-128168086807345="` echo /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470267.8-9933-128168086807345=/root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpI6Hf1I TO /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/AnsiballZ_setup.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpI6Hf1I /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/AnsiballZ_setup.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/ /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (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": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.40.91 41674 22", "SSH_CONNECTION": "10.31.40.91 41674 10.31.10.164 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:04:34:f4:5f:89", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.10.164", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "194bccff83a24ea098bc8cdd81831333", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2B522A-8A9F-954E-6B0C-E31ECF877D7D", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1004:34ff:fef4:5f89"], "ansible_uptime_seconds": 243, "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": "ec2b522a-8a9f-954e-6b0c-e31ecf877d7d", "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": "12:04:34:f4:5f:89", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.10.164"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1004:34ff:fef4:5f89"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.10.164"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 712, "free": 2888}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 171, "free": 3429}}, "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": 2888, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3195573, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295287, "size_available": 251065495552, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64252, "block_size": 4096, "inode_available": 16319748}], "ansible_nodename": "managed-node2", "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": "20250213T131108", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470268", "iso8601_micro": "2025-02-13T18:11:08.240625Z", "weekday": "Thursday", "time": "13:11:08", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:08Z", "day": "13", "iso8601_basic": "20250213T131108240625", "second": "08"}, "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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470267.8-9933-128168086807345/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.544) 0:00:02.864 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.029) 0:00:02.894 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.045) 0:00:02.939 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408 `" && echo ansible-tmp-1739470268.45-9953-136124224807408="` echo /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470268.45-9953-136124224807408=/root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmplc7saL TO /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmplc7saL /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/ /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470268.45-9953-136124224807408/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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 [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.409) 0:00:03.348 ***** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.063) 0:00:03.412 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:11:08 -0500 (0:00:00.103) 0:00:03.515 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749 `" && echo ansible-tmp-1739470269.12-9982-31784420659749="` echo /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470269.12-9982-31784420659749=/root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp1E0Z1o TO /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp1E0Z1o /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/ /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\\n--> Running transaction check\\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\\n--> Running transaction check\\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\\n--> Running transaction check\\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\\nInstalling for dependencies:\\n python-cffi x86_64 1.6.0-5.el7 base 218 k\\n python-enum34 noarch 1.0.4-1.el7 base 52 k\\n python-idna noarch 2.4-1.el7 base 94 k\\n python-ply noarch 3.4-11.el7 base 123 k\\n python-pycparser noarch 2.14-1.el7 base 104 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 2 Packages (+5 Dependent packages)\\n\\nTotal download size: 1.2 M\\nInstalled size: 6.1 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 3.9 MB/s | 1.2 MB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \\n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \\n Installing : python-ply-3.4-11.el7.noarch 3/7 \\n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \\n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \\n Installing : python-idna-2.4-1.el7.noarch 6/7 \\n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n Verifying : python-idna-2.4-1.el7.noarch 1/7 \\n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \\n Verifying : python-ply-3.4-11.el7.noarch 3/7 \\n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \\n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \\n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \\n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n\\nInstalled:\\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\\n\\nDependency Installed:\\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \\n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \\n python-pycparser.noarch 0:2.14-1.el7 \\n\\nComplete!\\n"], "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": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["python-pyasn1", "python-cryptography"]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470269.12-9982-31784420659749/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "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": [ "python-pyasn1", "python-cryptography", "python-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.9 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:11:16 -0500 (0:00:07.260) 0:00:10.775 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845 `" && echo ansible-tmp-1739470276.37-10066-16333049128845="` echo /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470276.37-10066-16333049128845=/root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpaxlxb8 TO /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpaxlxb8 /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/ /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "results": ["Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Running transaction check\\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\\nInstalling for dependencies:\\n libtalloc x86_64 2.1.16-1.el7 base 33 k\\n libtevent x86_64 0.9.39-1.el7 base 41 k\\n psmisc x86_64 22.20-17.el7 base 141 k\\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 1 Package (+5 Dependent packages)\\n\\nTotal download size: 984 k\\nInstalled size: 3.7 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 2.5 MB/s | 984 kB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \\n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \\n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Installing : psmisc-22.20-17.el7.x86_64 5/6 \\n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \\n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \\n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \\n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \\n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \\n\\nInstalled:\\n certmonger.x86_64 0:0.78.4-17.el7_9 \\n\\nDependency Installed:\\n libtalloc.x86_64 0:2.1.16-1.el7 \\n libtevent.x86_64 0:0.9.39-1.el7 \\n psmisc.x86_64 0:22.20-17.el7 \\n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \\n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \\n\\nComplete!\\n"], "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": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["certmonger"]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470276.37-10066-16333049128845/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "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": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.5 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:11:20 -0500 (0:00:04.324) 0:00:15.100 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434 `" && echo ansible-tmp-1739470280.62-10156-20505388196434="` echo /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470280.62-10156-20505388196434=/root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp5Zr4km TO /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/AnsiballZ_file.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp5Zr4km /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/AnsiballZ_file.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/ /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//pre-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470280.62-10156-20505388196434/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//pre-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//pre-scripts", "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, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:11:21 -0500 (0:00:00.503) 0:00:15.604 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854 `" && echo ansible-tmp-1739470281.15-10176-134159307958854="` echo /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470281.15-10176-134159307958854=/root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp5C3aOb TO /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/AnsiballZ_file.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp5C3aOb /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/AnsiballZ_file.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/ /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//post-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470281.15-10176-134159307958854/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//post-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//post-scripts", "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, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:11:21 -0500 (0:00:00.387) 0:00:15.991 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034 `" && echo ansible-tmp-1739470281.51-10197-94400366889034="` echo /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470281.51-10197-94400366889034=/root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp6A8sGH TO /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/AnsiballZ_systemd.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp6A8sGH /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/AnsiballZ_systemd.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/ /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "disabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "0", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "0", "AllowIsolate": "no", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "0", "ExecMainPID": "0", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "SystemCallErrorNumber": "0", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "dead", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "MainPID": "0", "StartupBlockIOWeight": "18446744073709551615", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "inactive", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "Transient": "no", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "StartLimitBurst": "5", "LimitCORE": "18446744073709551615", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "0", "DefaultDependencies": "yes", "Requires": "basic.target system.slice", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "no", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "0", "RefuseManualStop": "no", "LimitNICE": "0", "After": "basic.target network.target syslog.target dbus.service system.slice systemd-journald.socket", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "StandardError": "inherit", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "PrivateDevices": "no", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "ControlPID": "0", "Id": "certmonger.service"}, "name": "certmonger", "changed": true, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470281.51-10197-94400366889034/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target syslog.target dbus.service system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:11:22 -0500 (0:00:01.136) 0:00:17.128 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917 `" && echo ansible-tmp-1739470282.73-10248-36648539844917="` echo /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470282.73-10248-36648539844917=/root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpb9Uy1j TO /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/AnsiballZ_certificate_request.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpb9Uy1j /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/AnsiballZ_certificate_request.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/ /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "ftp", "principal": null, "group": "ftp", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "mycert_fs_attrs", "run_after": null, "country": null, "key_size": null, "mode": null, "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470282.73-10248-36648539844917/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item={u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": "ftp", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_fs_attrs", "organization": null, "organizational_unit": null, "owner": "ftp", "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813 `" && echo ansible-tmp-1739470283.69-10248-115675171510813="` echo /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470283.69-10248-115675171510813=/root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpWTaevX TO /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/AnsiballZ_certificate_request.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpWTaevX /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/AnsiballZ_certificate_request.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/ /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "1040", "principal": null, "group": "1041", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "certid", "run_after": null, "country": null, "key_size": null, "mode": null, "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470283.69-10248-115675171510813/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item={u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": "1041", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "certid", "organization": null, "organizational_unit": null, "owner": "1040", "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:11:24 -0500 (0:00:01.781) 0:00:18.909 ***** skipping: [managed-node2] => (item=[u'cert', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'cert', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:11:24 -0500 (0:00:00.107) 0:00:19.017 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:11:24 -0500 (0:00:00.051) 0:00:19.068 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:11:24 -0500 (0:00:00.054) 0:00:19.123 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Thursday 13 February 2025 13:11:24 -0500 (0:00:00.058) 0:00:19.181 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438 `" && echo ansible-tmp-1739470284.67-10361-52685735167438="` echo /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470284.67-10361-52685735167438=/root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpHiWPaR TO /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/AnsiballZ_setup.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpHiWPaR /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/AnsiballZ_setup.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/ /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (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": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.40.91 41674 22", "SSH_CONNECTION": "10.31.40.91 41674 10.31.10.164 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:04:34:f4:5f:89", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.10.164", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "194bccff83a24ea098bc8cdd81831333", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2B522A-8A9F-954E-6B0C-E31ECF877D7D", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1004:34ff:fef4:5f89"], "ansible_uptime_seconds": 260, "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": "ec2b522a-8a9f-954e-6b0c-e31ecf877d7d", "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": "12:04:34:f4:5f:89", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.10.164"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1004:34ff:fef4:5f89"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.10.164"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 844, "free": 2756}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 183, "free": 3417}}, "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": 2756, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203491, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287369, "size_available": 251033063424, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65218, "block_size": 4096, "inode_available": 16318782}], "ansible_nodename": "managed-node2", "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": "20250213T131125", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470285", "iso8601_micro": "2025-02-13T18:11:25.122037Z", "weekday": "Thursday", "time": "13:11:25", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:25Z", "day": "13", "iso8601_basic": "20250213T131125122037", "second": "25"}, "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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470284.67-10361-52685735167438/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Thursday 13 February 2025 13:11:25 -0500 (0:00:00.596) 0:00:19.778 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:11:25 -0500 (0:00:00.151) 0:00:19.929 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:11:25 -0500 (0:00:00.042) 0:00:19.972 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:11:25 -0500 (0:00:00.073) 0:00:20.045 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:11:25 -0500 (0:00:00.076) 0:00:20.122 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963 `" && echo ansible-tmp-1739470285.74-10419-272387413355963="` echo /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470285.74-10419-272387413355963=/root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpPgMYAE TO /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpPgMYAE /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/ /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470285.74-10419-272387413355963/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:11:26 -0500 (0:00:00.654) 0:00:20.776 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:11:26 -0500 (0:00:00.047) 0:00:20.823 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182 `" && echo ansible-tmp-1739470286.33-10456-90328492586182="` echo /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470286.33-10456-90328492586182=/root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp2xByr3 TO /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp2xByr3 /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/ /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470283.3761764, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703011", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "ftp", "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "xusr": false, "atime": 1739470283.3791764, "isdir": false, "ctime": 1739470283.527176, "isblk": false, "wgrp": false, "checksum": "80695dc9bd57434a2cd935b2ffae9e0c2843309b", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470286.33-10456-90328492586182/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt" } }, "stat": { "atime": 1739470283.3791764, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "80695dc9bd57434a2cd935b2ffae9e0c2843309b", "ctime": 1739470283.527176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739470283.3761764, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "18446744071744703011", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:11:26 -0500 (0:00:00.517) 0:00:21.341 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:11:26 -0500 (0:00:00.122) 0:00:21.463 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:11:26 -0500 (0:00:00.068) 0:00:21.532 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:11:27 -0500 (0:00:00.058) 0:00:21.591 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815 `" && echo ansible-tmp-1739470287.11-10509-38468480529815="` echo /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470287.11-10509-38468480529815=/root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpbUSD94 TO /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpbUSD94 /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/ /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470283.3761764, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744071744702998", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "ftp", "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "xusr": false, "atime": 1739470283.3361764, "isdir": false, "ctime": 1739470283.528176, "isblk": false, "wgrp": false, "checksum": "b6f2d11b78a3a098f83c28ca207478d8e35ac32d", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470287.11-10509-38468480529815/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/mycert_fs_attrs.key" } }, "stat": { "atime": 1739470283.3361764, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b6f2d11b78a3a098f83c28ca207478d8e35ac32d", "ctime": 1739470283.528176, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739470283.3761764, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "18446744071744702998", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:11:27 -0500 (0:00:00.386) 0:00:21.977 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:11:27 -0500 (0:00:00.116) 0:00:22.094 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:11:27 -0500 (0:00:00.088) 0:00:22.183 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836 `" && echo ansible-tmp-1739470287.7-10548-111347690014836="` echo /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470287.7-10548-111347690014836=/root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp4s8Ck6 TO /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/AnsiballZ_certtojson.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp4s8Ck6 /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/AnsiballZ_certtojson.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/ /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "50:83:87:E7:EA:A8:78:FA:CA:DA:47:B1:D3:21:66:E7:B3:65:9F:35:89:71:B8:7F:28:67:CD:EA:A5:18:95:80:ED:0C:A8:18:17:08:F5:74:47:12:57:C1:55:E1:E9:66:1B:3F:4C:F1:C8:BC:2B:B2:74:90:7A:C7:FE:68:93:E5:D8:A8:3E:B1:7D:E2:B1:EE:82:E3:91:20:28:12:0E:E4:3D:73:D0:1A:94:A9:A2:01:86:7C:A0:7D:33:0E:8C:3F:D9:0C:A0:3B:A4:E1:7A:D8:76:C6:B9:45:7B:A1:2D:4C:91:66:C8:27:E5:D9:89:20:5E:D3:9D:D7:8C:3A:51:7D:D4:F3:01:9D:5A:38:23:10:B5:BD:E5:0C:AB:7F:19:C7:84:BF:88:C1:DE:F9:FD:AF:B2:DB:0B:DE:F9:CF:AD:AA:D7:08:93:C6:C3:D3:4C:69:9B:50:EF:D6:96:FE:89:8E:E7:B7:10:32:84:4A:1E:C7:F3:3E:1B:37:A3:D3:3E:63:F3:50:F5:85:99:AD:13:8D:BE:F1:47:C9:64:19:FD:A4:C9:14:DD:06:15:B0:36:EE:61:79:C0:4E:A0:0D:10:DD:C5:2D:60:ED:7E:EC:87:75:53:7A:71:2F:10:99:1B:2A:DA:31:5F:14:B9:15:51:39:B3:FF:8D:8A:22:4F:7D:78"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "C8:AA:92:EB:92:B4:D4:C3:86:43:6B:83:A7:1A:55:D9:99:73:7C:F3"}, "authorityKeyIdentifier": {"critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181122Z", "not_valid_before": "20250213181123Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470287.7-10548-111347690014836/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C8:AA:92:EB:92:B4:D4:C3:86:43:6B:83:A7:1A:55:D9:99:73:7C:F3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "50:83:87:E7:EA:A8:78:FA:CA:DA:47:B1:D3:21:66:E7:B3:65:9F:35:89:71:B8:7F:28:67:CD:EA:A5:18:95:80:ED:0C:A8:18:17:08:F5:74:47:12:57:C1:55:E1:E9:66:1B:3F:4C:F1:C8:BC:2B:B2:74:90:7A:C7:FE:68:93:E5:D8:A8:3E:B1:7D:E2:B1:EE:82:E3:91:20:28:12:0E:E4:3D:73:D0:1A:94:A9:A2:01:86:7C:A0:7D:33:0E:8C:3F:D9:0C:A0:3B:A4:E1:7A:D8:76:C6:B9:45:7B:A1:2D:4C:91:66:C8:27:E5:D9:89:20:5E:D3:9D:D7:8C:3A:51:7D:D4:F3:01:9D:5A:38:23:10:B5:BD:E5:0C:AB:7F:19:C7:84:BF:88:C1:DE:F9:FD:AF:B2:DB:0B:DE:F9:CF:AD:AA:D7:08:93:C6:C3:D3:4C:69:9B:50:EF:D6:96:FE:89:8E:E7:B7:10:32:84:4A:1E:C7:F3:3E:1B:37:A3:D3:3E:63:F3:50:F5:85:99:AD:13:8D:BE:F1:47:C9:64:19:FD:A4:C9:14:DD:06:15:B0:36:EE:61:79:C0:4E:A0:0D:10:DD:C5:2D:60:ED:7E:EC:87:75:53:7A:71:2F:10:99:1B:2A:DA:31:5F:14:B9:15:51:39:B3:FF:8D:8A:22:4F:7D:78" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181123Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.643) 0:00:22.827 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C8:AA:92:EB:92:B4:D4:C3:86:43:6B:83:A7:1A:55:D9:99:73:7C:F3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "50:83:87:E7:EA:A8:78:FA:CA:DA:47:B1:D3:21:66:E7:B3:65:9F:35:89:71:B8:7F:28:67:CD:EA:A5:18:95:80:ED:0C:A8:18:17:08:F5:74:47:12:57:C1:55:E1:E9:66:1B:3F:4C:F1:C8:BC:2B:B2:74:90:7A:C7:FE:68:93:E5:D8:A8:3E:B1:7D:E2:B1:EE:82:E3:91:20:28:12:0E:E4:3D:73:D0:1A:94:A9:A2:01:86:7C:A0:7D:33:0E:8C:3F:D9:0C:A0:3B:A4:E1:7A:D8:76:C6:B9:45:7B:A1:2D:4C:91:66:C8:27:E5:D9:89:20:5E:D3:9D:D7:8C:3A:51:7D:D4:F3:01:9D:5A:38:23:10:B5:BD:E5:0C:AB:7F:19:C7:84:BF:88:C1:DE:F9:FD:AF:B2:DB:0B:DE:F9:CF:AD:AA:D7:08:93:C6:C3:D3:4C:69:9B:50:EF:D6:96:FE:89:8E:E7:B7:10:32:84:4A:1E:C7:F3:3E:1B:37:A3:D3:3E:63:F3:50:F5:85:99:AD:13:8D:BE:F1:47:C9:64:19:FD:A4:C9:14:DD:06:15:B0:36:EE:61:79:C0:4E:A0:0D:10:DD:C5:2D:60:ED:7E:EC:87:75:53:7A:71:2F:10:99:1B:2A:DA:31:5F:14:B9:15:51:39:B3:FF:8D:8A:22:4F:7D:78" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181123Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.078) 0:00:22.905 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.071) 0:00:22.977 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.067) 0:00:23.044 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.087) 0:00:23.132 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.077) 0:00:23.209 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:11:28 -0500 (0:00:00.084) 0:00:23.293 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569 `" && echo ansible-tmp-1739470288.82-10617-229779658161569="` echo /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470288.82-10617-229779658161569=/root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpw8Kyxe TO /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/AnsiballZ_command.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpw8Kyxe /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/AnsiballZ_command.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/ /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:29.266928", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:29.225391", "stderr": "", "delta": "0:00:00.041537", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470288.82-10617-229779658161569/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.041537", "end": "2025-02-13 13:11:29.266928", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_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:11:29.225391" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:11:29 -0500 (0:00:00.573) 0:00:23.867 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:11:29 -0500 (0:00:00.055) 0:00:23.922 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:11:29 -0500 (0:00:00.022) 0:00:23.945 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:11:29 -0500 (0:00:00.062) 0:00:24.007 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:11:29 -0500 (0:00:00.066) 0:00:24.073 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872 `" && echo ansible-tmp-1739470289.73-10731-95139208653872="` echo /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470289.73-10731-95139208653872=/root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp7HNAQu TO /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp7HNAQu /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/ /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470289.73-10731-95139208653872/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:11:30 -0500 (0:00:00.865) 0:00:24.938 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:11:30 -0500 (0:00:00.125) 0:00:25.064 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597 `" && echo ansible-tmp-1739470290.62-10850-198242426285597="` echo /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470290.62-10850-198242426285597=/root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpZxQZE7 TO /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpZxQZE7 /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/ /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/certid.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 1040, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470284.1961749, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703049", "pw_name": "user1", "gid": 1041, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "somegroup", "path": "/etc/pki/tls/certs/certid.crt", "xusr": false, "atime": 1739470284.1991746, "isdir": false, "ctime": 1739470284.2741747, "isblk": false, "wgrp": false, "checksum": "4d39ee25d3d0db2375b3150d6dd12d778f902f72", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470290.62-10850-198242426285597/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/certid.crt" } }, "stat": { "atime": 1739470284.1991746, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4d39ee25d3d0db2375b3150d6dd12d778f902f72", "ctime": 1739470284.2741747, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739470284.1961749, "nlink": 1, "path": "/etc/pki/tls/certs/certid.crt", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 1040, "version": "18446744071744703049", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.538) 0:00:25.603 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.060) 0:00:25.664 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.056) 0:00:25.720 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.054) 0:00:25.775 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578 `" && echo ansible-tmp-1739470291.29-10886-236158569075578="` echo /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470291.29-10886-236158569075578=/root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpTFYsU9 TO /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpTFYsU9 /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/ /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/certid.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 1040, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470284.1961749, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703036", "pw_name": "user1", "gid": 1041, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "somegroup", "path": "/etc/pki/tls/private/certid.key", "xusr": false, "atime": 1739470284.156175, "isdir": false, "ctime": 1739470284.2751746, "isblk": false, "wgrp": false, "checksum": "e3dfe7167e64235c8aacef44c7429412aea89982", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470291.29-10886-236158569075578/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/certid.key" } }, "stat": { "atime": 1739470284.156175, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e3dfe7167e64235c8aacef44c7429412aea89982", "ctime": 1739470284.2751746, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739470284.1961749, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "18446744071744703036", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.331) 0:00:26.107 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.064) 0:00:26.171 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:11:31 -0500 (0:00:00.089) 0:00:26.260 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379 `" && echo ansible-tmp-1739470291.79-10921-108456141822379="` echo /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470291.79-10921-108456141822379=/root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpxq9_Wr TO /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/AnsiballZ_certtojson.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpxq9_Wr /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/AnsiballZ_certtojson.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/ /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "62:C5:F3:C1:D5:84:1D:23:8A:9B:33:ED:6D:FA:25:F0:ED:5F:56:AD:DB:44:42:09:22:30:9A:76:40:19:32:91:C4:79:F7:21:5A:14:AE:CC:F9:A7:8C:3F:6D:08:F9:20:0A:70:CC:36:C0:D1:EA:20:23:EB:DA:19:EB:A8:26:6D:EF:30:D2:6A:14:AD:D5:F7:47:68:08:EE:49:6B:E5:D1:19:0D:4F:EA:6C:6E:3F:14:88:9B:A3:F9:04:6B:5B:9F:2D:01:D2:38:15:4F:5F:A2:D7:EE:0F:5E:E5:A5:F1:45:43:94:EF:83:FE:37:6C:40:06:FE:68:F4:23:EF:B4:0B:3F:91:65:E3:C9:E3:1A:FD:A7:00:7A:BA:6C:BC:AE:36:D6:A9:94:F1:7A:AC:AD:F6:15:B5:A8:C9:2E:A2:D7:87:21:E2:ED:D7:EB:F7:15:46:6A:11:6D:D7:D1:73:44:82:15:C8:87:5A:3C:F1:33:43:9C:70:1A:27:DA:68:72:18:0B:3A:79:24:BF:90:4E:35:96:19:36:D5:72:90:16:39:E1:D4:22:B7:07:86:74:DC:B9:DB:C1:03:16:BD:FF:5D:F6:79:C5:D4:3A:6A:D9:D9:A8:E9:43:10:DD:E7:12:7B:0B:69:24:1F:A7:53:1A:92:0A:85:BB:88:C4:BE:15:68"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "4D:CA:DB:65:4B:1C:2B:57:8F:35:68:8A:FD:E2:A1:40:FF:78:6E:D8"}, "authorityKeyIdentifier": {"critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181122Z", "not_valid_before": "20250213181124Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470291.79-10921-108456141822379/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "4D:CA:DB:65:4B:1C:2B:57:8F:35:68:8A:FD:E2:A1:40:FF:78:6E:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "62:C5:F3:C1:D5:84:1D:23:8A:9B:33:ED:6D:FA:25:F0:ED:5F:56:AD:DB:44:42:09:22:30:9A:76:40:19:32:91:C4:79:F7:21:5A:14:AE:CC:F9:A7:8C:3F:6D:08:F9:20:0A:70:CC:36:C0:D1:EA:20:23:EB:DA:19:EB:A8:26:6D:EF:30:D2:6A:14:AD:D5:F7:47:68:08:EE:49:6B:E5:D1:19:0D:4F:EA:6C:6E:3F:14:88:9B:A3:F9:04:6B:5B:9F:2D:01:D2:38:15:4F:5F:A2:D7:EE:0F:5E:E5:A5:F1:45:43:94:EF:83:FE:37:6C:40:06:FE:68:F4:23:EF:B4:0B:3F:91:65:E3:C9:E3:1A:FD:A7:00:7A:BA:6C:BC:AE:36:D6:A9:94:F1:7A:AC:AD:F6:15:B5:A8:C9:2E:A2:D7:87:21:E2:ED:D7:EB:F7:15:46:6A:11:6D:D7:D1:73:44:82:15:C8:87:5A:3C:F1:33:43:9C:70:1A:27:DA:68:72:18:0B:3A:79:24:BF:90:4E:35:96:19:36:D5:72:90:16:39:E1:D4:22:B7:07:86:74:DC:B9:DB:C1:03:16:BD:FF:5D:F6:79:C5:D4:3A:6A:D9:D9:A8:E9:43:10:DD:E7:12:7B:0B:69:24:1F:A7:53:1A:92:0A:85:BB:88:C4:BE:15:68" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181124Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.494) 0:00:26.755 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "4D:CA:DB:65:4B:1C:2B:57:8F:35:68:8A:FD:E2:A1:40:FF:78:6E:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "62:C5:F3:C1:D5:84:1D:23:8A:9B:33:ED:6D:FA:25:F0:ED:5F:56:AD:DB:44:42:09:22:30:9A:76:40:19:32:91:C4:79:F7:21:5A:14:AE:CC:F9:A7:8C:3F:6D:08:F9:20:0A:70:CC:36:C0:D1:EA:20:23:EB:DA:19:EB:A8:26:6D:EF:30:D2:6A:14:AD:D5:F7:47:68:08:EE:49:6B:E5:D1:19:0D:4F:EA:6C:6E:3F:14:88:9B:A3:F9:04:6B:5B:9F:2D:01:D2:38:15:4F:5F:A2:D7:EE:0F:5E:E5:A5:F1:45:43:94:EF:83:FE:37:6C:40:06:FE:68:F4:23:EF:B4:0B:3F:91:65:E3:C9:E3:1A:FD:A7:00:7A:BA:6C:BC:AE:36:D6:A9:94:F1:7A:AC:AD:F6:15:B5:A8:C9:2E:A2:D7:87:21:E2:ED:D7:EB:F7:15:46:6A:11:6D:D7:D1:73:44:82:15:C8:87:5A:3C:F1:33:43:9C:70:1A:27:DA:68:72:18:0B:3A:79:24:BF:90:4E:35:96:19:36:D5:72:90:16:39:E1:D4:22:B7:07:86:74:DC:B9:DB:C1:03:16:BD:FF:5D:F6:79:C5:D4:3A:6A:D9:D9:A8:E9:43:10:DD:E7:12:7B:0B:69:24:1F:A7:53:1A:92:0A:85:BB:88:C4:BE:15:68" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181124Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.059) 0:00:26.815 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.050) 0:00:26.866 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.052) 0:00:26.918 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.090) 0:00:27.009 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.078) 0:00:27.087 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:11:32 -0500 (0:00:00.096) 0:00:27.184 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110 `" && echo ansible-tmp-1739470292.76-10978-105385415895110="` echo /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470292.76-10978-105385415895110=/root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmptqMHQ2 TO /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/AnsiballZ_command.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmptqMHQ2 /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/AnsiballZ_command.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/ /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:33.058368", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:33.015393", "stderr": "", "delta": "0:00:00.042975", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470292.76-10978-105385415895110/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.042975", "end": "2025-02-13 13:11:33.058368", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_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:11:33.015393" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.486) 0:00:27.671 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.074) 0:00:27.745 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994 `" && echo ansible-tmp-1739470293.23-11013-112612943564994="` echo /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470293.23-11013-112612943564994=/root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpdtFOaM TO /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/AnsiballZ_setup.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpdtFOaM /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/AnsiballZ_setup.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/ /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (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": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.40.91 41674 22", "SSH_CONNECTION": "10.31.40.91 41674 10.31.10.164 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:04:34:f4:5f:89", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.10.164", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "194bccff83a24ea098bc8cdd81831333", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2B522A-8A9F-954E-6B0C-E31ECF877D7D", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1004:34ff:fef4:5f89"], "ansible_uptime_seconds": 268, "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": "ec2b522a-8a9f-954e-6b0c-e31ecf877d7d", "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": "12:04:34:f4:5f:89", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.10.164"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1004:34ff:fef4:5f89"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.10.164"], "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": 184, "free": 3416}}, "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-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203532, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287328, "size_available": 251032895488, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65218, "block_size": 4096, "inode_available": 16318782}], "ansible_nodename": "managed-node2", "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": "20250213T131133", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470293", "iso8601_micro": "2025-02-13T18:11:33.677533Z", "weekday": "Thursday", "time": "13:11:33", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:33Z", "day": "13", "iso8601_basic": "20250213T131133677533", "second": "33"}, "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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470293.23-11013-112612943564994/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.633) 0:00:28.379 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.031) 0:00:28.411 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.079) 0:00:28.491 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:11:33 -0500 (0:00:00.046) 0:00:28.538 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:11:34 -0500 (0:00:00.047) 0:00:28.585 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:11:34 -0500 (0:00:00.109) 0:00:28.695 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694 `" && echo ansible-tmp-1739470294.3-11063-60076833694694="` echo /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470294.3-11063-60076833694694=/root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpNLQs9Y TO /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpNLQs9Y /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/ /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470294.3-11063-60076833694694/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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": [ "python-pyasn1", "python-cryptography", "python-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:11:35 -0500 (0:00:01.576) 0:00:30.271 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316 `" && echo ansible-tmp-1739470295.92-11334-119150283861316="` echo /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470295.92-11334-119150283861316=/root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpSA547Z TO /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpSA547Z /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/ /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470295.92-11334-119150283861316/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "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": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:11:36 -0500 (0:00:00.672) 0:00:30.944 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774 `" && echo ansible-tmp-1739470296.48-11401-148340527696774="` echo /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470296.48-11401-148340527696774=/root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp9NfjQF TO /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/AnsiballZ_file.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp9NfjQF /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/AnsiballZ_file.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/ /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts"}, "before": {"path": "/etc/certmonger//pre-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470296.48-11401-148340527696774/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "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, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:11:36 -0500 (0:00:00.382) 0:00:31.327 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326 `" && echo ansible-tmp-1739470296.86-11420-235675353027326="` echo /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470296.86-11420-235675353027326=/root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpXNEj_T TO /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/AnsiballZ_file.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpXNEj_T /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/AnsiballZ_file.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/ /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts"}, "before": {"path": "/etc/certmonger//post-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470296.86-11420-235675353027326/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "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, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:11:37 -0500 (0:00:00.490) 0:00:31.817 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413 `" && echo ansible-tmp-1739470297.43-11463-144091807062413="` echo /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470297.43-11463-144091807062413=/root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpwuYh2T TO /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/AnsiballZ_systemd.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpwuYh2T /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/AnsiballZ_systemd.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/ /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:11:22 EST] ; stop_time=[n/a] ; pid=9918 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "ControlGroup": "/system.slice/certmonger.service", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "enabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "257741771", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "257741812", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 13:11:22 EST", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "InactiveExitTimestamp": "Thu 2025-02-13 13:11:22 EST", "WatchdogTimestamp": "Thu 2025-02-13 13:11:22 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "multi-user.target shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "257719971", "ExecMainPID": "9918", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "Thu 2025-02-13 13:11:22 EST", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "StartLimitBurst": "5", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "LimitCORE": "18446744073709551615", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "running", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestampMonotonic": "257719272", "MainPID": "9918", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 13:11:22 EST", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "active", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "WantedBy": "multi-user.target", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "ConditionTimestamp": "Thu 2025-02-13 13:11:22 EST", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "RefuseManualStop": "no", "SystemCallErrorNumber": "0", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "257719274", "DefaultDependencies": "yes", "Requires": "basic.target system.slice", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "257719940", "StandardError": "inherit", "LimitNICE": "0", "After": "systemd-journald.socket syslog.target network.target dbus.service basic.target system.slice", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "Transient": "no", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "ControlPID": "0", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "PrivateDevices": "no", "Id": "certmonger.service"}, "name": "certmonger", "changed": false, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470297.43-11463-144091807062413/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:11:22 EST", "ActiveEnterTimestampMonotonic": "257741812", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket syslog.target network.target dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:11:22 EST", "AssertTimestampMonotonic": "257719274", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:11:22 EST", "ConditionTimestampMonotonic": "257719272", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9918", "ExecMainStartTimestamp": "Thu 2025-02-13 13:11:22 EST", "ExecMainStartTimestampMonotonic": "257719940", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:11:22 EST] ; stop_time=[n/a] ; pid=9918 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 13:11:22 EST", "InactiveExitTimestampMonotonic": "257719971", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9918", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:11:22 EST", "WatchdogTimestampMonotonic": "257741771", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:11:37 -0500 (0:00:00.693) 0:00:32.511 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808 `" && echo ansible-tmp-1739470298.13-11487-42721929716808="` echo /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470298.13-11487-42721929716808=/root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpZex6LM TO /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/AnsiballZ_certificate_request.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpZex6LM /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/AnsiballZ_certificate_request.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/ /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "ftp", "principal": null, "group": "ftp", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "mycert_fs_attrs_mode", "run_after": null, "country": null, "key_size": null, "mode": "0620", "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470298.13-11487-42721929716808/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item={u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": "ftp", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": "0620", "name": "mycert_fs_attrs_mode", "organization": null, "organizational_unit": null, "owner": "ftp", "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865 `" && echo ansible-tmp-1739470298.75-11487-34820638246865="` echo /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470298.75-11487-34820638246865=/root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp0CN4Vu TO /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/AnsiballZ_certificate_request.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp0CN4Vu /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/AnsiballZ_certificate_request.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/ /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"msg": "Certificate requested (new).", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "certid_mode", "run_after": null, "country": null, "key_size": null, "mode": "0600", "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470298.75-11487-34820638246865/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') changed: [managed-node2] => (item={u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": "0600", "name": "certid_mode", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:11:39 -0500 (0:00:01.483) 0:00:33.994 ***** skipping: [managed-node2] => (item=[u'cert', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:11:39 -0500 (0:00:00.111) 0:00:34.106 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:11:39 -0500 (0:00:00.121) 0:00:34.228 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:11:39 -0500 (0:00:00.069) 0:00:34.297 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Thursday 13 February 2025 13:11:39 -0500 (0:00:00.074) 0:00:34.371 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837 `" && echo ansible-tmp-1739470299.87-11557-99222802580837="` echo /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470299.87-11557-99222802580837=/root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp7MQWX1 TO /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/AnsiballZ_setup.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp7MQWX1 /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/AnsiballZ_setup.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/ /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.164> (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": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.40.91 41674 22", "SSH_CONNECTION": "10.31.40.91 41674 10.31.10.164 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:04:34:f4:5f:89", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.10.164", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "194bccff83a24ea098bc8cdd81831333", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2B522A-8A9F-954E-6B0C-E31ECF877D7D", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1004:34ff:fef4:5f89"], "ansible_uptime_seconds": 275, "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": "ec2b522a-8a9f-954e-6b0c-e31ecf877d7d", "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": "12:04:34:f4:5f:89", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.10.164"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1004:34ff:fef4:5f89"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.10.164"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 846, "free": 2754}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 185, "free": 3415}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2754, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203571, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287289, "size_available": 251032735744, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65224, "block_size": 4096, "inode_available": 16318776}], "ansible_nodename": "managed-node2", "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": "20250213T131140", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470300", "iso8601_micro": "2025-02-13T18:11:40.323393Z", "weekday": "Thursday", "time": "13:11:40", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:40Z", "day": "13", "iso8601_basic": "20250213T131140323393", "second": "40"}, "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.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470299.87-11557-99222802580837/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Thursday 13 February 2025 13:11:40 -0500 (0:00:00.608) 0:00:34.980 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:11:40 -0500 (0:00:00.112) 0:00:35.093 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:11:40 -0500 (0:00:00.022) 0:00:35.115 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:11:40 -0500 (0:00:00.041) 0:00:35.157 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:11:40 -0500 (0:00:00.043) 0:00:35.201 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915 `" && echo ansible-tmp-1739470300.81-11597-56091670541915="` echo /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470300.81-11597-56091670541915=/root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpNcZdcf TO /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpNcZdcf /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/ /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470300.81-11597-56091670541915/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.619) 0:00:35.820 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.086) 0:00:35.907 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865 `" && echo ansible-tmp-1739470301.49-11630-183774039159865="` echo /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470301.49-11630-183774039159865=/root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp4F2j7d TO /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmp4F2j7d /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/ /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470298.5661473, "block_size": 4096, "inode": 172749, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703174", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "ftp", "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "xusr": false, "atime": 1739470298.5701473, "isdir": false, "ctime": 1739470298.6221473, "isblk": false, "wgrp": true, "checksum": "431ed4e4eea01f7c8872a6970fb2774a2cb110f3", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470301.49-11630-183774039159865/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt" } }, "stat": { "atime": 1739470298.5701473, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "431ed4e4eea01f7c8872a6970fb2774a2cb110f3", "ctime": 1739470298.6221473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172749, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739470298.5661473, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "18446744071744703174", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.424) 0:00:36.331 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.072) 0:00:36.404 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.077) 0:00:36.481 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:11:41 -0500 (0:00:00.054) 0:00:36.536 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412 `" && echo ansible-tmp-1739470302.07-11661-188048221925412="` echo /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470302.07-11661-188048221925412=/root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmppUyXaC TO /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmppUyXaC /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/ /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470298.5661473, "block_size": 4096, "inode": 172748, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703161", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "ftp", "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "xusr": false, "atime": 1739470298.5261474, "isdir": false, "ctime": 1739470298.6231472, "isblk": false, "wgrp": true, "checksum": "74c9f65eada69204373869a9de4a5d29ca0ff4b6", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470302.07-11661-188048221925412/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key" } }, "stat": { "atime": 1739470298.5261474, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "74c9f65eada69204373869a9de4a5d29ca0ff4b6", "ctime": 1739470298.6231472, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172748, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739470298.5661473, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "18446744071744703161", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:11:42 -0500 (0:00:00.437) 0:00:36.974 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:11:42 -0500 (0:00:00.050) 0:00:37.025 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:11:42 -0500 (0:00:00.053) 0:00:37.079 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838 `" && echo ansible-tmp-1739470302.6-11694-231058466456838="` echo /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470302.6-11694-231058466456838=/root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpjot5b7 TO /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/AnsiballZ_certtojson.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpjot5b7 /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/AnsiballZ_certtojson.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/ /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "83:CE:8B:3B:10:87:EF:7F:7A:C9:AF:E2:FA:1E:F1:08:7B:90:33:4C:98:6C:54:95:1D:4C:1A:2E:97:B8:47:5E:09:59:B2:7F:E0:09:E8:3D:47:8A:76:F2:41:8E:37:A2:E2:6A:8B:21:77:9E:9A:7E:36:2E:FD:77:16:7E:D2:5F:5B:97:36:4B:A3:9F:25:E8:42:FE:37:A7:76:46:4F:62:13:15:6B:A7:48:15:C2:55:C0:F5:BC:12:E7:8E:B4:2D:54:B1:1A:84:5F:48:9E:AA:7A:32:9A:9A:D5:7A:51:BC:42:41:02:9A:B1:46:43:60:60:7D:71:45:2F:AC:41:26:84:83:D7:64:68:4E:37:22:DB:5C:50:CB:82:86:EE:7E:4C:9C:A1:F0:A7:E4:0D:E3:90:7E:D1:9A:E9:99:C8:77:2F:47:F5:90:99:07:54:21:37:C3:4D:21:B0:8F:3E:77:0D:77:DF:83:DF:69:55:67:CC:81:2A:F3:32:3E:98:A5:72:5F:7C:D8:0E:BB:D6:0D:17:DE:FB:2C:2C:3F:BF:20:01:2D:2B:08:F3:79:17:B9:1C:F7:93:03:60:5C:6F:77:B6:E0:A7:0F:85:8F:4D:74:35:E9:68:2B:59:3D:A3:32:C8:BC:F1:22:C1:EE:04:45:52:29:55:CF:B7:CD:FA:24"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "86:D9:D3:17:44:E2:EE:57:DB:D0:3A:A9:86:35:D4:21:FE:58:EF:D9"}, "authorityKeyIdentifier": {"critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181122Z", "not_valid_before": "20250213181138Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470302.6-11694-231058466456838/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "86:D9:D3:17:44:E2:EE:57:DB:D0:3A:A9:86:35:D4:21:FE:58:EF:D9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "83:CE:8B:3B:10:87:EF:7F:7A:C9:AF:E2:FA:1E:F1:08:7B:90:33:4C:98:6C:54:95:1D:4C:1A:2E:97:B8:47:5E:09:59:B2:7F:E0:09:E8:3D:47:8A:76:F2:41:8E:37:A2:E2:6A:8B:21:77:9E:9A:7E:36:2E:FD:77:16:7E:D2:5F:5B:97:36:4B:A3:9F:25:E8:42:FE:37:A7:76:46:4F:62:13:15:6B:A7:48:15:C2:55:C0:F5:BC:12:E7:8E:B4:2D:54:B1:1A:84:5F:48:9E:AA:7A:32:9A:9A:D5:7A:51:BC:42:41:02:9A:B1:46:43:60:60:7D:71:45:2F:AC:41:26:84:83:D7:64:68:4E:37:22:DB:5C:50:CB:82:86:EE:7E:4C:9C:A1:F0:A7:E4:0D:E3:90:7E:D1:9A:E9:99:C8:77:2F:47:F5:90:99:07:54:21:37:C3:4D:21:B0:8F:3E:77:0D:77:DF:83:DF:69:55:67:CC:81:2A:F3:32:3E:98:A5:72:5F:7C:D8:0E:BB:D6:0D:17:DE:FB:2C:2C:3F:BF:20:01:2D:2B:08:F3:79:17:B9:1C:F7:93:03:60:5C:6F:77:B6:E0:A7:0F:85:8F:4D:74:35:E9:68:2B:59:3D:A3:32:C8:BC:F1:22:C1:EE:04:45:52:29:55:CF:B7:CD:FA:24" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181138Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.477) 0:00:37.556 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "86:D9:D3:17:44:E2:EE:57:DB:D0:3A:A9:86:35:D4:21:FE:58:EF:D9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "83:CE:8B:3B:10:87:EF:7F:7A:C9:AF:E2:FA:1E:F1:08:7B:90:33:4C:98:6C:54:95:1D:4C:1A:2E:97:B8:47:5E:09:59:B2:7F:E0:09:E8:3D:47:8A:76:F2:41:8E:37:A2:E2:6A:8B:21:77:9E:9A:7E:36:2E:FD:77:16:7E:D2:5F:5B:97:36:4B:A3:9F:25:E8:42:FE:37:A7:76:46:4F:62:13:15:6B:A7:48:15:C2:55:C0:F5:BC:12:E7:8E:B4:2D:54:B1:1A:84:5F:48:9E:AA:7A:32:9A:9A:D5:7A:51:BC:42:41:02:9A:B1:46:43:60:60:7D:71:45:2F:AC:41:26:84:83:D7:64:68:4E:37:22:DB:5C:50:CB:82:86:EE:7E:4C:9C:A1:F0:A7:E4:0D:E3:90:7E:D1:9A:E9:99:C8:77:2F:47:F5:90:99:07:54:21:37:C3:4D:21:B0:8F:3E:77:0D:77:DF:83:DF:69:55:67:CC:81:2A:F3:32:3E:98:A5:72:5F:7C:D8:0E:BB:D6:0D:17:DE:FB:2C:2C:3F:BF:20:01:2D:2B:08:F3:79:17:B9:1C:F7:93:03:60:5C:6F:77:B6:E0:A7:0F:85:8F:4D:74:35:E9:68:2B:59:3D:A3:32:C8:BC:F1:22:C1:EE:04:45:52:29:55:CF:B7:CD:FA:24" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181138Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.071) 0:00:37.627 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.081) 0:00:37.708 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.085) 0:00:37.794 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.094) 0:00:37.888 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.167) 0:00:38.055 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:11:43 -0500 (0:00:00.105) 0:00:38.161 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517 `" && echo ansible-tmp-1739470303.7-11837-220918145985517="` echo /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470303.7-11837-220918145985517=/root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpBRCW_Z TO /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/AnsiballZ_command.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpBRCW_Z /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/AnsiballZ_command.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/ /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:43.998919", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:43.954838", "stderr": "", "delta": "0:00:00.044081", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470303.7-11837-220918145985517/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044081", "end": "2025-02-13 13:11:43.998919", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_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:11:43.954838" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:11:44 -0500 (0:00:00.509) 0:00:38.671 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:11:44 -0500 (0:00:00.078) 0:00:38.749 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:11:44 -0500 (0:00:00.030) 0:00:38.779 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:11:44 -0500 (0:00:00.073) 0:00:38.853 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:11:44 -0500 (0:00:00.121) 0:00:38.974 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579 `" && echo ansible-tmp-1739470304.63-11920-143052228633579="` echo /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470304.63-11920-143052228633579=/root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpV_WRZX TO /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/AnsiballZ_yum.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpV_WRZX /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/AnsiballZ_yum.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/ /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.10.164> (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": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470304.63-11920-143052228633579/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "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": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.691) 0:00:39.666 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.052) 0:00:39.719 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716 `" && echo ansible-tmp-1739470305.27-11950-259062615090716="` echo /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470305.27-11950-259062615090716=/root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpv1WcKI TO /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpv1WcKI /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/ /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/certid_mode.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470299.288146, "block_size": 4096, "inode": 172751, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703212", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/certid_mode.crt", "xusr": false, "atime": 1739470299.292146, "isdir": false, "ctime": 1739470299.288146, "isblk": false, "wgrp": false, "checksum": "cfc8b2dc59da9c3dc24a7783a98efe9af9db6999", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470305.27-11950-259062615090716/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/certid_mode.crt" } }, "stat": { "atime": 1739470299.292146, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cfc8b2dc59da9c3dc24a7783a98efe9af9db6999", "ctime": 1739470299.288146, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470299.288146, "nlink": 1, "path": "/etc/pki/tls/certs/certid_mode.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744071744703212", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.399) 0:00:40.118 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.048) 0:00:40.167 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.053) 0:00:40.220 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:11:45 -0500 (0:00:00.063) 0:00:40.284 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926 `" && echo ansible-tmp-1739470305.82-11986-141489661416926="` echo /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470305.82-11986-141489661416926=/root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpEqDYCX TO /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/AnsiballZ_stat.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpEqDYCX /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/AnsiballZ_stat.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/ /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/certid_mode.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739470299.288146, "block_size": 4096, "inode": 172750, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744071744703199", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/private/certid_mode.key", "xusr": false, "atime": 1739470299.248146, "isdir": false, "ctime": 1739470299.288146, "isblk": false, "wgrp": false, "checksum": "3099eaaed1176933dca4a8f262a0a3ef7d55dee5", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470305.82-11986-141489661416926/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/certid_mode.key" } }, "stat": { "atime": 1739470299.248146, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3099eaaed1176933dca4a8f262a0a3ef7d55dee5", "ctime": 1739470299.288146, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172750, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470299.288146, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "18446744071744703199", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.440) 0:00:40.724 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.061) 0:00:40.786 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.111) 0:00:40.897 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095 `" && echo ansible-tmp-1739470306.43-12034-94013995155095="` echo /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470306.43-12034-94013995155095=/root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpSaJ0vb TO /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/AnsiballZ_certtojson.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpSaJ0vb /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/AnsiballZ_certtojson.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/ /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "8A:29:4C:1C:BD:5E:08:24:59:40:9D:37:D1:ED:90:E3:1A:AA:4D:94:65:27:FC:79:17:C9:17:99:BC:D1:CC:9C:F1:75:27:50:4B:DE:BE:8E:A1:AB:58:23:73:4C:28:23:5A:C3:36:95:B1:61:9F:3B:6F:40:9D:CA:0D:6F:EC:BC:9E:7E:AA:DC:C8:88:DA:E7:F7:60:04:E9:F6:74:9F:75:98:B4:9D:3C:4A:9C:2D:90:CC:3C:27:ED:E7:46:EE:56:54:70:12:7A:B9:8A:32:BB:12:38:56:34:1C:0E:C5:21:64:07:59:11:F0:4D:FD:FE:F1:FB:4F:74:2C:C5:41:B7:5C:04:D8:9E:AC:F5:29:9C:04:1B:85:D5:94:DA:24:8E:7D:58:42:46:74:96:94:8B:58:58:D6:D4:A7:8E:30:CF:11:2D:80:0C:00:00:12:2B:98:37:28:64:FE:B6:C6:E6:B7:75:CD:D7:52:09:6C:0D:AA:64:D7:4D:5C:BC:73:07:C9:34:C1:48:A7:70:82:79:DD:04:1D:98:38:BF:77:CE:99:50:35:D1:55:E1:A6:B0:48:C4:64:C7:6D:74:C3:19:11:1B:9A:51:56:4B:2A:57:60:43:7F:3D:D6:9A:B7:39:C7:14:6E:9F:DC:F1:83:A9:76:19:DC:B7:A8:9C:BC:8D"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "7A:0E:8A:7F:71:4C:C6:42:27:12:98:93:51:CD:55:D7:D1:89:8E:DB"}, "authorityKeyIdentifier": {"critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181122Z", "not_valid_before": "20250213181139Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470306.43-12034-94013995155095/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "7A:0E:8A:7F:71:4C:C6:42:27:12:98:93:51:CD:55:D7:D1:89:8E:DB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:29:4C:1C:BD:5E:08:24:59:40:9D:37:D1:ED:90:E3:1A:AA:4D:94:65:27:FC:79:17:C9:17:99:BC:D1:CC:9C:F1:75:27:50:4B:DE:BE:8E:A1:AB:58:23:73:4C:28:23:5A:C3:36:95:B1:61:9F:3B:6F:40:9D:CA:0D:6F:EC:BC:9E:7E:AA:DC:C8:88:DA:E7:F7:60:04:E9:F6:74:9F:75:98:B4:9D:3C:4A:9C:2D:90:CC:3C:27:ED:E7:46:EE:56:54:70:12:7A:B9:8A:32:BB:12:38:56:34:1C:0E:C5:21:64:07:59:11:F0:4D:FD:FE:F1:FB:4F:74:2C:C5:41:B7:5C:04:D8:9E:AC:F5:29:9C:04:1B:85:D5:94:DA:24:8E:7D:58:42:46:74:96:94:8B:58:58:D6:D4:A7:8E:30:CF:11:2D:80:0C:00:00:12:2B:98:37:28:64:FE:B6:C6:E6:B7:75:CD:D7:52:09:6C:0D:AA:64:D7:4D:5C:BC:73:07:C9:34:C1:48:A7:70:82:79:DD:04:1D:98:38:BF:77:CE:99:50:35:D1:55:E1:A6:B0:48:C4:64:C7:6D:74:C3:19:11:1B:9A:51:56:4B:2A:57:60:43:7F:3D:D6:9A:B7:39:C7:14:6E:9F:DC:F1:83:A9:76:19:DC:B7:A8:9C:BC:8D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181139Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid_mode.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.451) 0:00:41.348 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "AB:B8:BA:79:99:58:B3:55:3E:D9:88:EE:51:CB:43:0C:3C:E6:4F:A6" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "7A:0E:8A:7F:71:4C:C6:42:27:12:98:93:51:CD:55:D7:D1:89:8E:DB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8A:29:4C:1C:BD:5E:08:24:59:40:9D:37:D1:ED:90:E3:1A:AA:4D:94:65:27:FC:79:17:C9:17:99:BC:D1:CC:9C:F1:75:27:50:4B:DE:BE:8E:A1:AB:58:23:73:4C:28:23:5A:C3:36:95:B1:61:9F:3B:6F:40:9D:CA:0D:6F:EC:BC:9E:7E:AA:DC:C8:88:DA:E7:F7:60:04:E9:F6:74:9F:75:98:B4:9D:3C:4A:9C:2D:90:CC:3C:27:ED:E7:46:EE:56:54:70:12:7A:B9:8A:32:BB:12:38:56:34:1C:0E:C5:21:64:07:59:11:F0:4D:FD:FE:F1:FB:4F:74:2C:C5:41:B7:5C:04:D8:9E:AC:F5:29:9C:04:1B:85:D5:94:DA:24:8E:7D:58:42:46:74:96:94:8B:58:58:D6:D4:A7:8E:30:CF:11:2D:80:0C:00:00:12:2B:98:37:28:64:FE:B6:C6:E6:B7:75:CD:D7:52:09:6C:0D:AA:64:D7:4D:5C:BC:73:07:C9:34:C1:48:A7:70:82:79:DD:04:1D:98:38:BF:77:CE:99:50:35:D1:55:E1:A6:B0:48:C4:64:C7:6D:74:C3:19:11:1B:9A:51:56:4B:2A:57:60:43:7F:3D:D6:9A:B7:39:C7:14:6E:9F:DC:F1:83:A9:76:19:DC:B7:A8:9C:BC:8D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181122Z", "not_valid_before": "20250213181139Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.068) 0:00:41.417 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:11:46 -0500 (0:00:00.068) 0:00:41.486 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.067) 0:00:41.553 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.068) 0:00:41.622 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.086) 0:00:41.708 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.062) 0:00:41.770 ***** <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.164> (0, '/root\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261 `" && echo ansible-tmp-1739470307.29-12072-248247466366261="` echo /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261 `" ) && sleep 0'"'"'' <10.31.10.164> (0, 'ansible-tmp-1739470307.29-12072-248247466366261=/root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.10.164> PUT /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpjZW8uh TO /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/AnsiballZ_command.py <10.31.10.164> 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/272afe4944 '[10.31.10.164]' <10.31.10.164> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9838oxTXgi/tmpjZW8uh /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/AnsiballZ_command.py\n', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/ /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '', '') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 -tt 10.31.10.164 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.164> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:47.538360", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:47.492719", "stderr": "", "delta": "0:00:00.045641", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.10.164 closed.\r\n') <10.31.10.164> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.164> 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/272afe4944 10.31.10.164 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470307.29-12072-248247466366261/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.164> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045641", "end": "2025-02-13 13:11:47.538360", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_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:11:47.492719" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.368) 0:00:42.139 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Thursday 13 February 2025 13:11:47 -0500 (0:00:00.048) 0:00:42.187 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.26s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.32s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.78s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.58s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.48s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.14s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.87s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.69s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.69s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.67s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.65s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.64s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Gathering Facts --------------------------------------------------------- 0.63s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Ensure python3 is installed --------------------------------------------- 0.62s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure user exists ------------------------------------------------------ 0.62s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Retrieve auto-renew flag ------------------------------------------------ 0.57s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Gathering Facts --------------------------------------------------------- 0.54s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14