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_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 13:11:03 -0500 (0:00:00.026) 0:00:00.026 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', "Warning: Permanently added '10.31.12.34' (ECDSA) to the list of known hosts.\r\n") <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076 `" && echo ansible-tmp-1739470263.58-9793-213414032947076="` echo /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470263.58-9793-213414032947076=/root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076\n', '') Attempting python interpreter discovery <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/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.12.34> (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.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.12.34> (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.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp0KGvZe TO /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/AnsiballZ_setup.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp0KGvZe /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/AnsiballZ_setup.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/ /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.34> (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 34552 22", "SSH_CONNECTION": "10.31.40.91 34552 10.31.12.34 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0a:ff:dd:ea:7d:4f", "network": "10.31.12.0", "mtu": 9001, "broadcast": "10.31.15.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.12.34", "interface": "eth0", "type": "ether", "gateway": "10.31.12.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": "6f59c4e64de149cd8307568f5364b0dc", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC230999-6192-142A-7784-7D65F428D95E", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::8ff:ddff:feea:7d4f"], "ansible_uptime_seconds": 230, "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": "ec230999-6192-142a-7784-7d65f428d95e", "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": "0a:ff:dd:ea:7d:4f", "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.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "address": "10.31.12.34"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::8ff:ddff:feea:7d4f"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.12.34"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 708, "free": 2892}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 169, "free": 3431}}, "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": 2892, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "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-node1", "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": "20250213T131104", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470264", "iso8601_micro": "2025-02-13T18:11:04.296544Z", "weekday": "Thursday", "time": "13:11:04", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:04Z", "day": "13", "iso8601_basic": "20250213T131104296544", "second": "04"}, "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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470263.58-9793-213414032947076/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] 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:04 -0500 (0:00:01.108) 0:00:01.134 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 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:04 -0500 (0:00:00.026) 0:00:01.161 ***** skipping: [managed-node1] => { "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:04 -0500 (0:00:00.040) 0:00:01.202 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957 `" && echo ansible-tmp-1739470264.49-9812-274616202150957="` echo /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470264.49-9812-274616202150957=/root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpjvh8XY TO /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpjvh8XY /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/ /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470264.49-9812-274616202150957/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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:04 -0500 (0:00:00.561) 0:00:01.763 ***** ok: [managed-node1] => { "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:05 -0500 (0:00:00.071) 0:00:01.835 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (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-node1] => (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:05 -0500 (0:00:00.114) 0:00:01.950 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426 `" && echo ansible-tmp-1739470265.35-9853-114141717784426="` echo /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470265.35-9853-114141717784426=/root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpbjOLRN TO /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/AnsiballZ_yum.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpbjOLRN /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/AnsiballZ_yum.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/ /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (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 4.0 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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470265.35-9853-114141717784426/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => { "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 4.0 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:12 -0500 (0:00:07.653) 0:00:09.603 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550 `" && echo ansible-tmp-1739470272.97-10029-82744057642550="` echo /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470272.97-10029-82744057642550=/root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpBap9CR TO /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/AnsiballZ_yum.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpBap9CR /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/AnsiballZ_yum.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/ /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (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 1.4 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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470272.97-10029-82744057642550/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (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 1.4 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:17 -0500 (0:00:04.815) 0:00:14.418 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397 `" && echo ansible-tmp-1739470277.73-10091-136177802729397="` echo /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470277.73-10091-136177802729397=/root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpXHBdG9 TO /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/AnsiballZ_file.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpXHBdG9 /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/AnsiballZ_file.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/ /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470277.73-10091-136177802729397/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (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:18 -0500 (0:00:00.479) 0:00:14.898 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031 `" && echo ansible-tmp-1739470278.2-10107-280884715957031="` echo /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470278.2-10107-280884715957031=/root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp5_DLmw TO /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/AnsiballZ_file.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp5_DLmw /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/AnsiballZ_file.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/ /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470278.2-10107-280884715957031/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (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:18 -0500 (0:00:00.329) 0:00:15.228 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087 `" && echo ansible-tmp-1739470278.53-10116-210521156396087="` echo /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470278.53-10116-210521156396087=/root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmphYCiIw TO /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/AnsiballZ_systemd.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmphYCiIw /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/AnsiballZ_systemd.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/ /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.34> (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 systemd-journald.socket network.target dbus.service system.slice syslog.target", "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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470278.53-10116-210521156396087/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (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 systemd-journald.socket network.target dbus.service system.slice syslog.target", "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:19 -0500 (0:00:00.807) 0:00:16.035 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094 `" && echo ansible-tmp-1739470279.38-10132-100644000290094="` echo /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470279.38-10132-100644000290094=/root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpyOw7Bh TO /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/AnsiballZ_certificate_request.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpyOw7Bh /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/AnsiballZ_certificate_request.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/ /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (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, "name": "mycert_many_self_signed", "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470279.38-10132-100644000290094/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'mycert_many_self_signed', 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": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_many_self_signed", "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", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776 `" && echo ansible-tmp-1739470280.19-10132-243602645103776="` echo /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470280.19-10132-243602645103776=/root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpRWXpNE TO /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/AnsiballZ_certificate_request.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpRWXpNE /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/AnsiballZ_certificate_request.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/ /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (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, "name": "other-cert", "state": null, "organizational_unit": null, "dns": ["www.example.org"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470280.19-10132-243602645103776/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}) => { "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.org" ], "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": null, "name": "other-cert", "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.org", "name": "other-cert" } } MSG: Certificate requested (new). <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959 `" && echo ansible-tmp-1739470280.89-10132-238710150474959="` echo /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470280.89-10132-238710150474959=/root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpvxZKX7 TO /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/AnsiballZ_certificate_request.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpvxZKX7 /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/AnsiballZ_certificate_request.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/ /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.34> (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, "name": "another-cert", "state": null, "organizational_unit": null, "dns": ["www.example.net"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470280.89-10132-238710150474959/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}) => { "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.net" ], "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": null, "name": "another-cert", "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.net", "name": "another-cert" } } 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:21 -0500 (0:00:02.273) 0:00:18.309 ***** skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "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:21 -0500 (0:00:00.173) 0:00:18.483 ***** skipping: [managed-node1] => { "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:21 -0500 (0:00:00.063) 0:00:18.547 ***** skipping: [managed-node1] => { "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:21 -0500 (0:00:00.071) 0:00:18.618 ***** skipping: [managed-node1] => { "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_many_self_signed.yml:18 Thursday 13 February 2025 13:11:21 -0500 (0:00:00.085) 0:00:18.703 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843 `" && echo ansible-tmp-1739470282.0-10218-235680502923843="` echo /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470282.0-10218-235680502923843=/root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpNsPMaX TO /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/AnsiballZ_setup.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpNsPMaX /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/AnsiballZ_setup.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/ /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.34> (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 34552 22", "SSH_CONNECTION": "10.31.40.91 34552 10.31.12.34 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0a:ff:dd:ea:7d:4f", "network": "10.31.12.0", "mtu": 9001, "broadcast": "10.31.15.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.12.34", "interface": "eth0", "type": "ether", "gateway": "10.31.12.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": "6f59c4e64de149cd8307568f5364b0dc", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC230999-6192-142A-7784-7D65F428D95E", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::8ff:ddff:feea:7d4f"], "ansible_uptime_seconds": 248, "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": "ec230999-6192-142a-7784-7d65f428d95e", "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": "0a:ff:dd:ea:7d:4f", "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.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "address": "10.31.12.34"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::8ff:ddff:feea:7d4f"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.12.34"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 841, "free": 2759}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 180, "free": 3420}}, "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": 2759, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "ansible_mounts": [{"block_used": 3203477, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287383, "size_available": 251033120768, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65214, "block_size": 4096, "inode_available": 16318786}], "ansible_nodename": "managed-node1", "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": "20250213T131122", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "11", "tz_offset": "-0500", "month": "02", "epoch": "1739470282", "iso8601_micro": "2025-02-13T18:11:22.441785Z", "weekday": "Thursday", "time": "13:11:22", "date": "2025-02-13", "iso8601": "2025-02-13T18:11:22Z", "day": "13", "iso8601_basic": "20250213T131122441785", "second": "22"}, "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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470282.0-10218-235680502923843/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 13:11:22 -0500 (0:00:00.633) 0:00:19.336 ***** included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 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:22 -0500 (0:00:00.203) 0:00:19.540 ***** ok: [managed-node1] => { "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:22 -0500 (0:00:00.030) 0:00:19.570 ***** skipping: [managed-node1] => { "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:22 -0500 (0:00:00.060) 0:00:19.631 ***** skipping: [managed-node1] => { "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:22 -0500 (0:00:00.060) 0:00:19.692 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843 `" && echo ansible-tmp-1739470283.08-10262-101108172860843="` echo /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470283.08-10262-101108172860843=/root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpidWdKL TO /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/AnsiballZ_yum.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpidWdKL /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/AnsiballZ_yum.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/ /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470283.08-10262-101108172860843/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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:23 -0500 (0:00:00.637) 0:00:20.329 ***** skipping: [managed-node1] => { "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:23 -0500 (0:00:00.051) 0:00:20.381 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117 `" && echo ansible-tmp-1739470283.7-10295-231107556414117="` echo /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470283.7-10295-231107556414117=/root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpC3dc6P TO /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpC3dc6P /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/ /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_many_self_signed.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": 1739470279.9482627, "block_size": 4096, "inode": 172743, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1511700089", "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/mycert_many_self_signed.crt", "xusr": false, "atime": 1739470279.9522626, "isdir": false, "ctime": 1739470279.9482627, "isblk": false, "wgrp": false, "checksum": "98d4cc9b7486b0ea3746eeeb0eaedfb5fd7e7ccf", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470283.7-10295-231107556414117/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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_many_self_signed.crt" } }, "stat": { "atime": 1739470279.9522626, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "98d4cc9b7486b0ea3746eeeb0eaedfb5fd7e7ccf", "ctime": 1739470279.9482627, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172743, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470279.9482627, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1511700089", "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:23 -0500 (0:00:00.361) 0:00:20.743 ***** ok: [managed-node1] => { "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:24 -0500 (0:00:00.051) 0:00:20.795 ***** ok: [managed-node1] => { "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:24 -0500 (0:00:00.073) 0:00:20.868 ***** ok: [managed-node1] => { "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:24 -0500 (0:00:00.071) 0:00:20.940 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530 `" && echo ansible-tmp-1739470284.29-10321-266799025384530="` echo /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470284.29-10321-266799025384530=/root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmptXkK8f TO /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmptXkK8f /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/ /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_many_self_signed.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": 1739470279.9482627, "block_size": 4096, "inode": 172742, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1511700076", "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/mycert_many_self_signed.key", "xusr": false, "atime": 1739470279.9072623, "isdir": false, "ctime": 1739470279.9482627, "isblk": false, "wgrp": false, "checksum": "493ddc83bd972dfaf8edb6dcaecc247af7254f58", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470284.29-10321-266799025384530/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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_many_self_signed.key" } }, "stat": { "atime": 1739470279.9072623, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "493ddc83bd972dfaf8edb6dcaecc247af7254f58", "ctime": 1739470279.9482627, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470279.9482627, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1511700076", "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:24 -0500 (0:00:00.462) 0:00:21.403 ***** ok: [managed-node1] => { "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:24 -0500 (0:00:00.061) 0:00:21.464 ***** ok: [managed-node1] => { "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:24 -0500 (0:00:00.061) 0:00:21.526 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190 `" && echo ansible-tmp-1739470284.83-10370-17512278663190="` echo /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470284.83-10370-17512278663190=/root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpdp8MUN TO /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/AnsiballZ_certtojson.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpdp8MUN /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/AnsiballZ_certtojson.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/ /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "80:80:B3:9C:C5:22:29:D1:9B:CC:B2:B2:A5:F2:1C:7E:38:7A:92:3A:43:02:BF:5A:41:5D:47:03:0C:AE:09:B2:64:E7:D4:3D:A0:F3:B9:98:F1:62:7C:72:CF:3C:2F:7D:4A:C1:93:29:DA:1C:88:3B:EE:83:8B:0A:40:66:EB:FC:61:4B:D7:F1:EB:E4:09:41:B7:70:71:00:AC:6C:47:E1:78:E3:8A:CD:2E:0E:40:78:B2:15:37:B0:10:44:ED:0B:EC:E1:94:0D:AD:77:97:10:88:67:1F:0A:20:F8:AE:1F:77:7B:3F:60:5E:02:91:F4:3A:16:2E:BF:01:8B:DC:B2:A5:86:43:80:2E:BB:69:35:64:34:C2:43:2E:FF:9E:F2:24:86:06:C2:94:DE:E2:E0:36:CC:E2:B4:9F:A4:EC:93:16:9D:E9:7E:37:FB:0D:08:D4:56:D0:4A:1B:22:6F:C4:E8:7B:9F:E6:48:7E:9D:8B:31:A2:DA:3A:B1:39:6A:F3:A9:BF:5E:DE:66:62:E0:3A:F9:5E:4D:34:AE:42:74:63:1B:13:D6:C6:89:EA:B3:D6:C0:8D:24:2A:12:86:DD:B8:F4:FD:54:DB:42:14:1F:3A:78:95:98:4D:61:8A:38:80:1C:C7:D7:66:B0:1D:08:56:26:F8:4D:7A:31:EF:A3:F8"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "6E:83:6D:38:47:92:A1:3A:F8:CA:2C:AC:04:A2:80:89:D4:6C:B0:55"}, "authorityKeyIdentifier": {"critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33"}, "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": "20260213181119Z", "not_valid_before": "20250213181119Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470284.83-10370-17512278663190/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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": "6E:83:6D:38:47:92:A1:3A:F8:CA:2C:AC:04:A2:80:89:D4:6C:B0:55" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "80:80:B3:9C:C5:22:29:D1:9B:CC:B2:B2:A5:F2:1C:7E:38:7A:92:3A:43:02:BF:5A:41:5D:47:03:0C:AE:09:B2:64:E7:D4:3D:A0:F3:B9:98:F1:62:7C:72:CF:3C:2F:7D:4A:C1:93:29:DA:1C:88:3B:EE:83:8B:0A:40:66:EB:FC:61:4B:D7:F1:EB:E4:09:41:B7:70:71:00:AC:6C:47:E1:78:E3:8A:CD:2E:0E:40:78:B2:15:37:B0:10:44:ED:0B:EC:E1:94:0D:AD:77:97:10:88:67:1F:0A:20:F8:AE:1F:77:7B:3F:60:5E:02:91:F4:3A:16:2E:BF:01:8B:DC:B2:A5:86:43:80:2E:BB:69:35:64:34:C2:43:2E:FF:9E:F2:24:86:06:C2:94:DE:E2:E0:36:CC:E2:B4:9F:A4:EC:93:16:9D:E9:7E:37:FB:0D:08:D4:56:D0:4A:1B:22:6F:C4:E8:7B:9F:E6:48:7E:9D:8B:31:A2:DA:3A:B1:39:6A:F3:A9:BF:5E:DE:66:62:E0:3A:F9:5E:4D:34:AE:42:74:63:1B:13:D6:C6:89:EA:B3:D6:C0:8D:24:2A:12:86:DD:B8:F4:FD:54:DB:42:14:1F:3A:78:95:98:4D:61:8A:38:80:1C:C7:D7:66:B0:1D:08:56:26:F8:4D:7A:31:EF:A3:F8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181119Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_many_self_signed.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:25 -0500 (0:00:00.634) 0:00:22.160 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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": "6E:83:6D:38:47:92:A1:3A:F8:CA:2C:AC:04:A2:80:89:D4:6C:B0:55" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "80:80:B3:9C:C5:22:29:D1:9B:CC:B2:B2:A5:F2:1C:7E:38:7A:92:3A:43:02:BF:5A:41:5D:47:03:0C:AE:09:B2:64:E7:D4:3D:A0:F3:B9:98:F1:62:7C:72:CF:3C:2F:7D:4A:C1:93:29:DA:1C:88:3B:EE:83:8B:0A:40:66:EB:FC:61:4B:D7:F1:EB:E4:09:41:B7:70:71:00:AC:6C:47:E1:78:E3:8A:CD:2E:0E:40:78:B2:15:37:B0:10:44:ED:0B:EC:E1:94:0D:AD:77:97:10:88:67:1F:0A:20:F8:AE:1F:77:7B:3F:60:5E:02:91:F4:3A:16:2E:BF:01:8B:DC:B2:A5:86:43:80:2E:BB:69:35:64:34:C2:43:2E:FF:9E:F2:24:86:06:C2:94:DE:E2:E0:36:CC:E2:B4:9F:A4:EC:93:16:9D:E9:7E:37:FB:0D:08:D4:56:D0:4A:1B:22:6F:C4:E8:7B:9F:E6:48:7E:9D:8B:31:A2:DA:3A:B1:39:6A:F3:A9:BF:5E:DE:66:62:E0:3A:F9:5E:4D:34:AE:42:74:63:1B:13:D6:C6:89:EA:B3:D6:C0:8D:24:2A:12:86:DD:B8:F4:FD:54:DB:42:14:1F:3A:78:95:98:4D:61:8A:38:80:1C:C7:D7:66:B0:1D:08:56:26:F8:4D:7A:31:EF:A3:F8" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181119Z" } } }, "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:25 -0500 (0:00:00.089) 0:00:22.250 ***** ok: [managed-node1] => { "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:25 -0500 (0:00:00.083) 0:00:22.334 ***** ok: [managed-node1] => { "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:25 -0500 (0:00:00.090) 0:00:22.424 ***** ok: [managed-node1] => { "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:25 -0500 (0:00:00.072) 0:00:22.497 ***** ok: [managed-node1] => { "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:25 -0500 (0:00:00.066) 0:00:22.563 ***** ok: [managed-node1] => { "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:25 -0500 (0:00:00.061) 0:00:22.625 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262 `" && echo ansible-tmp-1739470285.93-10433-23551748425262="` echo /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470285.93-10433-23551748425262=/root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpmOirJJ TO /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/AnsiballZ_command.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpmOirJJ /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/AnsiballZ_command.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/ /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:26.348426", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:26.304848", "stderr": "", "delta": "0:00:00.043578", "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_many_self_signed.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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470285.93-10433-23551748425262/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043578", "end": "2025-02-13 13:11:26.348426", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.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:26.304848" } 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:26 -0500 (0:00:00.561) 0:00:23.186 ***** ok: [managed-node1] => { "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:26 -0500 (0:00:00.081) 0:00:23.267 ***** ok: [managed-node1] => { "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:26 -0500 (0:00:00.055) 0:00:23.323 ***** skipping: [managed-node1] => { "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:26 -0500 (0:00:00.064) 0:00:23.388 ***** skipping: [managed-node1] => { "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:26 -0500 (0:00:00.064) 0:00:23.452 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608 `" && echo ansible-tmp-1739470286.93-10489-128076108484608="` echo /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470286.93-10489-128076108484608=/root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpKxVbT6 TO /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/AnsiballZ_yum.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpKxVbT6 /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/AnsiballZ_yum.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/ /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470286.93-10489-128076108484608/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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:27 -0500 (0:00:00.772) 0:00:24.225 ***** skipping: [managed-node1] => { "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:27 -0500 (0:00:00.100) 0:00:24.325 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355 `" && echo ansible-tmp-1739470287.65-10544-213994845194355="` echo /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470287.65-10544-213994845194355=/root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpuf33Vq TO /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpuf33Vq /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/ /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/other-cert.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": 1739470280.6462677, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1511700127", "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/other-cert.crt", "xusr": false, "atime": 1739470280.6512678, "isdir": false, "ctime": 1739470280.6462677, "isblk": false, "wgrp": false, "checksum": "483104f21212e8fc4dd47f4af1d6ab0458810e94", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470287.65-10544-213994845194355/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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/other-cert.crt" } }, "stat": { "atime": 1739470280.6512678, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "483104f21212e8fc4dd47f4af1d6ab0458810e94", "ctime": 1739470280.6462677, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470280.6462677, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1511700127", "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:27 -0500 (0:00:00.418) 0:00:24.743 ***** ok: [managed-node1] => { "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:28 -0500 (0:00:00.067) 0:00:24.810 ***** ok: [managed-node1] => { "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:28 -0500 (0:00:00.084) 0:00:24.895 ***** ok: [managed-node1] => { "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:28 -0500 (0:00:00.085) 0:00:24.980 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878 `" && echo ansible-tmp-1739470288.33-10581-32831011580878="` echo /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470288.33-10581-32831011580878=/root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpE7yh00 TO /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpE7yh00 /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/ /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/other-cert.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": 1739470280.6452677, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1511700114", "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/other-cert.key", "xusr": false, "atime": 1739470280.6052673, "isdir": false, "ctime": 1739470280.6452677, "isblk": false, "wgrp": false, "checksum": "08de93bd33d565348f9fb29be7adaa7bd3e78d20", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470288.33-10581-32831011580878/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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/other-cert.key" } }, "stat": { "atime": 1739470280.6052673, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "08de93bd33d565348f9fb29be7adaa7bd3e78d20", "ctime": 1739470280.6452677, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470280.6452677, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1511700114", "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:28 -0500 (0:00:00.554) 0:00:25.535 ***** ok: [managed-node1] => { "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:28 -0500 (0:00:00.075) 0:00:25.611 ***** ok: [managed-node1] => { "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:28 -0500 (0:00:00.091) 0:00:25.702 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723 `" && echo ansible-tmp-1739470289.02-10627-85306046342723="` echo /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470289.02-10627-85306046342723=/root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpgCF0Lb TO /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/AnsiballZ_certtojson.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpgCF0Lb /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/AnsiballZ_certtojson.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/ /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "B7:D1:36:1A:92:2F:3E:58:51:E2:FB:E6:F8:B2:41:5B:B0:82:CB:A2:BA:3A:EF:7E:1E:30:35:D4:9A:CA:AA:4F:5F:2E:B9:D4:5F:8A:54:5C:5A:A3:3D:5E:91:EA:E9:19:7D:80:8F:AA:95:D7:39:7C:07:35:5E:48:7E:1D:0F:BE:76:E5:36:D9:07:FC:73:E7:46:BE:39:01:79:0E:47:10:00:14:E6:8B:E4:EE:56:CC:52:9F:AD:B1:86:4E:A1:C9:57:C2:02:42:D6:53:1B:A8:1E:9A:6D:73:2D:FA:C3:5B:3C:8B:30:97:10:FF:A7:57:44:AC:94:56:C3:C8:91:53:18:FB:41:F2:3A:D6:BB:B7:AB:28:02:5F:8E:B1:61:17:06:44:84:C3:9C:24:99:29:42:B4:8A:C4:13:D0:80:B1:BF:AF:C3:51:B5:ED:2D:74:3D:72:78:2A:DE:2D:20:27:79:76:02:7C:B8:4D:A8:85:4C:BB:C5:09:F7:57:28:00:64:82:C6:F4:63:79:57:AF:C6:76:18:81:B2:80:68:D0:3C:CF:6B:6E:A0:C9:2D:AD:53:E1:F0:37:22:07:47:DD:89:EF:D9:98:3F:00:6A:7C:34:B0:2F:2C:DD:0E:12:61:01:07:EA:FF:F6:D9:00:09:7C:E2:C3:74:2B:8F:73:5C"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "51:55:6B:67:73:E9:DC:9E:11:2F:80:4B:E8:58:E6:12:3F:37:51:E7"}, "authorityKeyIdentifier": {"critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33"}, "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.org"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181119Z", "not_valid_before": "20250213181120Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.org"}]}}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470289.02-10627-85306046342723/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "51:55:6B:67:73:E9:DC:9E:11:2F:80:4B:E8:58:E6:12:3F:37:51:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B7:D1:36:1A:92:2F:3E:58:51:E2:FB:E6:F8:B2:41:5B:B0:82:CB:A2:BA:3A:EF:7E:1E:30:35:D4:9A:CA:AA:4F:5F:2E:B9:D4:5F:8A:54:5C:5A:A3:3D:5E:91:EA:E9:19:7D:80:8F:AA:95:D7:39:7C:07:35:5E:48:7E:1D:0F:BE:76:E5:36:D9:07:FC:73:E7:46:BE:39:01:79:0E:47:10:00:14:E6:8B:E4:EE:56:CC:52:9F:AD:B1:86:4E:A1:C9:57:C2:02:42:D6:53:1B:A8:1E:9A:6D:73:2D:FA:C3:5B:3C:8B:30:97:10:FF:A7:57:44:AC:94:56:C3:C8:91:53:18:FB:41:F2:3A:D6:BB:B7:AB:28:02:5F:8E:B1:61:17:06:44:84:C3:9C:24:99:29:42:B4:8A:C4:13:D0:80:B1:BF:AF:C3:51:B5:ED:2D:74:3D:72:78:2A:DE:2D:20:27:79:76:02:7C:B8:4D:A8:85:4C:BB:C5:09:F7:57:28:00:64:82:C6:F4:63:79:57:AF:C6:76:18:81:B2:80:68:D0:3C:CF:6B:6E:A0:C9:2D:AD:53:E1:F0:37:22:07:47:DD:89:EF:D9:98:3F:00:6A:7C:34:B0:2F:2C:DD:0E:12:61:01:07:EA:FF:F6:D9:00:09:7C:E2:C3:74:2B:8F:73:5C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181120Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/other-cert.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:29 -0500 (0:00:00.467) 0:00:26.170 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "51:55:6B:67:73:E9:DC:9E:11:2F:80:4B:E8:58:E6:12:3F:37:51:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B7:D1:36:1A:92:2F:3E:58:51:E2:FB:E6:F8:B2:41:5B:B0:82:CB:A2:BA:3A:EF:7E:1E:30:35:D4:9A:CA:AA:4F:5F:2E:B9:D4:5F:8A:54:5C:5A:A3:3D:5E:91:EA:E9:19:7D:80:8F:AA:95:D7:39:7C:07:35:5E:48:7E:1D:0F:BE:76:E5:36:D9:07:FC:73:E7:46:BE:39:01:79:0E:47:10:00:14:E6:8B:E4:EE:56:CC:52:9F:AD:B1:86:4E:A1:C9:57:C2:02:42:D6:53:1B:A8:1E:9A:6D:73:2D:FA:C3:5B:3C:8B:30:97:10:FF:A7:57:44:AC:94:56:C3:C8:91:53:18:FB:41:F2:3A:D6:BB:B7:AB:28:02:5F:8E:B1:61:17:06:44:84:C3:9C:24:99:29:42:B4:8A:C4:13:D0:80:B1:BF:AF:C3:51:B5:ED:2D:74:3D:72:78:2A:DE:2D:20:27:79:76:02:7C:B8:4D:A8:85:4C:BB:C5:09:F7:57:28:00:64:82:C6:F4:63:79:57:AF:C6:76:18:81:B2:80:68:D0:3C:CF:6B:6E:A0:C9:2D:AD:53:E1:F0:37:22:07:47:DD:89:EF:D9:98:3F:00:6A:7C:34:B0:2F:2C:DD:0E:12:61:01:07:EA:FF:F6:D9:00:09:7C:E2:C3:74:2B:8F:73:5C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181120Z" } } }, "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:29 -0500 (0:00:00.068) 0:00:26.238 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.087) 0:00:26.326 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.099) 0:00:26.426 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.091) 0:00:26.517 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.091) 0:00:26.609 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.084) 0:00:26.693 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456 `" && echo ansible-tmp-1739470290.04-10774-20321297693456="` echo /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470290.04-10774-20321297693456=/root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp2feaaS TO /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/AnsiballZ_command.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp2feaaS /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/AnsiballZ_command.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/ /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:30.313859", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:30.270133", "stderr": "", "delta": "0:00:00.043726", "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/other-cert.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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470290.04-10774-20321297693456/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043726", "end": "2025-02-13 13:11:30.313859", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.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:30.270133" } 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:30 -0500 (0:00:00.482) 0:00:27.176 ***** ok: [managed-node1] => { "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:30 -0500 (0:00:00.076) 0:00:27.252 ***** ok: [managed-node1] => { "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:30 -0500 (0:00:00.064) 0:00:27.316 ***** skipping: [managed-node1] => { "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:30 -0500 (0:00:00.088) 0:00:27.405 ***** skipping: [managed-node1] => { "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:30 -0500 (0:00:00.068) 0:00:27.474 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719 `" && echo ansible-tmp-1739470290.89-10863-237726172291719="` echo /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470290.89-10863-237726172291719=/root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp4tCbnP TO /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/AnsiballZ_yum.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmp4tCbnP /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/AnsiballZ_yum.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/ /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.12.34> (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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470290.89-10863-237726172291719/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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:31 -0500 (0:00:00.688) 0:00:28.163 ***** skipping: [managed-node1] => { "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:31 -0500 (0:00:00.044) 0:00:28.208 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484 `" && echo ansible-tmp-1739470291.5-10898-227745399585484="` echo /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470291.5-10898-227745399585484=/root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpacNSns TO /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpacNSns /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/ /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/another-cert.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": 1739470281.3322725, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1511700165", "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/another-cert.crt", "xusr": false, "atime": 1739470281.3362725, "isdir": false, "ctime": 1739470281.3322725, "isblk": false, "wgrp": false, "checksum": "f5726f223f6dbcd254cca56b6a834e81197e1507", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470291.5-10898-227745399585484/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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/another-cert.crt" } }, "stat": { "atime": 1739470281.3362725, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f5726f223f6dbcd254cca56b6a834e81197e1507", "ctime": 1739470281.3322725, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470281.3322725, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1511700165", "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.376) 0:00:28.584 ***** ok: [managed-node1] => { "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.084) 0:00:28.669 ***** ok: [managed-node1] => { "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.066) 0:00:28.736 ***** ok: [managed-node1] => { "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:32 -0500 (0:00:00.067) 0:00:28.804 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371 `" && echo ansible-tmp-1739470292.12-10942-89702835331371="` echo /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470292.12-10942-89702835331371=/root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpgenQU2 TO /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/AnsiballZ_stat.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpgenQU2 /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/AnsiballZ_stat.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/ /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/another-cert.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": 1739470281.3322725, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1511700152", "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/another-cert.key", "xusr": false, "atime": 1739470281.2922723, "isdir": false, "ctime": 1739470281.3322725, "isblk": false, "wgrp": false, "checksum": "30d1cac562acb9f82f8c44a8c8d8ef7b443d3ef4", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470292.12-10942-89702835331371/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "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/another-cert.key" } }, "stat": { "atime": 1739470281.2922723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "30d1cac562acb9f82f8c44a8c8d8ef7b443d3ef4", "ctime": 1739470281.3322725, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470281.3322725, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1511700152", "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:32 -0500 (0:00:00.432) 0:00:29.236 ***** ok: [managed-node1] => { "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:32 -0500 (0:00:00.127) 0:00:29.364 ***** ok: [managed-node1] => { "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:32 -0500 (0:00:00.146) 0:00:29.510 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051 `" && echo ansible-tmp-1739470292.86-10984-5353248663051="` echo /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470292.86-10984-5353248663051=/root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051\n', '') Using module file /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpobxW5P TO /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/AnsiballZ_certtojson.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpobxW5P /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/AnsiballZ_certtojson.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/ /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "26:26:22:02:1E:65:1F:3E:C5:B3:17:C2:4A:14:7C:8C:7A:F7:51:74:CA:52:2C:9C:54:5B:2E:BD:35:02:9B:A7:D9:3B:FD:9D:A9:11:87:51:E5:63:68:C1:58:96:ED:DA:4F:24:1F:1C:38:88:3B:10:BD:5E:FB:5D:24:11:CA:88:B5:13:4B:44:0B:83:7B:25:D3:40:21:B5:81:74:6B:85:59:1F:EB:9E:A7:5F:87:B4:BD:27:2C:0A:B4:27:66:4E:42:5E:1E:E2:98:67:2E:EF:B1:AF:3B:54:A9:C9:35:C6:18:2C:BC:25:23:5F:27:CE:A1:EA:10:8B:6B:05:01:C2:17:C3:16:10:36:F6:E3:1F:6F:E4:78:3B:43:D1:E8:EA:5C:9A:1C:4D:21:8E:E6:2D:EC:06:18:AE:9D:7D:6F:CB:9D:37:C8:07:70:F2:D7:D2:67:AD:75:C3:AB:78:BD:5E:8D:FB:00:89:21:A6:00:6D:59:E5:BD:2F:2A:3E:BC:0C:5C:1B:E5:C8:35:53:C6:EA:23:14:25:E2:97:71:1B:35:1B:74:AF:9E:B7:65:1C:35:C3:2C:55:3C:9F:5E:C0:51:C5:F7:BD:CA:FF:F9:5D:E7:A9:F4:EE:60:B0:02:30:D0:DD:E8:40:2A:27:73:8D:90:B1:FA:56:6C:1B:97:BE:A5"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "FB:B0:AC:28:B9:6C:C6:B4:51:36:75:1E:06:15:9C:09:7C:B1:42:D6"}, "authorityKeyIdentifier": {"critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33"}, "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.net"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213181119Z", "not_valid_before": "20250213181121Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.net"}]}}\r\n', 'Shared connection to 10.31.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470292.86-10984-5353248663051/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FB:B0:AC:28:B9:6C:C6:B4:51:36:75:1E:06:15:9C:09:7C:B1:42:D6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "26:26:22:02:1E:65:1F:3E:C5:B3:17:C2:4A:14:7C:8C:7A:F7:51:74:CA:52:2C:9C:54:5B:2E:BD:35:02:9B:A7:D9:3B:FD:9D:A9:11:87:51:E5:63:68:C1:58:96:ED:DA:4F:24:1F:1C:38:88:3B:10:BD:5E:FB:5D:24:11:CA:88:B5:13:4B:44:0B:83:7B:25:D3:40:21:B5:81:74:6B:85:59:1F:EB:9E:A7:5F:87:B4:BD:27:2C:0A:B4:27:66:4E:42:5E:1E:E2:98:67:2E:EF:B1:AF:3B:54:A9:C9:35:C6:18:2C:BC:25:23:5F:27:CE:A1:EA:10:8B:6B:05:01:C2:17:C3:16:10:36:F6:E3:1F:6F:E4:78:3B:43:D1:E8:EA:5C:9A:1C:4D:21:8E:E6:2D:EC:06:18:AE:9D:7D:6F:CB:9D:37:C8:07:70:F2:D7:D2:67:AD:75:C3:AB:78:BD:5E:8D:FB:00:89:21:A6:00:6D:59:E5:BD:2F:2A:3E:BC:0C:5C:1B:E5:C8:35:53:C6:EA:23:14:25:E2:97:71:1B:35:1B:74:AF:9E:B7:65:1C:35:C3:2C:55:3C:9F:5E:C0:51:C5:F7:BD:CA:FF:F9:5D:E7:A9:F4:EE:60:B0:02:30:D0:DD:E8:40:2A:27:73:8D:90:B1:FA:56:6C:1B:97:BE:A5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181121Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/another-cert.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:33 -0500 (0:00:00.483) 0:00:29.993 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "7D:18:73:83:D8:EE:84:D6:B7:4C:B4:26:80:A1:06:BA:2B:73:8C:33" }, "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.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FB:B0:AC:28:B9:6C:C6:B4:51:36:75:1E:06:15:9C:09:7C:B1:42:D6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "26:26:22:02:1E:65:1F:3E:C5:B3:17:C2:4A:14:7C:8C:7A:F7:51:74:CA:52:2C:9C:54:5B:2E:BD:35:02:9B:A7:D9:3B:FD:9D:A9:11:87:51:E5:63:68:C1:58:96:ED:DA:4F:24:1F:1C:38:88:3B:10:BD:5E:FB:5D:24:11:CA:88:B5:13:4B:44:0B:83:7B:25:D3:40:21:B5:81:74:6B:85:59:1F:EB:9E:A7:5F:87:B4:BD:27:2C:0A:B4:27:66:4E:42:5E:1E:E2:98:67:2E:EF:B1:AF:3B:54:A9:C9:35:C6:18:2C:BC:25:23:5F:27:CE:A1:EA:10:8B:6B:05:01:C2:17:C3:16:10:36:F6:E3:1F:6F:E4:78:3B:43:D1:E8:EA:5C:9A:1C:4D:21:8E:E6:2D:EC:06:18:AE:9D:7D:6F:CB:9D:37:C8:07:70:F2:D7:D2:67:AD:75:C3:AB:78:BD:5E:8D:FB:00:89:21:A6:00:6D:59:E5:BD:2F:2A:3E:BC:0C:5C:1B:E5:C8:35:53:C6:EA:23:14:25:E2:97:71:1B:35:1B:74:AF:9E:B7:65:1C:35:C3:2C:55:3C:9F:5E:C0:51:C5:F7:BD:CA:FF:F9:5D:E7:A9:F4:EE:60:B0:02:30:D0:DD:E8:40:2A:27:73:8D:90:B1:FA:56:6C:1B:97:BE:A5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213181119Z", "not_valid_before": "20250213181121Z" } } }, "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:33 -0500 (0:00:00.062) 0:00:30.056 ***** ok: [managed-node1] => { "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:33 -0500 (0:00:00.060) 0:00:30.116 ***** ok: [managed-node1] => { "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:33 -0500 (0:00:00.052) 0:00:30.169 ***** ok: [managed-node1] => { "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:33 -0500 (0:00:00.086) 0:00:30.255 ***** ok: [managed-node1] => { "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:33 -0500 (0:00:00.055) 0:00:30.310 ***** ok: [managed-node1] => { "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:33 -0500 (0:00:00.053) 0:00:30.364 ***** <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.34> (0, '/root\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853 `" && echo ansible-tmp-1739470293.66-11033-152603662741853="` echo /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853 `" ) && sleep 0'"'"'' <10.31.12.34> (0, 'ansible-tmp-1739470293.66-11033-152603662741853=/root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.12.34> PUT /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpfdicJy TO /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/AnsiballZ_command.py <10.31.12.34> 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/704b0b223f '[10.31.12.34]' <10.31.12.34> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9784uP2ExI/tmpfdicJy /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/AnsiballZ_command.py\n', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/ /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '', '') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f -tt 10.31.12.34 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.34> (0, '\r\n{"changed": true, "end": "2025-02-13 13:11:33.959531", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:11:33.916218", "stderr": "", "delta": "0:00:00.043313", "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/another-cert.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.12.34 closed.\r\n') <10.31.12.34> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.34> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/704b0b223f 10.31.12.34 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470293.66-11033-152603662741853/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.34> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043313", "end": "2025-02-13 13:11:33.959531", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.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.916218" } 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:34 -0500 (0:00:00.432) 0:00:30.796 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 13 February 2025 13:11:34 -0500 (0:00:00.115) 0:00:30.911 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.65s /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.82s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.27s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.81s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.77s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.69s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.64s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.63s /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_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.56s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.56s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.55s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Parse certificate ------------------------------------------------------- 0.48s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.48s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.48s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.47s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.46s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.43s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-nrt/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143