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_run_hooks.yml ************************************************** 2 plays in /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Thursday 13 February 2025 14:26:40 -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-1739474800.1897516-13405-172620364330055 `" && echo ansible-tmp-1739474800.1897516-13405-172620364330055="` echo /root/.ansible/tmp/ansible-tmp-1739474800.1897516-13405-172620364330055 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474800.1897516-13405-172620364330055=/root/.ansible/tmp/ansible-tmp-1739474800.1897516-13405-172620364330055\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-134028i1fd5de/tmpwbjed2s1 TO /root/.ansible/tmp/ansible-tmp-1739474800.1897516-13405-172620364330055/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-134028i1fd5de/tmpwbjed2s1 /root/.ansible/tmp/ansible-tmp-1739474800.1897516-13405-172620364330055/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-1739474800.1897516-13405-172620364330055/ /root/.ansible/tmp/ansible-tmp-1739474800.1897516-13405-172620364330055/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-1739474800.1897516-13405-172620364330055/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"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_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": "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_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_apparmor": {"status": "disabled"}, "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_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_hostnqn": "", "ansible_lsb": {}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "26", "second": "40", "epoch": "1739474800", "epoch_int": "1739474800", "date": "2025-02-13", "time": "14:26:40", "iso8601_micro": "2025-02-13T19:26:40.865669Z", "iso8601": "2025-02-13T19:26:40Z", "iso8601_basic": "20250213T142640865669", "iso8601_basic_short": "20250213T142640", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_local": {}, "ansible_loadavg": {"1m": 0.86, "5m": 0.45, "15m": 0.21}, "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_interfaces": ["eth0", "lo"], "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_is_chroot": false, "ansible_fibre_channel_wwn": [], "ansible_iscsi_iqn": "", "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": 539, "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": 263557550080, "block_size": 4096, "block_total": 65533179, "block_available": 64345105, "block_used": 1188074, "inode_total": 131071472, "inode_available": 130995937, "inode_used": 75535, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "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_pkg_mgr": "dnf", "ansible_fips": false, "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-1739474800.1897516-13405-172620364330055/ > /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:26:41 -0500 (0:00:01.041) 0:00:01.051 ***** 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:26:41 -0500 (0:00:00.032) 0:00:01.084 ***** 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:26:41 -0500 (0:00:00.035) 0:00:01.119 ***** <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-1739474801.3036146-13418-39275709029613 `" && echo ansible-tmp-1739474801.3036146-13418-39275709029613="` echo /root/.ansible/tmp/ansible-tmp-1739474801.3036146-13418-39275709029613 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474801.3036146-13418-39275709029613=/root/.ansible/tmp/ansible-tmp-1739474801.3036146-13418-39275709029613\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-134028i1fd5de/tmpptnsp91y TO /root/.ansible/tmp/ansible-tmp-1739474801.3036146-13418-39275709029613/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-134028i1fd5de/tmpptnsp91y /root/.ansible/tmp/ansible-tmp-1739474801.3036146-13418-39275709029613/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-1739474801.3036146-13418-39275709029613/ /root/.ansible/tmp/ansible-tmp-1739474801.3036146-13418-39275709029613/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-1739474801.3036146-13418-39275709029613/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-1739474801.3036146-13418-39275709029613/ > /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:26:41 -0500 (0:00:00.412) 0:00:01.532 ***** 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:26:41 -0500 (0:00:00.023) 0:00:01.555 ***** 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:26:41 -0500 (0:00:00.038) 0:00:01.594 ***** <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-1739474801.8137712-13433-227471203268387 `" && echo ansible-tmp-1739474801.8137712-13433-227471203268387="` echo /root/.ansible/tmp/ansible-tmp-1739474801.8137712-13433-227471203268387 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474801.8137712-13433-227471203268387=/root/.ansible/tmp/ansible-tmp-1739474801.8137712-13433-227471203268387\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-134028i1fd5de/tmpax_3ar6b TO /root/.ansible/tmp/ansible-tmp-1739474801.8137712-13433-227471203268387/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-134028i1fd5de/tmpax_3ar6b /root/.ansible/tmp/ansible-tmp-1739474801.8137712-13433-227471203268387/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-1739474801.8137712-13433-227471203268387/ /root/.ansible/tmp/ansible-tmp-1739474801.8137712-13433-227471203268387/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-1739474801.8137712-13433-227471203268387/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-1739474801.8137712-13433-227471203268387/ > /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:26:44 -0500 (0:00:02.999) 0:00:04.594 ***** <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-1739474804.8029017-13582-174135786645354 `" && echo ansible-tmp-1739474804.8029017-13582-174135786645354="` echo /root/.ansible/tmp/ansible-tmp-1739474804.8029017-13582-174135786645354 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474804.8029017-13582-174135786645354=/root/.ansible/tmp/ansible-tmp-1739474804.8029017-13582-174135786645354\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-134028i1fd5de/tmpk1qyubq3 TO /root/.ansible/tmp/ansible-tmp-1739474804.8029017-13582-174135786645354/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-134028i1fd5de/tmpk1qyubq3 /root/.ansible/tmp/ansible-tmp-1739474804.8029017-13582-174135786645354/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-1739474804.8029017-13582-174135786645354/ /root/.ansible/tmp/ansible-tmp-1739474804.8029017-13582-174135786645354/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-1739474804.8029017-13582-174135786645354/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-1739474804.8029017-13582-174135786645354/ > /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:26:47 -0500 (0:00:02.870) 0:00:07.465 ***** <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-1739474807.6752298-13702-155782027621131 `" && echo ansible-tmp-1739474807.6752298-13702-155782027621131="` echo /root/.ansible/tmp/ansible-tmp-1739474807.6752298-13702-155782027621131 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474807.6752298-13702-155782027621131=/root/.ansible/tmp/ansible-tmp-1739474807.6752298-13702-155782027621131\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-134028i1fd5de/tmpbnv8_8ya TO /root/.ansible/tmp/ansible-tmp-1739474807.6752298-13702-155782027621131/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-134028i1fd5de/tmpbnv8_8ya /root/.ansible/tmp/ansible-tmp-1739474807.6752298-13702-155782027621131/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-1739474807.6752298-13702-155782027621131/ /root/.ansible/tmp/ansible-tmp-1739474807.6752298-13702-155782027621131/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-1739474807.6752298-13702-155782027621131/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-1739474807.6752298-13702-155782027621131/ > /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:26:48 -0500 (0:00:00.459) 0:00:07.924 ***** <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-1739474808.134042-13717-201805350392635 `" && echo ansible-tmp-1739474808.134042-13717-201805350392635="` echo /root/.ansible/tmp/ansible-tmp-1739474808.134042-13717-201805350392635 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474808.134042-13717-201805350392635=/root/.ansible/tmp/ansible-tmp-1739474808.134042-13717-201805350392635\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-134028i1fd5de/tmpmr0q1uh2 TO /root/.ansible/tmp/ansible-tmp-1739474808.134042-13717-201805350392635/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-134028i1fd5de/tmpmr0q1uh2 /root/.ansible/tmp/ansible-tmp-1739474808.134042-13717-201805350392635/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-1739474808.134042-13717-201805350392635/ /root/.ansible/tmp/ansible-tmp-1739474808.134042-13717-201805350392635/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-1739474808.134042-13717-201805350392635/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-1739474808.134042-13717-201805350392635/ > /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:26:48 -0500 (0:00:00.359) 0:00:08.284 ***** <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-1739474808.4919586-13725-26079700305801 `" && echo ansible-tmp-1739474808.4919586-13725-26079700305801="` echo /root/.ansible/tmp/ansible-tmp-1739474808.4919586-13725-26079700305801 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474808.4919586-13725-26079700305801=/root/.ansible/tmp/ansible-tmp-1739474808.4919586-13725-26079700305801\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-134028i1fd5de/tmphd3lde0o TO /root/.ansible/tmp/ansible-tmp-1739474808.4919586-13725-26079700305801/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-134028i1fd5de/tmphd3lde0o /root/.ansible/tmp/ansible-tmp-1739474808.4919586-13725-26079700305801/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-1739474808.4919586-13725-26079700305801/ /root/.ansible/tmp/ansible-tmp-1739474808.4919586-13725-26079700305801/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-1739474808.4919586-13725-26079700305801/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": "4104192", "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-1739474808.4919586-13725-26079700305801/ > /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": "4104192", "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:26:49 -0500 (0:00:00.720) 0:00:09.004 ***** <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-1739474809.2371287-13740-107045344576063 `" && echo ansible-tmp-1739474809.2371287-13740-107045344576063="` echo /root/.ansible/tmp/ansible-tmp-1739474809.2371287-13740-107045344576063 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474809.2371287-13740-107045344576063=/root/.ansible/tmp/ansible-tmp-1739474809.2371287-13740-107045344576063\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-134028i1fd5de/tmp82kqe5ug TO /root/.ansible/tmp/ansible-tmp-1739474809.2371287-13740-107045344576063/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-134028i1fd5de/tmp82kqe5ug /root/.ansible/tmp/ansible-tmp-1739474809.2371287-13740-107045344576063/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-1739474809.2371287-13740-107045344576063/ /root/.ansible/tmp/ansible-tmp-1739474809.2371287-13740-107045344576063/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-1739474809.2371287-13740-107045344576063/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new). Pre/Post run hooks updated.", "invocation": {"module_args": {"name": "mycert_run_hooks", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "wait": true, "run_before": "touch /etc/pki/before_cert.tmp\\n", "run_after": "touch /etc/pki/after_cert.tmp\\n", "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}}}\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-1739474809.2371287-13740-107045344576063/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') changed: [managed-node2] => (item={'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}) => { "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_run_hooks", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n", "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. 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:26:50 -0500 (0:00:00.887) 0:00:09.891 ***** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_run_hooks', 'dns': 'www.example.com', 'ca': 'self-sign', 'run_before': 'touch /etc/pki/before_cert.tmp\n', 'run_after': 'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "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:26:50 -0500 (0:00:00.043) 0:00:09.935 ***** 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:26:50 -0500 (0:00:00.034) 0:00:09.969 ***** 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:26:50 -0500 (0:00:00.034) 0:00:10.004 ***** 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_run_hooks.yml:17 Thursday 13 February 2025 14:26:50 -0500 (0:00:00.045) 0:00:10.049 ***** <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-1739474810.2283642-13768-135646208861777 `" && echo ansible-tmp-1739474810.2283642-13768-135646208861777="` echo /root/.ansible/tmp/ansible-tmp-1739474810.2283642-13768-135646208861777 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474810.2283642-13768-135646208861777=/root/.ansible/tmp/ansible-tmp-1739474810.2283642-13768-135646208861777\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-134028i1fd5de/tmp0hkho5xq TO /root/.ansible/tmp/ansible-tmp-1739474810.2283642-13768-135646208861777/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-134028i1fd5de/tmp0hkho5xq /root/.ansible/tmp/ansible-tmp-1739474810.2283642-13768-135646208861777/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-1739474810.2283642-13768-135646208861777/ /root/.ansible/tmp/ansible-tmp-1739474810.2283642-13768-135646208861777/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-1739474810.2283642-13768-135646208861777/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"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_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_iscsi_iqn": "", "ansible_is_chroot": false, "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_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_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_apparmor": {"status": "disabled"}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "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_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_loadavg": {"1m": 0.81, "5m": 0.45, "15m": 0.21}, "ansible_fips": false, "ansible_local": {}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_hostnqn": "", "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "26", "second": "50", "epoch": "1739474810", "epoch_int": "1739474810", "date": "2025-02-13", "time": "14:26:50", "iso8601_micro": "2025-02-13T19:26:50.601822Z", "iso8601": "2025-02-13T19:26:50Z", "iso8601_basic": "20250213T142650601822", "iso8601_basic_short": "20250213T142650", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "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_lsb": {}, "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": 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": 549, "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": 263557386240, "block_size": 4096, "block_total": 65533179, "block_available": 64345065, "block_used": 1188114, "inode_total": 131071472, "inode_available": 130995930, "inode_used": 75542, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_fibre_channel_wwn": [], "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_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-1739474810.2283642-13768-135646208861777/ > /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_run_hooks.yml:31 Thursday 13 February 2025 14:26:50 -0500 (0:00:00.722) 0:00:10.772 ***** 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_run_hooks.crt', 'key_path': '/etc/pki/tls/private/mycert_run_hooks.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) 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:50 -0500 (0:00:00.042) 0:00:10.814 ***** 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:50 -0500 (0:00:00.014) 0:00:10.829 ***** 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:50 -0500 (0:00:00.016) 0:00:10.845 ***** 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:51 -0500 (0:00:00.016) 0:00:10.862 ***** 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:51 -0500 (0:00:00.011) 0:00:10.874 ***** <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-1739474811.0750527-13788-250478191848101 `" && echo ansible-tmp-1739474811.0750527-13788-250478191848101="` echo /root/.ansible/tmp/ansible-tmp-1739474811.0750527-13788-250478191848101 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474811.0750527-13788-250478191848101=/root/.ansible/tmp/ansible-tmp-1739474811.0750527-13788-250478191848101\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-134028i1fd5de/tmpxbfujry8 TO /root/.ansible/tmp/ansible-tmp-1739474811.0750527-13788-250478191848101/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-134028i1fd5de/tmpxbfujry8 /root/.ansible/tmp/ansible-tmp-1739474811.0750527-13788-250478191848101/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-1739474811.0750527-13788-250478191848101/ /root/.ansible/tmp/ansible-tmp-1739474811.0750527-13788-250478191848101/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-1739474811.0750527-13788-250478191848101/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-1739474811.0750527-13788-250478191848101/ > /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:53 -0500 (0:00:02.834) 0:00:13.709 ***** <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-1739474813.8948803-13830-134655269673677 `" && echo ansible-tmp-1739474813.8948803-13830-134655269673677="` echo /root/.ansible/tmp/ansible-tmp-1739474813.8948803-13830-134655269673677 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474813.8948803-13830-134655269673677=/root/.ansible/tmp/ansible-tmp-1739474813.8948803-13830-134655269673677\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-134028i1fd5de/tmpooclvbmr TO /root/.ansible/tmp/ansible-tmp-1739474813.8948803-13830-134655269673677/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-134028i1fd5de/tmpooclvbmr /root/.ansible/tmp/ansible-tmp-1739474813.8948803-13830-134655269673677/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-1739474813.8948803-13830-134655269673677/ /root/.ansible/tmp/ansible-tmp-1739474813.8948803-13830-134655269673677/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-1739474813.8948803-13830-134655269673677/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718655, "dev": 51713, "nlink": 1, "atime": 1739474809.9237497, "mtime": 1739474809.9207497, "ctime": 1739474809.9207497, "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": "371edd6a1ff8ae825b1e7bdcd5957f35223efa6f", "mimetype": "text/plain", "charset": "us-ascii", "version": "4222629337", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_run_hooks.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-1739474813.8948803-13830-134655269673677/ > /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_run_hooks.crt" } }, "stat": { "atime": 1739474809.9237497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "371edd6a1ff8ae825b1e7bdcd5957f35223efa6f", "ctime": 1739474809.9207497, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718655, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474809.9207497, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "4222629337", "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:54 -0500 (0:00:00.340) 0:00:14.049 ***** 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:54 -0500 (0:00:00.017) 0:00:14.066 ***** 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:54 -0500 (0:00:00.043) 0:00:14.109 ***** 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:54 -0500 (0:00:00.052) 0:00:14.162 ***** <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-1739474814.3502336-13854-120346242349829 `" && echo ansible-tmp-1739474814.3502336-13854-120346242349829="` echo /root/.ansible/tmp/ansible-tmp-1739474814.3502336-13854-120346242349829 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474814.3502336-13854-120346242349829=/root/.ansible/tmp/ansible-tmp-1739474814.3502336-13854-120346242349829\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-134028i1fd5de/tmp92sbkj3m TO /root/.ansible/tmp/ansible-tmp-1739474814.3502336-13854-120346242349829/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-134028i1fd5de/tmp92sbkj3m /root/.ansible/tmp/ansible-tmp-1739474814.3502336-13854-120346242349829/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-1739474814.3502336-13854-120346242349829/ /root/.ansible/tmp/ansible-tmp-1739474814.3502336-13854-120346242349829/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-1739474814.3502336-13854-120346242349829/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718653, "dev": 51713, "nlink": 1, "atime": 1739474809.8737493, "mtime": 1739474809.9207497, "ctime": 1739474809.9207497, "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": "0da8178f997194bfb31e69f4a27e9d93f254233d", "mimetype": "text/plain", "charset": "us-ascii", "version": "1808249881", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_run_hooks.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-1739474814.3502336-13854-120346242349829/ > /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_run_hooks.key" } }, "stat": { "atime": 1739474809.8737493, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0da8178f997194bfb31e69f4a27e9d93f254233d", "ctime": 1739474809.9207497, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718653, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474809.9207497, "nlink": 1, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1808249881", "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:54 -0500 (0:00:00.359) 0:00:14.521 ***** 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:54 -0500 (0:00:00.018) 0:00:14.540 ***** 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:54 -0500 (0:00:00.040) 0:00:14.580 ***** <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-1739474814.7614605-13870-260449206304142 `" && echo ansible-tmp-1739474814.7614605-13870-260449206304142="` echo /root/.ansible/tmp/ansible-tmp-1739474814.7614605-13870-260449206304142 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474814.7614605-13870-260449206304142=/root/.ansible/tmp/ansible-tmp-1739474814.7614605-13870-260449206304142\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-134028i1fd5de/tmp6epddlkz TO /root/.ansible/tmp/ansible-tmp-1739474814.7614605-13870-260449206304142/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-134028i1fd5de/tmp6epddlkz /root/.ansible/tmp/ansible-tmp-1739474814.7614605-13870-260449206304142/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-1739474814.7614605-13870-260449206304142/ /root/.ansible/tmp/ansible-tmp-1739474814.7614605-13870-260449206304142/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-1739474814.7614605-13870-260449206304142/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192649Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "45:ED:2F:7B:53:7B:46:83:3A:31:8F:64:67:DD:D2:22:C8:47:E8:5D:97:48:92:8D:21:63:F1:1D:47:2A:CF:F8:AD:47:2A:B6:01:73:71:E1:E9:8E:23:84:AA:AD:73:FF:44:C5:9E:8B:CF:98:D6:CB:47:88:65:E8:41:AB:5D:41:61:F2:01:F1:50:43:69:3A:63:87:E7:FA:33:69:7E:EC:6E:74:77:4C:94:50:54:F1:35:89:E7:A4:F6:FE:75:05:16:1B:02:22:4C:1E:C6:87:EA:38:CA:BC:A4:FC:20:D2:B4:BC:96:39:F6:A0:DE:EB:C3:74:18:93:24:B7:E0:53:69:C0:36:7E:AD:B4:7C:2F:BA:3B:0B:E2:1B:02:DE:51:E8:60:B3:26:E8:E8:F3:24:26:30:50:C2:27:4A:6F:33:FE:EE:24:F6:DF:5F:90:C3:60:0A:72:BB:B6:E3:C2:80:EA:22:70:BE:34:99:CB:CB:B2:52:61:21:7B:0D:CB:EB:48:0E:A3:52:E6:6F:9C:BD:EF:05:C7:A3:2E:28:C7:E0:FB:38:23:3C:02:63:AC:D0:FA:CF:98:9E:BE:B8:F3:EF:C5:C4:2C:25:C5:C7:96:27:E7:3C:5A:8C:44:A1:52:3B:8D:48:4B:81:7B:04:B6:7C:7B:20:57:53:E8:1B:71:F7"}, "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": "D5:F4:56:16:6A:E1:8B:5F:3D:A5:85:20:A3:74:B0:7C:6E:C4:9B:01"}, "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_run_hooks.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-1739474814.7614605-13870-260449206304142/ > /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": "D5:F4:56:16:6A:E1:8B:5F:3D:A5:85:20:A3:74:B0:7C:6E:C4:9B:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:ED:2F:7B:53:7B:46:83:3A:31:8F:64:67:DD:D2:22:C8:47:E8:5D:97:48:92:8D:21:63:F1:1D:47:2A:CF:F8:AD:47:2A:B6:01:73:71:E1:E9:8E:23:84:AA:AD:73:FF:44:C5:9E:8B:CF:98:D6:CB:47:88:65:E8:41:AB:5D:41:61:F2:01:F1:50:43:69:3A:63:87:E7:FA:33:69:7E:EC:6E:74:77:4C:94:50:54:F1:35:89:E7:A4:F6:FE:75:05:16:1B:02:22:4C:1E:C6:87:EA:38:CA:BC:A4:FC:20:D2:B4:BC:96:39:F6:A0:DE:EB:C3:74:18:93:24:B7:E0:53:69:C0:36:7E:AD:B4:7C:2F:BA:3B:0B:E2:1B:02:DE:51:E8:60:B3:26:E8:E8:F3:24:26:30:50:C2:27:4A:6F:33:FE:EE:24:F6:DF:5F:90:C3:60:0A:72:BB:B6:E3:C2:80:EA:22:70:BE:34:99:CB:CB:B2:52:61:21:7B:0D:CB:EB:48:0E:A3:52:E6:6F:9C:BD:EF:05:C7:A3:2E:28:C7:E0:FB:38:23:3C:02:63:AC:D0:FA:CF:98:9E:BE:B8:F3:EF:C5:C4:2C:25:C5:C7:96:27:E7:3C:5A:8C:44:A1:52:3B:8D:48:4B:81:7B:04:B6:7C:7B:20:57:53:E8:1B:71:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192649Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_run_hooks.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:55 -0500 (0:00:00.494) 0:00:15.074 ***** 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": "D5:F4:56:16:6A:E1:8B:5F:3D:A5:85:20:A3:74:B0:7C:6E:C4:9B:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "45:ED:2F:7B:53:7B:46:83:3A:31:8F:64:67:DD:D2:22:C8:47:E8:5D:97:48:92:8D:21:63:F1:1D:47:2A:CF:F8:AD:47:2A:B6:01:73:71:E1:E9:8E:23:84:AA:AD:73:FF:44:C5:9E:8B:CF:98:D6:CB:47:88:65:E8:41:AB:5D:41:61:F2:01:F1:50:43:69:3A:63:87:E7:FA:33:69:7E:EC:6E:74:77:4C:94:50:54:F1:35:89:E7:A4:F6:FE:75:05:16:1B:02:22:4C:1E:C6:87:EA:38:CA:BC:A4:FC:20:D2:B4:BC:96:39:F6:A0:DE:EB:C3:74:18:93:24:B7:E0:53:69:C0:36:7E:AD:B4:7C:2F:BA:3B:0B:E2:1B:02:DE:51:E8:60:B3:26:E8:E8:F3:24:26:30:50:C2:27:4A:6F:33:FE:EE:24:F6:DF:5F:90:C3:60:0A:72:BB:B6:E3:C2:80:EA:22:70:BE:34:99:CB:CB:B2:52:61:21:7B:0D:CB:EB:48:0E:A3:52:E6:6F:9C:BD:EF:05:C7:A3:2E:28:C7:E0:FB:38:23:3C:02:63:AC:D0:FA:CF:98:9E:BE:B8:F3:EF:C5:C4:2C:25:C5:C7:96:27:E7:3C:5A:8C:44:A1:52:3B:8D:48:4B:81:7B:04:B6:7C:7B:20:57:53:E8:1B:71:F7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192649Z" } } }, "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:55 -0500 (0:00:00.031) 0:00:15.105 ***** 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:55 -0500 (0:00:00.049) 0:00:15.155 ***** 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:55 -0500 (0:00:00.029) 0:00:15.185 ***** 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:55 -0500 (0:00:00.052) 0:00:15.237 ***** 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:55 -0500 (0:00:00.055) 0:00:15.293 ***** 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:55 -0500 (0:00:00.041) 0:00:15.334 ***** <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-1739474815.5189042-13900-14741762130244 `" && echo ansible-tmp-1739474815.5189042-13900-14741762130244="` echo /root/.ansible/tmp/ansible-tmp-1739474815.5189042-13900-14741762130244 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474815.5189042-13900-14741762130244=/root/.ansible/tmp/ansible-tmp-1739474815.5189042-13900-14741762130244\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-134028i1fd5de/tmp86xf6pi2 TO /root/.ansible/tmp/ansible-tmp-1739474815.5189042-13900-14741762130244/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-134028i1fd5de/tmp86xf6pi2 /root/.ansible/tmp/ansible-tmp-1739474815.5189042-13900-14741762130244/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-1739474815.5189042-13900-14741762130244/ /root/.ansible/tmp/ansible-tmp-1739474815.5189042-13900-14741762130244/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-1739474815.5189042-13900-14741762130244/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_run_hooks.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:26:55.853021", "end": "2025-02-13 14:26:55.913410", "delta": "0:00:00.060389", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.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-1739474815.5189042-13900-14741762130244/ > /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_run_hooks.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.060389", "end": "2025-02-13 14:26:55.913410", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.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:55.853021" } 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:55 -0500 (0:00:00.483) 0:00:15.817 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:39 Thursday 13 February 2025 14:26:55 -0500 (0:00:00.037) 0:00:15.855 ***** <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-1739474816.0361416-13913-221519286599370 `" && echo ansible-tmp-1739474816.0361416-13913-221519286599370="` echo /root/.ansible/tmp/ansible-tmp-1739474816.0361416-13913-221519286599370 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474816.0361416-13913-221519286599370=/root/.ansible/tmp/ansible-tmp-1739474816.0361416-13913-221519286599370\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-134028i1fd5de/tmp0um53hyx TO /root/.ansible/tmp/ansible-tmp-1739474816.0361416-13913-221519286599370/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-134028i1fd5de/tmp0um53hyx /root/.ansible/tmp/ansible-tmp-1739474816.0361416-13913-221519286599370/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-1739474816.0361416-13913-221519286599370/ /root/.ansible/tmp/ansible-tmp-1739474816.0361416-13913-221519286599370/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-1739474816.0361416-13913-221519286599370/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718655, "dev": 51713, "nlink": 1, "atime": 1739474809.9237497, "mtime": 1739474809.9207497, "ctime": 1739474809.9207497, "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": "371edd6a1ff8ae825b1e7bdcd5957f35223efa6f", "mimetype": "text/plain", "charset": "us-ascii", "version": "4222629337", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_run_hooks.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-1739474816.0361416-13913-221519286599370/ > /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_run_hooks.crt" } }, "stat": { "atime": 1739474809.9237497, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "371edd6a1ff8ae825b1e7bdcd5957f35223efa6f", "ctime": 1739474809.9207497, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718655, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739474809.9207497, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "4222629337", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:43 Thursday 13 February 2025 14:26:56 -0500 (0:00:00.337) 0:00:16.192 ***** <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-1739474816.3741057-13937-6302843678712 `" && echo ansible-tmp-1739474816.3741057-13937-6302843678712="` echo /root/.ansible/tmp/ansible-tmp-1739474816.3741057-13937-6302843678712 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474816.3741057-13937-6302843678712=/root/.ansible/tmp/ansible-tmp-1739474816.3741057-13937-6302843678712\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-134028i1fd5de/tmpmtyoe4vs TO /root/.ansible/tmp/ansible-tmp-1739474816.3741057-13937-6302843678712/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-134028i1fd5de/tmpmtyoe4vs /root/.ansible/tmp/ansible-tmp-1739474816.3741057-13937-6302843678712/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-1739474816.3741057-13937-6302843678712/ /root/.ansible/tmp/ansible-tmp-1739474816.3741057-13937-6302843678712/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-1739474816.3741057-13937-6302843678712/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/before_cert.tmp", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 0, "inode": 7718654, "dev": 51713, "nlink": 1, "atime": 1739474809.9177496, "mtime": 1739474809.9177496, "ctime": 1739474809.9177496, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 0, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "mimetype": "inode/x-empty", "charset": "binary", "version": "2859556014", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/before_cert.tmp", "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-1739474816.3741057-13937-6302843678712/ > /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/before_cert.tmp" } }, "stat": { "atime": 1739474809.9177496, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1739474809.9177496, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718654, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1739474809.9177496, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "2859556014", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47 Thursday 13 February 2025 14:26:56 -0500 (0:00:00.325) 0:00:16.518 ***** <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-1739474816.6953423-13949-177575319313620 `" && echo ansible-tmp-1739474816.6953423-13949-177575319313620="` echo /root/.ansible/tmp/ansible-tmp-1739474816.6953423-13949-177575319313620 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474816.6953423-13949-177575319313620=/root/.ansible/tmp/ansible-tmp-1739474816.6953423-13949-177575319313620\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-134028i1fd5de/tmphk6xm76o TO /root/.ansible/tmp/ansible-tmp-1739474816.6953423-13949-177575319313620/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-134028i1fd5de/tmphk6xm76o /root/.ansible/tmp/ansible-tmp-1739474816.6953423-13949-177575319313620/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-1739474816.6953423-13949-177575319313620/ /root/.ansible/tmp/ansible-tmp-1739474816.6953423-13949-177575319313620/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-1739474816.6953423-13949-177575319313620/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/after_cert.tmp", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 0, "inode": 6894528, "dev": 51713, "nlink": 1, "atime": 1739474809.9517498, "mtime": 1739474809.9517498, "ctime": 1739474809.9517498, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 0, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "mimetype": "inode/x-empty", "charset": "binary", "version": "952878366", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/after_cert.tmp", "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-1739474816.6953423-13949-177575319313620/ > /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/after_cert.tmp" } }, "stat": { "atime": 1739474809.9517498, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1739474809.9517498, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6894528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1739474809.9517498, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "952878366", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:51 Thursday 13 February 2025 14:26:56 -0500 (0:00:00.322) 0:00:16.840 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:58 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.018) 0:00:16.858 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.017) 0:00:16.875 ***** <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-1739474817.0573184-13959-41745923279818 `" && echo ansible-tmp-1739474817.0573184-13959-41745923279818="` echo /root/.ansible/tmp/ansible-tmp-1739474817.0573184-13959-41745923279818 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474817.0573184-13959-41745923279818=/root/.ansible/tmp/ansible-tmp-1739474817.0573184-13959-41745923279818\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/find.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-134028i1fd5de/tmp4gso27v8 TO /root/.ansible/tmp/ansible-tmp-1739474817.0573184-13959-41745923279818/AnsiballZ_find.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-134028i1fd5de/tmp4gso27v8 /root/.ansible/tmp/ansible-tmp-1739474817.0573184-13959-41745923279818/AnsiballZ_find.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-1739474817.0573184-13959-41745923279818/ /root/.ansible/tmp/ansible-tmp-1739474817.0573184-13959-41745923279818/AnsiballZ_find.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-1739474817.0573184-13959-41745923279818/AnsiballZ_find.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"files": [{"path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "mode": "0770", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 92, "inode": 241172673, "dev": 51713, "nlink": 1, "atime": 1739474809.9157495, "mtime": 1739474809.6737475, "ctime": 1739474809.6737475, "gr_name": "root", "pw_name": "root", "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false}, {"path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "mode": "0770", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 91, "inode": 247464129, "dev": 51713, "nlink": 1, "atime": 1739474809.94975, "mtime": 1739474809.6737475, "ctime": 1739474809.6737475, "gr_name": "root", "pw_name": "root", "wusr": true, "rusr": true, "xusr": true, "wgrp": true, "rgrp": true, "xgrp": true, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false}], "changed": false, "msg": "All paths examined", "matched": 2, "examined": 2, "skipped_paths": {}, "invocation": {"module_args": {"paths": ["/etc/certmonger/pre-scripts", "/etc/certmonger/post-scripts"], "file_type": "file", "patterns": ["*"], "read_whole_file": false, "age_stamp": "mtime", "recurse": false, "hidden": false, "follow": false, "get_checksum": false, "use_regex": false, "exact_mode": true, "excludes": null, "contains": null, "age": null, "size": null, "depth": null, "mode": 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-1739474817.0573184-13959-41745923279818/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "examined": 2, "files": [ { "atime": 1739474809.9157495, "ctime": 1739474809.6737475, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 241172673, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1739474809.6737475, "nlink": 1, "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 92, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true }, { "atime": 1739474809.94975, "ctime": 1739474809.6737475, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 247464129, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1739474809.6737475, "nlink": 1, "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 91, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true } ], "invocation": { "module_args": { "age": null, "age_stamp": "mtime", "contains": null, "depth": null, "exact_mode": true, "excludes": null, "file_type": "file", "follow": false, "get_checksum": false, "hidden": false, "mode": null, "paths": [ "/etc/certmonger/pre-scripts", "/etc/certmonger/post-scripts" ], "patterns": [ "*" ], "read_whole_file": false, "recurse": false, "size": null, "use_regex": false } }, "matched": 2, "skipped_paths": {} } MSG: All paths examined TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.414) 0:00:17.290 ***** included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh) included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node2 => (item=/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh) TASK [Get file] **************************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.044) 0:00:17.334 ***** <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-1739474817.5158808-13975-218418728153415 `" && echo ansible-tmp-1739474817.5158808-13975-218418728153415="` echo /root/.ansible/tmp/ansible-tmp-1739474817.5158808-13975-218418728153415 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474817.5158808-13975-218418728153415=/root/.ansible/tmp/ansible-tmp-1739474817.5158808-13975-218418728153415\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/slurp.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-134028i1fd5de/tmp6f8cqcrp TO /root/.ansible/tmp/ansible-tmp-1739474817.5158808-13975-218418728153415/AnsiballZ_slurp.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-134028i1fd5de/tmp6f8cqcrp /root/.ansible/tmp/ansible-tmp-1739474817.5158808-13975-218418728153415/AnsiballZ_slurp.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-1739474817.5158808-13975-218418728153415/ /root/.ansible/tmp/ansible-tmp-1739474817.5158808-13975-218418728153415/AnsiballZ_slurp.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-1739474817.5158808-13975-218418728153415/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "encoding": "base64", "invocation": {"module_args": {"path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh"}}}\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-1739474817.5158808-13975-218418728153415/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "encoding": "base64", "invocation": { "module_args": { "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } }, "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.414) 0:00:17.749 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Thursday 13 February 2025 14:26:57 -0500 (0:00:00.048) 0:00:17.797 ***** <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-1739474817.9790843-13984-25078039998855 `" && echo ansible-tmp-1739474817.9790843-13984-25078039998855="` echo /root/.ansible/tmp/ansible-tmp-1739474817.9790843-13984-25078039998855 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474817.9790843-13984-25078039998855=/root/.ansible/tmp/ansible-tmp-1739474817.9790843-13984-25078039998855\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/slurp.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-134028i1fd5de/tmpg33dffdx TO /root/.ansible/tmp/ansible-tmp-1739474817.9790843-13984-25078039998855/AnsiballZ_slurp.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-134028i1fd5de/tmpg33dffdx /root/.ansible/tmp/ansible-tmp-1739474817.9790843-13984-25078039998855/AnsiballZ_slurp.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-1739474817.9790843-13984-25078039998855/ /root/.ansible/tmp/ansible-tmp-1739474817.9790843-13984-25078039998855/AnsiballZ_slurp.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-1739474817.9790843-13984-25078039998855/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "encoding": "base64", "invocation": {"module_args": {"path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh"}}}\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-1739474817.9790843-13984-25078039998855/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "encoding": "base64", "invocation": { "module_args": { "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } }, "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Thursday 13 February 2025 14:26:58 -0500 (0:00:00.323) 0:00:18.120 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=42 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 14:26:58 -0500 (0:00:00.046) 0:00:18.167 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.00s /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.87s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.83s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.89s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.72s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 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 : Ensure pre-scripts hooks directory exists --- 0.46s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Get file ---------------------------------------------------------------- 0.41s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Get pre/post-scripts files ---------------------------------------------- 0.41s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.41s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.36s /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 Get certificate timestamp ----------------------------------------------- 0.34s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:39 Get pre-run file timestamp ---------------------------------------------- 0.33s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:43 Get file ---------------------------------------------------------------- 0.32s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Get post-run file timestamp --------------------------------------------- 0.32s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47