ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-QGy executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults host_list declined parsing /tmp/inventory-jQd.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-jQd.yml as it did not pass its verify_file() method Parsed /tmp/inventory-jQd.yml inventory source with yaml plugin running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-QGy/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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 14:25:44 -0500 (0:00:00.010) 0:00:00.010 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645 `" && echo ansible-tmp-1739474745.0290954-11287-203599332766645="` echo /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474745.0290954-11287-203599332766645=/root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645\n', b'') Attempting python interpreter discovery <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'python3.12'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.11'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.10'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.9'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.8'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.12.33> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.12.33> (0, b'{"platform_dist_result": ["centos", "8", ""], "osrelease_content": "NAME=\\"CentOS Stream\\"\\nVERSION=\\"8\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"8\\"\\nPLATFORM_ID=\\"platform:el8\\"\\nPRETTY_NAME=\\"CentOS Stream 8\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:8\\"\\nHOME_URL=\\"https://centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugzilla.redhat.com/\\"\\nREDHAT_SUPPORT_PRODUCT=\\"Red Hat Enterprise Linux 8\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"CentOS Stream\\"\\n"}\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpx9m0hpdy TO /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpx9m0hpdy /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/ /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "48df966995aa466a9e19c66342706fb2", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_lsb": {}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_loadavg": {"1m": 0.72, "5m": 0.33, "15m": 0.16}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_local": {}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_hostnqn": "", "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_fibre_channel_wwn": [], "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2749, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 790, "free": 2749}, "nocache": {"free": 3305, "used": 234}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 484, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263558692864, "block_size": 4096, "block_total": 65533179, "block_available": 64345384, "block_used": 1187795, "inode_total": 131071472, "inode_available": 130995949, "inode_used": 75523, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_fips": false, "ansible_pkg_mgr": "dnf", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "25", "second": "45", "epoch": "1739474745", "epoch_int": "1739474745", "date": "2025-02-13", "time": "14:25:45", "iso8601_micro": "2025-02-13T19:25:45.990777Z", "iso8601": "2025-02-13T19:25:45Z", "iso8601_basic": "20250213T142545990777", "iso8601_basic_short": "20250213T142545", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_is_chroot": false, "ansible_apparmor": {"status": "disabled"}, "ansible_iscsi_iqn": "", "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": [], "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474745.0290954-11287-203599332766645/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 14:25:46 -0500 (0:00:01.076) 0:00:01.087 ***** included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 14:25:46 -0500 (0:00:00.034) 0:00:01.121 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 14:25:46 -0500 (0:00:00.033) 0:00:01.155 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745 `" && echo ansible-tmp-1739474746.178029-11379-27210292671745="` echo /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474746.178029-11379-27210292671745=/root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmprt5s7l17 TO /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmprt5s7l17 /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/ /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474746.178029-11379-27210292671745/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 14:25:46 -0500 (0:00:00.430) 0:00:01.585 ***** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 14:25:46 -0500 (0:00:00.033) 0:00:01.619 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 14:25:46 -0500 (0:00:00.036) 0:00:01.655 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365 `" && echo ansible-tmp-1739474746.696707-11408-248963904241365="` echo /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474746.696707-11408-248963904241365=/root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp2arcxer1 TO /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp2arcxer1 /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/ /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-pyasn1", "python3-cryptography", "python3-dbus"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474746.696707-11408-248963904241365/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 14:25:49 -0500 (0:00:02.979) 0:00:04.635 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309 `" && echo ansible-tmp-1739474749.7304783-11599-172322326362309="` echo /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474749.7304783-11599-172322326362309=/root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp8y0w3dt8 TO /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp8y0w3dt8 /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/ /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["certmonger"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474749.7304783-11599-172322326362309/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 14:25:52 -0500 (0:00:02.927) 0:00:07.563 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559 `" && echo ansible-tmp-1739474752.6100132-11642-94656478269559="` echo /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474752.6100132-11642-94656478269559=/root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpw1qgkscm TO /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpw1qgkscm /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/ /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"path": "/etc/certmonger//pre-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//pre-scripts"}, "after": {"path": "/etc/certmonger//pre-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//pre-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//pre-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474752.6100132-11642-94656478269559/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "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, "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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 14:25:53 -0500 (0:00:00.512) 0:00:08.076 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567 `" && echo ansible-tmp-1739474753.1237519-11665-110002018930567="` echo /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474753.1237519-11665-110002018930567=/root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmplcweh12_ TO /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmplcweh12_ /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/ /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"path": "/etc/certmonger//post-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//post-scripts"}, "after": {"path": "/etc/certmonger//post-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//post-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//post-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474753.1237519-11665-110002018930567/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "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, "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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 14:25:53 -0500 (0:00:00.365) 0:00:08.441 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098 `" && echo ansible-tmp-1739474753.4867194-11673-213485432222098="` echo /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474753.4867194-11673-213485432222098=/root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp_mss02cj TO /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/AnsiballZ_systemd.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp_mss02cj /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/AnsiballZ_systemd.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/ /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"name": "certmonger", "changed": false, "status": {"Type": "dbus", "Restart": "no", "PIDFile": "/run/certmonger.pid", "NotifyAccess": "none", "RestartUSec": "100ms", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "RuntimeMaxUSec": "infinity", "WatchdogUSec": "0", "WatchdogTimestamp": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8667", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8667", "ExecMainCode": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3936256", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22406", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "system.slice dbus.socket sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "InactiveExitTimestamp": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "ActiveExitTimestampMonotonic": "0", "InactiveEnterTimestampMonotonic": "0", "CanStart": "yes", "CanStop": "yes", "CanReload": "no", "CanIsolate": "no", "CanFreeze": "yes", "StopWhenUnneeded": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "AllowIsolate": "no", "DefaultDependencies": "yes", "OnFailureJobMode": "replace", "IgnoreOnIsolate": "no", "NeedDaemonReload": "no", "JobTimeoutUSec": "infinity", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "ConditionResult": "yes", "AssertResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "scope": "system", "no_block": false, "force": null, "masked": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474753.4867194-11673-213485432222098/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": "system", "state": "started" } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8667", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8667", "MemoryAccounting": "yes", "MemoryCurrent": "3936256", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 14:25:54 -0500 (0:00:00.712) 0:00:09.153 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279 `" && echo ansible-tmp-1739474754.2235842-11688-82589240192279="` echo /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474754.2235842-11688-82589240192279=/root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpwp2u8tx1 TO /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpwp2u8tx1 /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/ /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "mycert_many_self_signed", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474754.2235842-11688-82589240192279/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') changed: [managed-node2] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "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.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920 `" && echo ansible-tmp-1739474756.0799894-11688-147612676963920="` echo /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474756.0799894-11688-147612676963920=/root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp0tsophhm TO /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp0tsophhm /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/ /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "other-cert", "dns": ["www.example.org"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474756.0799894-11688-147612676963920/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') changed: [managed-node2] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "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.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282 `" && echo ansible-tmp-1739474756.9469159-11688-157768482195282="` echo /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474756.9469159-11688-157768482195282=/root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpr2zxc360 TO /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpr2zxc360 /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/ /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "another-cert", "dns": ["www.example.net"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474756.9469159-11688-157768482195282/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') changed: [managed-node2] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 14:25:57 -0500 (0:00:03.497) 0:00:12.650 ***** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 14:25:57 -0500 (0:00:00.063) 0:00:12.714 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 14:25:57 -0500 (0:00:00.033) 0:00:12.747 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 14:25:57 -0500 (0:00:00.035) 0:00:12.782 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Thursday 13 February 2025 14:25:57 -0500 (0:00:00.043) 0:00:12.826 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428 `" && echo ansible-tmp-1739474757.8437955-11768-218432905141428="` echo /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474757.8437955-11768-218432905141428=/root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpdmhs3fgr TO /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpdmhs3fgr /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/ /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_local": {}, "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "48df966995aa466a9e19c66342706fb2", "ansible_is_chroot": false, "ansible_loadavg": {"1m": 0.87, "5m": 0.38, "15m": 0.18}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "25", "second": "58", "epoch": "1739474758", "epoch_int": "1739474758", "date": "2025-02-13", "time": "14:25:58", "iso8601_micro": "2025-02-13T19:25:58.207851Z", "iso8601": "2025-02-13T19:25:58Z", "iso8601_basic": "20250213T142558207851", "iso8601_basic_short": "20250213T142558", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_hostnqn": "", "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2748, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 791, "free": 2748}, "nocache": {"free": 3304, "used": 235}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 497, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263558619136, "block_size": 4096, "block_total": 65533179, "block_available": 64345366, "block_used": 1187813, "inode_total": 131071472, "inode_available": 130995940, "inode_used": 75532, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_iscsi_iqn": "", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_lsb": {}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_fips": false, "ansible_apparmor": {"status": "disabled"}, "ansible_fibre_channel_wwn": [], "ansible_pkg_mgr": "dnf", "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": [], "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474757.8437955-11768-218432905141428/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.723) 0:00:13.550 ***** included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.068) 0:00:13.618 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.023) 0:00:13.642 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.025) 0:00:13.667 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.029) 0:00:13.697 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:25:58 -0500 (0:00:00.019) 0:00:13.716 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402 `" && echo ansible-tmp-1739474758.7733836-11798-280281706852402="` echo /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474758.7733836-11798-280281706852402=/root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpj1l628tx TO /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpj1l628tx /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/ /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474758.7733836-11798-280281706852402/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:26:01 -0500 (0:00:02.858) 0:00:16.575 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923 `" && echo ansible-tmp-1739474761.5938687-11850-1036850667923="` echo /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474761.5938687-11850-1036850667923=/root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpez69uu6g TO /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpez69uu6g /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/ /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718646, "dev": 51713, "nlink": 1, "atime": 1739474755.8802443, "mtime": 1739474755.8772442, "ctime": 1739474755.8772442, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "7de1230c95a5e1706cbc3f889c408111fde56267", "mimetype": "text/plain", "charset": "us-ascii", "version": "1464783109", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474761.5938687-11850-1036850667923/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } }, "stat": { "atime": 1739474755.8802443, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de1230c95a5e1706cbc3f889c408111fde56267", "ctime": 1739474755.8772442, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474755.8772442, "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": "1464783109", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:26:01 -0500 (0:00:00.333) 0:00:16.908 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:26:01 -0500 (0:00:00.018) 0:00:16.927 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:26:01 -0500 (0:00:00.049) 0:00:16.976 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:26:01 -0500 (0:00:00.036) 0:00:17.013 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354 `" && echo ansible-tmp-1739474762.0323758-11868-25430253251354="` echo /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474762.0323758-11868-25430253251354=/root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpjcb8zmkz TO /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpjcb8zmkz /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/ /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718645, "dev": 51713, "nlink": 1, "atime": 1739474755.8352437, "mtime": 1739474755.8772442, "ctime": 1739474755.8772442, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "bfcc28f1445d0cca93a1663ecd835e277a9db341", "mimetype": "text/plain", "charset": "us-ascii", "version": "1610226186", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_many_self_signed.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474762.0323758-11868-25430253251354/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key" } }, "stat": { "atime": 1739474755.8352437, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bfcc28f1445d0cca93a1663ecd835e277a9db341", "ctime": 1739474755.8772442, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474755.8772442, "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": "1610226186", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.334) 0:00:17.347 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.019) 0:00:17.366 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.039) 0:00:17.406 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973 `" && echo ansible-tmp-1739474762.4270902-11878-181556412903973="` echo /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474762.4270902-11878-181556412903973=/root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmplnxf8qg0 TO /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmplnxf8qg0 /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/ /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192555Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "36:74:77:EF:C0:3C:2E:96:8A:8B:00:C7:3D:37:BF:DB:6B:2F:62:B7:1C:30:52:E3:D8:4D:1C:9F:88:68:CE:95:95:8C:72:2A:01:9E:F9:8D:B1:F3:9C:53:E8:32:53:40:9D:E6:B8:7C:D4:E7:FB:CE:34:E4:DD:1F:03:DB:4E:3A:50:18:1C:C0:52:5F:2B:54:DB:FE:2E:9B:30:18:CF:57:9A:71:AA:34:F0:21:7C:12:EC:94:CD:C3:EB:AD:81:73:94:84:91:CE:9E:22:F8:D9:72:07:24:3F:66:28:CF:1B:44:79:1C:8D:30:AA:66:72:93:0E:06:53:5B:FD:40:F4:E8:91:78:51:01:63:C2:19:D1:35:42:29:F7:9B:2C:5B:19:52:80:A0:B4:6B:51:BC:E9:28:98:C8:D2:6F:AE:D8:24:F0:99:21:4E:19:87:E0:6C:DC:0C:6F:66:D3:5A:D9:BD:0C:F0:05:86:3B:00:71:53:4C:5F:8F:02:15:FC:31:CB:65:C6:CD:CB:FC:B5:4F:FA:38:D7:A6:9F:10:7D:2D:20:36:71:CB:9B:5A:43:4F:85:A0:7A:65:9C:AB:FA:E1:E1:5C:B8:23:72:0E:FC:9E:8F:83:1D:7D:AE:D2:3E:5B:60:92:BD:54:EA:46:06:0A:2E:94:1C:CA:82:D3:92:10"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "74:2B:B4:A4:88:5F:E0:C8:DB:E6:D5:BB:DC:79:80:E5:29:C4:EB:A3"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474762.4270902-11878-181556412903973/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:2B:B4:A4:88:5F:E0:C8:DB:E6:D5:BB:DC:79:80:E5:29:C4:EB:A3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:74:77:EF:C0:3C:2E:96:8A:8B:00:C7:3D:37:BF:DB:6B:2F:62:B7:1C:30:52:E3:D8:4D:1C:9F:88:68:CE:95:95:8C:72:2A:01:9E:F9:8D:B1:F3:9C:53:E8:32:53:40:9D:E6:B8:7C:D4:E7:FB:CE:34:E4:DD:1F:03:DB:4E:3A:50:18:1C:C0:52:5F:2B:54:DB:FE:2E:9B:30:18:CF:57:9A:71:AA:34:F0:21:7C:12:EC:94:CD:C3:EB:AD:81:73:94:84:91:CE:9E:22:F8:D9:72:07:24:3F:66:28:CF:1B:44:79:1C:8D:30:AA:66:72:93:0E:06:53:5B:FD:40:F4:E8:91:78:51:01:63:C2:19:D1:35:42:29:F7:9B:2C:5B:19:52:80:A0:B4:6B:51:BC:E9:28:98:C8:D2:6F:AE:D8:24:F0:99:21:4E:19:87:E0:6C:DC:0C:6F:66:D3:5A:D9:BD:0C:F0:05:86:3B:00:71:53:4C:5F:8F:02:15:FC:31:CB:65:C6:CD:CB:FC:B5:4F:FA:38:D7:A6:9F:10:7D:2D:20:36:71:CB:9B:5A:43:4F:85:A0:7A:65:9C:AB:FA:E1:E1:5C:B8:23:72:0E:FC:9E:8F:83:1D:7D:AE:D2:3E:5B:60:92:BD:54:EA:46:06:0A:2E:94:1C:CA:82:D3:92:10" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192555Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.514) 0:00:17.921 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:2B:B4:A4:88:5F:E0:C8:DB:E6:D5:BB:DC:79:80:E5:29:C4:EB:A3" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:74:77:EF:C0:3C:2E:96:8A:8B:00:C7:3D:37:BF:DB:6B:2F:62:B7:1C:30:52:E3:D8:4D:1C:9F:88:68:CE:95:95:8C:72:2A:01:9E:F9:8D:B1:F3:9C:53:E8:32:53:40:9D:E6:B8:7C:D4:E7:FB:CE:34:E4:DD:1F:03:DB:4E:3A:50:18:1C:C0:52:5F:2B:54:DB:FE:2E:9B:30:18:CF:57:9A:71:AA:34:F0:21:7C:12:EC:94:CD:C3:EB:AD:81:73:94:84:91:CE:9E:22:F8:D9:72:07:24:3F:66:28:CF:1B:44:79:1C:8D:30:AA:66:72:93:0E:06:53:5B:FD:40:F4:E8:91:78:51:01:63:C2:19:D1:35:42:29:F7:9B:2C:5B:19:52:80:A0:B4:6B:51:BC:E9:28:98:C8:D2:6F:AE:D8:24:F0:99:21:4E:19:87:E0:6C:DC:0C:6F:66:D3:5A:D9:BD:0C:F0:05:86:3B:00:71:53:4C:5F:8F:02:15:FC:31:CB:65:C6:CD:CB:FC:B5:4F:FA:38:D7:A6:9F:10:7D:2D:20:36:71:CB:9B:5A:43:4F:85:A0:7A:65:9C:AB:FA:E1:E1:5C:B8:23:72:0E:FC:9E:8F:83:1D:7D:AE:D2:3E:5B:60:92:BD:54:EA:46:06:0A:2E:94:1C:CA:82:D3:92:10" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192555Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.030) 0:00:17.951 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:26:02 -0500 (0:00:00.066) 0:00:18.018 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.022) 0:00:18.040 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.038) 0:00:18.078 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.045) 0:00:18.124 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.045) 0:00:18.169 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705 `" && echo ansible-tmp-1739474763.1920464-11918-239804088431705="` echo /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474763.1920464-11918-239804088431705=/root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpww6chpcd TO /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpww6chpcd /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/ /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "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\'", "start": "2025-02-13 14:26:03.523353", "end": "2025-02-13 14:26:03.580196", "delta": "0:00:00.056843", "msg": "", "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, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474763.1920464-11918-239804088431705/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "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.056843", "end": "2025-02-13 14:26:03.580196", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:26:03.523353" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.479) 0:00:18.649 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.041) 0:00:18.691 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.014) 0:00:18.705 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.017) 0:00:18.723 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.016) 0:00:18.740 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:26:03 -0500 (0:00:00.014) 0:00:18.754 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009 `" && echo ansible-tmp-1739474763.7954285-11941-120462822088009="` echo /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474763.7954285-11941-120462822088009=/root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpo875ohns TO /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpo875ohns /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/ /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474763.7954285-11941-120462822088009/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:26:06 -0500 (0:00:02.841) 0:00:21.596 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010 `" && echo ansible-tmp-1739474766.6150503-11997-84274018038010="` echo /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474766.6150503-11997-84274018038010=/root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp6mh7ayc2 TO /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp6mh7ayc2 /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/ /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/other-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718648, "dev": 51713, "nlink": 1, "atime": 1739474756.7512524, "mtime": 1739474756.7492523, "ctime": 1739474756.7492523, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "0a1813ae79a88348bde7ffb272bec3541ddd8ddd", "mimetype": "text/plain", "charset": "us-ascii", "version": "3455465511", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/other-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474766.6150503-11997-84274018038010/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/other-cert.crt" } }, "stat": { "atime": 1739474756.7512524, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0a1813ae79a88348bde7ffb272bec3541ddd8ddd", "ctime": 1739474756.7492523, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474756.7492523, "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": "3455465511", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:26:06 -0500 (0:00:00.332) 0:00:21.929 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:26:06 -0500 (0:00:00.018) 0:00:21.947 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:26:06 -0500 (0:00:00.040) 0:00:21.988 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.035) 0:00:22.024 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485 `" && echo ansible-tmp-1739474767.0436149-12008-249181849694485="` echo /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474767.0436149-12008-249181849694485=/root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpndox4a3q TO /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpndox4a3q /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/ /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/other-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718647, "dev": 51713, "nlink": 1, "atime": 1739474756.7062519, "mtime": 1739474756.7482524, "ctime": 1739474756.7482524, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "0e23ba62e1b284a30cc74fa91900732ae4a55b71", "mimetype": "text/plain", "charset": "us-ascii", "version": "488296941", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/other-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474767.0436149-12008-249181849694485/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/other-cert.key" } }, "stat": { "atime": 1739474756.7062519, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0e23ba62e1b284a30cc74fa91900732ae4a55b71", "ctime": 1739474756.7482524, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474756.7482524, "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": "488296941", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.334) 0:00:22.358 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.018) 0:00:22.376 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.039) 0:00:22.416 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577 `" && echo ansible-tmp-1739474767.4357724-12025-142715540714577="` echo /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474767.4357724-12025-142715540714577=/root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpmi0gj9ot TO /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpmi0gj9ot /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/ /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192556Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "0E:60:97:83:7F:67:2B:9E:CA:F1:46:AD:52:90:87:3C:61:F9:D8:FB:92:95:7C:9D:8D:73:41:7D:85:7E:CF:9D:8A:7E:2F:F8:D0:37:3C:92:AA:F3:F1:57:48:3D:83:7B:8E:0B:5F:84:F7:3C:1C:AC:51:C3:F4:3E:15:AB:71:F6:67:64:38:B2:5E:04:23:30:E6:BA:08:D0:FC:84:1E:1E:F6:4C:6F:98:81:DC:EF:BA:90:08:FF:CE:27:9F:55:69:21:56:E1:08:A1:80:EA:94:9E:46:14:DA:3D:10:E6:F6:EB:8E:A5:2A:D8:CE:84:64:BE:F4:19:CE:69:40:24:84:50:4A:EB:F2:79:06:A9:E8:7C:EB:62:C8:BD:64:42:92:A0:2A:7F:CD:C7:34:AE:67:F7:2E:3D:7D:87:3B:A7:D4:E0:8C:FE:4C:59:68:B6:4A:D8:FD:3F:AC:05:60:44:AE:C1:F7:0A:79:D4:F4:B9:C0:2C:9F:E4:5A:6A:5E:B1:5A:41:3A:2A:22:0B:FC:C7:87:36:1F:CA:26:34:B0:A5:80:EC:D4:C3:5C:F7:C7:47:CF:81:A0:2E:C3:9E:FB:56:08:2B:06:50:56:CD:BF:6E:0A:86:D2:40:83:ED:70:3B:CA:29:12:9C:28:82:6D:EE:12:B7:0A:95:D9:15:B6:6F:CB"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.org"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.org"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "14:56:98:64:57:68:1C:01:01:03:5E:E1:AD:43:AE:9E:DF:96:E4:47"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474767.4357724-12025-142715540714577/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "14:56:98:64:57:68:1C:01:01:03:5E:E1:AD:43:AE:9E:DF:96:E4:47" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:60:97:83:7F:67:2B:9E:CA:F1:46:AD:52:90:87:3C:61:F9:D8:FB:92:95:7C:9D:8D:73:41:7D:85:7E:CF:9D:8A:7E:2F:F8:D0:37:3C:92:AA:F3:F1:57:48:3D:83:7B:8E:0B:5F:84:F7:3C:1C:AC:51:C3:F4:3E:15:AB:71:F6:67:64:38:B2:5E:04:23:30:E6:BA:08:D0:FC:84:1E:1E:F6:4C:6F:98:81:DC:EF:BA:90:08:FF:CE:27:9F:55:69:21:56:E1:08:A1:80:EA:94:9E:46:14:DA:3D:10:E6:F6:EB:8E:A5:2A:D8:CE:84:64:BE:F4:19:CE:69:40:24:84:50:4A:EB:F2:79:06:A9:E8:7C:EB:62:C8:BD:64:42:92:A0:2A:7F:CD:C7:34:AE:67:F7:2E:3D:7D:87:3B:A7:D4:E0:8C:FE:4C:59:68:B6:4A:D8:FD:3F:AC:05:60:44:AE:C1:F7:0A:79:D4:F4:B9:C0:2C:9F:E4:5A:6A:5E:B1:5A:41:3A:2A:22:0B:FC:C7:87:36:1F:CA:26:34:B0:A5:80:EC:D4:C3:5C:F7:C7:47:CF:81:A0:2E:C3:9E:FB:56:08:2B:06:50:56:CD:BF:6E:0A:86:D2:40:83:ED:70:3B:CA:29:12:9C:28:82:6D:EE:12:B7:0A:95:D9:15:B6:6F:CB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192556Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.388) 0:00:22.805 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "14:56:98:64:57:68:1C:01:01:03:5E:E1:AD:43:AE:9E:DF:96:E4:47" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0E:60:97:83:7F:67:2B:9E:CA:F1:46:AD:52:90:87:3C:61:F9:D8:FB:92:95:7C:9D:8D:73:41:7D:85:7E:CF:9D:8A:7E:2F:F8:D0:37:3C:92:AA:F3:F1:57:48:3D:83:7B:8E:0B:5F:84:F7:3C:1C:AC:51:C3:F4:3E:15:AB:71:F6:67:64:38:B2:5E:04:23:30:E6:BA:08:D0:FC:84:1E:1E:F6:4C:6F:98:81:DC:EF:BA:90:08:FF:CE:27:9F:55:69:21:56:E1:08:A1:80:EA:94:9E:46:14:DA:3D:10:E6:F6:EB:8E:A5:2A:D8:CE:84:64:BE:F4:19:CE:69:40:24:84:50:4A:EB:F2:79:06:A9:E8:7C:EB:62:C8:BD:64:42:92:A0:2A:7F:CD:C7:34:AE:67:F7:2E:3D:7D:87:3B:A7:D4:E0:8C:FE:4C:59:68:B6:4A:D8:FD:3F:AC:05:60:44:AE:C1:F7:0A:79:D4:F4:B9:C0:2C:9F:E4:5A:6A:5E:B1:5A:41:3A:2A:22:0B:FC:C7:87:36:1F:CA:26:34:B0:A5:80:EC:D4:C3:5C:F7:C7:47:CF:81:A0:2E:C3:9E:FB:56:08:2B:06:50:56:CD:BF:6E:0A:86:D2:40:83:ED:70:3B:CA:29:12:9C:28:82:6D:EE:12:B7:0A:95:D9:15:B6:6F:CB" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192556Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.019) 0:00:22.824 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.040) 0:00:22.864 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.024) 0:00:22.889 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.055) 0:00:22.944 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:26:07 -0500 (0:00:00.061) 0:00:23.006 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.055) 0:00:23.061 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002 `" && echo ansible-tmp-1739474768.0839052-12053-238270176271002="` echo /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474768.0839052-12053-238270176271002=/root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpy4e4kzpz TO /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpy4e4kzpz /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/ /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:26:08.332334", "end": "2025-02-13 14:26:08.391155", "delta": "0:00:00.058821", "msg": "", "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, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474768.0839052-12053-238270176271002/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "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.058821", "end": "2025-02-13 14:26:08.391155", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:26:08.332334" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.405) 0:00:23.467 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.044) 0:00:23.512 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.015) 0:00:23.528 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.021) 0:00:23.550 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.016) 0:00:23.567 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:26:08 -0500 (0:00:00.016) 0:00:23.583 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045 `" && echo ansible-tmp-1739474768.629628-12086-136040353252045="` echo /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474768.629628-12086-136040353252045=/root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp0z3n0znk TO /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp0z3n0znk /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/ /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474768.629628-12086-136040353252045/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:26:11 -0500 (0:00:02.839) 0:00:26.422 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538 `" && echo ansible-tmp-1739474771.442062-12284-232974149932538="` echo /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474771.442062-12284-232974149932538=/root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpnl4j8c0k TO /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpnl4j8c0k /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/ /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/another-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718650, "dev": 51713, "nlink": 1, "atime": 1739474757.5022595, "mtime": 1739474757.5002594, "ctime": 1739474757.5002594, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "785c6f0dbf5c69234fb644fbbfec0a06c395c08e", "mimetype": "text/plain", "charset": "us-ascii", "version": "2527184883", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/another-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474771.442062-12284-232974149932538/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/another-cert.crt" } }, "stat": { "atime": 1739474757.5022595, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "785c6f0dbf5c69234fb644fbbfec0a06c395c08e", "ctime": 1739474757.5002594, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474757.5002594, "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": "2527184883", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:26:11 -0500 (0:00:00.336) 0:00:26.758 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:26:11 -0500 (0:00:00.019) 0:00:26.777 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:26:11 -0500 (0:00:00.055) 0:00:26.833 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:26:11 -0500 (0:00:00.056) 0:00:26.889 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063 `" && echo ansible-tmp-1739474771.9189587-12301-159806858475063="` echo /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474771.9189587-12301-159806858475063=/root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpug3egpt4 TO /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmpug3egpt4 /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/ /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/another-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718649, "dev": 51713, "nlink": 1, "atime": 1739474757.458259, "mtime": 1739474757.4992595, "ctime": 1739474757.4992595, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "4546cf091b3c5f02b8a4934e2454bf368cf3fa81", "mimetype": "text/plain", "charset": "us-ascii", "version": "1495521036", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/another-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474771.9189587-12301-159806858475063/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/another-cert.key" } }, "stat": { "atime": 1739474757.458259, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4546cf091b3c5f02b8a4934e2454bf368cf3fa81", "ctime": 1739474757.4992595, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718649, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474757.4992595, "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": "1495521036", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.356) 0:00:27.246 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.027) 0:00:27.274 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.053) 0:00:27.328 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842 `" && echo ansible-tmp-1739474772.3504224-12327-73764957567842="` echo /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474772.3504224-12327-73764957567842=/root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp4nwy7r5_ TO /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmp4nwy7r5_ /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/ /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192557Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "B1:9A:41:6D:BD:97:ED:AE:08:7A:32:3D:DE:42:FA:D9:18:23:C2:8D:B3:EC:01:6C:CF:C0:1D:AF:F0:03:E2:F8:55:BC:08:47:55:F3:DE:39:57:61:47:8B:F8:82:53:15:6A:2C:85:FF:1C:C9:69:A3:38:90:21:64:27:CE:CA:7F:FB:A8:7D:3C:03:15:B2:82:B3:27:34:27:09:7D:D0:71:63:09:B9:B0:1E:36:8C:68:15:F5:3A:09:C6:9A:8D:E5:71:9D:75:83:D6:00:44:F0:59:73:15:76:EE:5A:22:57:2E:8F:93:49:D4:00:48:BC:CC:6E:70:5C:3B:47:B6:21:BC:AF:69:CA:D5:DB:39:DB:82:A4:A4:28:D5:07:01:AF:B1:96:E0:79:54:AC:65:4B:96:CA:A9:77:BB:AD:FF:01:C5:1C:1A:84:A8:96:22:8D:79:00:0D:EB:F7:2A:1C:E8:1A:FE:B3:F8:8B:27:E8:56:71:BA:1C:2C:7E:B8:A9:C1:9B:CF:D8:5C:4E:02:E5:84:1C:7D:9C:D1:6D:7B:D3:9D:60:2F:64:1D:90:C5:A9:BC:54:8D:13:E2:78:01:3A:66:03:31:39:D9:53:5E:1F:BA:C5:E4:FE:37:31:C5:50:2F:AA:6C:29:EF:0E:8E:F1:42:E4:51:8F:71:60:50:1D:2E"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.net"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.net"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "CA:D2:FA:10:FC:9E:76:B7:34:10:5F:AA:AA:BA:8A:37:A8:C2:7D:7C"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474772.3504224-12327-73764957567842/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "CA:D2:FA:10:FC:9E:76:B7:34:10:5F:AA:AA:BA:8A:37:A8:C2:7D:7C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B1:9A:41:6D:BD:97:ED:AE:08:7A:32:3D:DE:42:FA:D9:18:23:C2:8D:B3:EC:01:6C:CF:C0:1D:AF:F0:03:E2:F8:55:BC:08:47:55:F3:DE:39:57:61:47:8B:F8:82:53:15:6A:2C:85:FF:1C:C9:69:A3:38:90:21:64:27:CE:CA:7F:FB:A8:7D:3C:03:15:B2:82:B3:27:34:27:09:7D:D0:71:63:09:B9:B0:1E:36:8C:68:15:F5:3A:09:C6:9A:8D:E5:71:9D:75:83:D6:00:44:F0:59:73:15:76:EE:5A:22:57:2E:8F:93:49:D4:00:48:BC:CC:6E:70:5C:3B:47:B6:21:BC:AF:69:CA:D5:DB:39:DB:82:A4:A4:28:D5:07:01:AF:B1:96:E0:79:54:AC:65:4B:96:CA:A9:77:BB:AD:FF:01:C5:1C:1A:84:A8:96:22:8D:79:00:0D:EB:F7:2A:1C:E8:1A:FE:B3:F8:8B:27:E8:56:71:BA:1C:2C:7E:B8:A9:C1:9B:CF:D8:5C:4E:02:E5:84:1C:7D:9C:D1:6D:7B:D3:9D:60:2F:64:1D:90:C5:A9:BC:54:8D:13:E2:78:01:3A:66:03:31:39:D9:53:5E:1F:BA:C5:E4:FE:37:31:C5:50:2F:AA:6C:29:EF:0E:8E:F1:42:E4:51:8F:71:60:50:1D:2E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192557Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.413) 0:00:27.741 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "CA:D2:FA:10:FC:9E:76:B7:34:10:5F:AA:AA:BA:8A:37:A8:C2:7D:7C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B1:9A:41:6D:BD:97:ED:AE:08:7A:32:3D:DE:42:FA:D9:18:23:C2:8D:B3:EC:01:6C:CF:C0:1D:AF:F0:03:E2:F8:55:BC:08:47:55:F3:DE:39:57:61:47:8B:F8:82:53:15:6A:2C:85:FF:1C:C9:69:A3:38:90:21:64:27:CE:CA:7F:FB:A8:7D:3C:03:15:B2:82:B3:27:34:27:09:7D:D0:71:63:09:B9:B0:1E:36:8C:68:15:F5:3A:09:C6:9A:8D:E5:71:9D:75:83:D6:00:44:F0:59:73:15:76:EE:5A:22:57:2E:8F:93:49:D4:00:48:BC:CC:6E:70:5C:3B:47:B6:21:BC:AF:69:CA:D5:DB:39:DB:82:A4:A4:28:D5:07:01:AF:B1:96:E0:79:54:AC:65:4B:96:CA:A9:77:BB:AD:FF:01:C5:1C:1A:84:A8:96:22:8D:79:00:0D:EB:F7:2A:1C:E8:1A:FE:B3:F8:8B:27:E8:56:71:BA:1C:2C:7E:B8:A9:C1:9B:CF:D8:5C:4E:02:E5:84:1C:7D:9C:D1:6D:7B:D3:9D:60:2F:64:1D:90:C5:A9:BC:54:8D:13:E2:78:01:3A:66:03:31:39:D9:53:5E:1F:BA:C5:E4:FE:37:31:C5:50:2F:AA:6C:29:EF:0E:8E:F1:42:E4:51:8F:71:60:50:1D:2E" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192557Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.018) 0:00:27.760 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.037) 0:00:27.797 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.018) 0:00:27.815 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.035) 0:00:27.851 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.041) 0:00:27.892 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:26:12 -0500 (0:00:00.040) 0:00:27.933 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689 `" && echo ansible-tmp-1739474772.9528027-12346-137481810671689="` echo /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474772.9528027-12346-137481810671689=/root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-1128459_kadnt/tmprdbt1cf6 TO /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-1128459_kadnt/tmprdbt1cf6 /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/ /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:26:13.189862", "end": "2025-02-13 14:26:13.247824", "delta": "0:00:00.057962", "msg": "", "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, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474772.9528027-12346-137481810671689/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "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.057962", "end": "2025-02-13 14:26:13.247824", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:26:13.189862" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:26:13 -0500 (0:00:00.381) 0:00:28.315 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 14:26:13 -0500 (0:00:00.036) 0:00:28.351 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate requests ----- 3.50s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.98s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.93s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.86s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.84s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.84s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.71s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.51s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.51s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.48s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.43s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.39s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.37s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.34s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38