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-c82 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-YYv.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-YYv.yml as it did not pass its verify_file() method Parsed /tmp/inventory-YYv.yml inventory source with yaml plugin running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 13:30:00 -0500 (0:00:00.018) 0:00:00.018 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098 `" && echo ansible-tmp-1739471400.049213-11021-208748517359098="` echo /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471400.049213-11021-208748517359098=/root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098\n', b'') Attempting python interpreter discovery <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/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.9.213> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.9.213> (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.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpbbsxqji0 TO /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/AnsiballZ_setup.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpbbsxqji0 /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/AnsiballZ_setup.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/ /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"ansible_facts": {"ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_loadavg": {"1m": 0.57, "5m": 0.28, "15m": 0.12}, "ansible_local": {}, "ansible_fibre_channel_wwn": [], "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-node3", "ansible_hostname": "managed-node3", "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "0392a5167478466794154a1368092929", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMRgEXdDR8VSK2RwdGLGTp6k4yfJoWwlL52TMx9UWpabEvKA+9neaOSpHVhsVtpDylEgkwqcoKgJaGG59KfMULjMphszEb/54c/7a51pv6IPHhM/wO1atXR+Bew4hYZulKWJvjPXKWcL68G/68mOLfv7lScGfoCc7nX445AE10SPAAAAFQDteQFPUCKmCMvtxnAlZHMCztGgRQAAAIEArV686kjaM9imtjUWgVytI/igWF3LNYtSUs7AsoW6qLD6aGjbz7+SSYG6u3x+80sCk/pYpwEn+g27SXbZWXxr2HzPUeWmDOTGRxsG9xfADSHqPz+fUK3lJfwuPx5NSs1e26/FTM+E3uqZtoA4/PPwdQszgI5lB6Ib+RWPVzVqjK8AAACAcKC9vPyvOtfwmMfG54enTi4Lrnm10rtaA6TjTgNe0CLYsAhN+KGiMwSI1tIVbXlJILj7131PlOIqKO3inUQ2y0umEMO6yeeG7nGXjePK2rMV7L2c/f15a3YxDm6SdKoRO/596OtFRp5ggMHIo9uuzFjbLtIdbCi/6oZ4gbYcVNw=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCnNNt+nJxIOplMWFxjXX9QtJiisoqi8m6hMcIXyexsi+ynpy2L9mvskYkqmsIU2FWIS6EzPpMZXmu7jROrI8c4YbWEB4hSpt8D7i8Y3SnegNXpvGZGma6LbcZDyR/NXU/YQkKHVLI3O6cbRORqGBXWKE5HaokKlW+1LAG2Gbrn1vLA7tae6qn8tQzSkYTOQEXvzMDzVz1Uhl0h7BxlxvLRKVwA05iPT66+riAX+22vbg3sS+fDttMnDHu4n+eat2S5GD75Qz2L9hfpFJ8PVOdlAcAO3G5Gxzb4xBc9+xm0xJnIMDx7RgmtVL+0ZqdQJERe34gNvEJebrlKhQEyGK9o1UvBtL3WnXq/J0I3HEjD/0X451nTLCaumNCgXoGMJrdCKZE4F7SB5GUFJ/TbPH+OQOzrldixnq9dm9vQjJ5qfCzPfOsECJGGYmL63XMSzWHeR5Ro8xHmxJWp+r56/y1XQ1wlcn2jEOPstKVtfvH4N8Q7mvFdAv+gSX+ptuMighM=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOmR/Z7vdH+TUQAa9Dk89eY1LgJwmUMGhmRuGcSGUkNUXIMEQEuH5yR3N4EML9oki1PjdvGl4a8hvkbYYC673yU=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIIE02VtStQN6KpnL744wF7uShXHWanZL97JfcBo6NbCq", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "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_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_fips": false, "ansible_is_chroot": false, "ansible_lsb": {}, "ansible_apparmor": {"status": "disabled"}, "ansible_pkg_mgr": "dnf", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.9.128 53668 10.31.9.213 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.9.128 53668 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_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_hostnqn": "", "ansible_iscsi_iqn": "", "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_interfaces": ["eth0", "lo"], "ansible_eth0": {"device": "eth0", "macaddress": "12:e4:18:b9:22:f5", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.9.213", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22"}, "ipv6": [{"address": "fe80::10e4:18ff:feb9:22f5", "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.8.1", "interface": "eth0", "address": "10.31.9.213", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "macaddress": "12:e4:18:b9:22:f5", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.9.213"], "ansible_all_ipv6_addresses": ["fe80::10e4:18ff:feb9:22f5"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.9.213", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::10e4:18ff:feb9:22f5"]}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "30", "second": "00", "epoch": "1739471400", "epoch_int": "1739471400", "date": "2025-02-13", "time": "13:30:00", "iso8601_micro": "2025-02-13T18:30:00.794217Z", "iso8601": "2025-02-13T18:30:00Z", "iso8601_basic": "20250213T133000794217", "iso8601_basic_short": "20250213T133000", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "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": 2757, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 782, "free": 2757}, "nocache": {"free": 3313, "used": 226}, "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": "ec25e0cf-04b3-0cd7-113c-054916e9ce9d", "ansible_product_uuid": "ec25e0cf-04b3-0cd7-113c-054916e9ce9d", "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": 328, "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": 263558725632, "block_size": 4096, "block_total": 65533179, "block_available": 64345392, "block_used": 1187787, "inode_total": 131071472, "inode_available": 130995955, "inode_used": 75517, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471400.049213-11021-208748517359098/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:30:01 -0500 (0:00:01.088) 0:00:01.107 ***** included: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:30:01 -0500 (0:00:00.050) 0:00:01.157 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:30:01 -0500 (0:00:00.050) 0:00:01.207 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721 `" && echo ansible-tmp-1739471401.2411518-11058-10563304951721="` echo /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471401.2411518-11058-10563304951721=/root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpedx3bywz TO /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpedx3bywz /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/ /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471401.2411518-11058-10563304951721/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:30:01 -0500 (0:00:00.438) 0:00:01.646 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:30:01 -0500 (0:00:00.025) 0:00:01.671 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:30:01 -0500 (0:00:00.040) 0:00:01.712 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494 `" && echo ansible-tmp-1739471401.7834105-11087-31152613131494="` echo /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471401.7834105-11087-31152613131494=/root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpsufqt43s TO /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/AnsiballZ_dnf.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpsufqt43s /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/AnsiballZ_dnf.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/ /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471401.7834105-11087-31152613131494/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:30:04 -0500 (0:00:03.055) 0:00:04.768 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415 `" && echo ansible-tmp-1739471404.8434029-11317-98421154792415="` echo /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471404.8434029-11317-98421154792415=/root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7fg7nocd TO /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/AnsiballZ_dnf.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7fg7nocd /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/AnsiballZ_dnf.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/ /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471404.8434029-11317-98421154792415/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => (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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:30:07 -0500 (0:00:02.900) 0:00:07.669 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363 `" && echo ansible-tmp-1739471407.742443-11537-82116848146363="` echo /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471407.742443-11537-82116848146363=/root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpn5aa0q1t TO /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/AnsiballZ_file.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpn5aa0q1t /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/AnsiballZ_file.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/ /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/AnsiballZ_file.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/AnsiballZ_file.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471407.742443-11537-82116848146363/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => (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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:30:08 -0500 (0:00:00.547) 0:00:08.216 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900 `" && echo ansible-tmp-1739471408.271277-11554-104602198322900="` echo /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471408.271277-11554-104602198322900=/root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpfbhs1l5a TO /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/AnsiballZ_file.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpfbhs1l5a /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/AnsiballZ_file.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/ /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/AnsiballZ_file.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/AnsiballZ_file.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471408.271277-11554-104602198322900/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => (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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:30:08 -0500 (0:00:00.369) 0:00:08.586 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647 `" && echo ansible-tmp-1739471408.641056-11569-219979076634647="` echo /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471408.641056-11569-219979076634647=/root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpqb26pjat TO /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/AnsiballZ_systemd.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpqb26pjat /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/AnsiballZ_systemd.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/ /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.9.213> (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 13:29:25 EST", "WatchdogTimestampMonotonic": "293164724", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "9558", "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 13:29:25 EST", "ExecMainStartTimestampMonotonic": "293153168", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9558", "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 13:29:25 EST] ; stop_time=[n/a] ; pid=9558 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3854336", "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": "22405", "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": "14003", "LimitNPROCSoft": "14003", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "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": "sysinit.target dbus.socket system.slice", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "syslog.target sysinit.target basic.target system.slice dbus.service dbus.socket network.target systemd-journald.socket", "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 13:29:25 EST", "StateChangeTimestampMonotonic": "293164726", "InactiveExitTimestamp": "Thu 2025-02-13 13:29:25 EST", "InactiveExitTimestampMonotonic": "293153218", "ActiveEnterTimestamp": "Thu 2025-02-13 13:29:25 EST", "ActiveEnterTimestampMonotonic": "293164726", "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 13:29:25 EST", "ConditionTimestampMonotonic": "293152318", "AssertTimestamp": "Thu 2025-02-13 13:29:25 EST", "AssertTimestampMonotonic": "293152320", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "4faea0f3e01a4f77a145c94e8aa78b80", "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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471408.641056-11569-219979076634647/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => (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 13:29:25 EST", "ActiveEnterTimestampMonotonic": "293164726", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target sysinit.target basic.target system.slice dbus.service dbus.socket network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:29:25 EST", "AssertTimestampMonotonic": "293152320", "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 13:29:25 EST", "ConditionTimestampMonotonic": "293152318", "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": "9558", "ExecMainStartTimestamp": "Thu 2025-02-13 13:29:25 EST", "ExecMainStartTimestampMonotonic": "293153168", "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 13:29:25 EST] ; stop_time=[n/a] ; pid=9558 ; 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 13:29:25 EST", "InactiveExitTimestampMonotonic": "293153218", "InvocationID": "4faea0f3e01a4f77a145c94e8aa78b80", "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": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9558", "MemoryAccounting": "yes", "MemoryCurrent": "3854336", "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": "sysinit.target dbus.socket system.slice", "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 13:29:25 EST", "StateChangeTimestampMonotonic": "293164726", "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": "22405", "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 13:29:25 EST", "WatchdogTimestampMonotonic": "293164724", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:30:09 -0500 (0:00:00.762) 0:00:09.348 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305 `" && echo ansible-tmp-1739471409.4274592-11585-166207836962305="` echo /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471409.4274592-11585-166207836962305=/root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpdlfjzgx1 TO /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/AnsiballZ_certificate_request.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpdlfjzgx1 /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/AnsiballZ_certificate_request.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/ /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "mycert_many_self_signed", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471409.4274592-11585-166207836962305/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') changed: [managed-node3] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_many_self_signed", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451 `" && echo ansible-tmp-1739471410.2659895-11585-169074261879451="` echo /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471410.2659895-11585-169074261879451=/root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7k3s2cp3 TO /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/AnsiballZ_certificate_request.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7k3s2cp3 /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/AnsiballZ_certificate_request.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/ /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "other-cert", "dns": ["www.example.org"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471410.2659895-11585-169074261879451/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') changed: [managed-node3] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.org" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "other-cert", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282 `" && echo ansible-tmp-1739471410.8829749-11585-276266322337282="` echo /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471410.8829749-11585-276266322337282=/root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp75l9owq5 TO /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/AnsiballZ_certificate_request.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp75l9owq5 /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/AnsiballZ_certificate_request.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/ /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "another-cert", "dns": ["www.example.net"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471410.8829749-11585-276266322337282/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') changed: [managed-node3] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.net" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "another-cert", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:30:11 -0500 (0:00:02.227) 0:00:11.575 ***** skipping: [managed-node3] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:30:11 -0500 (0:00:00.075) 0:00:11.650 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:30:11 -0500 (0:00:00.032) 0:00:11.682 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:30:11 -0500 (0:00:00.036) 0:00:11.719 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Thursday 13 February 2025 13:30:11 -0500 (0:00:00.062) 0:00:11.782 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989 `" && echo ansible-tmp-1739471411.8139188-11643-39120396284989="` echo /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471411.8139188-11643-39120396284989=/root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpswjdg8j3 TO /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/AnsiballZ_setup.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpswjdg8j3 /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/AnsiballZ_setup.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/ /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"ansible_facts": {"ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAMRgEXdDR8VSK2RwdGLGTp6k4yfJoWwlL52TMx9UWpabEvKA+9neaOSpHVhsVtpDylEgkwqcoKgJaGG59KfMULjMphszEb/54c/7a51pv6IPHhM/wO1atXR+Bew4hYZulKWJvjPXKWcL68G/68mOLfv7lScGfoCc7nX445AE10SPAAAAFQDteQFPUCKmCMvtxnAlZHMCztGgRQAAAIEArV686kjaM9imtjUWgVytI/igWF3LNYtSUs7AsoW6qLD6aGjbz7+SSYG6u3x+80sCk/pYpwEn+g27SXbZWXxr2HzPUeWmDOTGRxsG9xfADSHqPz+fUK3lJfwuPx5NSs1e26/FTM+E3uqZtoA4/PPwdQszgI5lB6Ib+RWPVzVqjK8AAACAcKC9vPyvOtfwmMfG54enTi4Lrnm10rtaA6TjTgNe0CLYsAhN+KGiMwSI1tIVbXlJILj7131PlOIqKO3inUQ2y0umEMO6yeeG7nGXjePK2rMV7L2c/f15a3YxDm6SdKoRO/596OtFRp5ggMHIo9uuzFjbLtIdbCi/6oZ4gbYcVNw=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCnNNt+nJxIOplMWFxjXX9QtJiisoqi8m6hMcIXyexsi+ynpy2L9mvskYkqmsIU2FWIS6EzPpMZXmu7jROrI8c4YbWEB4hSpt8D7i8Y3SnegNXpvGZGma6LbcZDyR/NXU/YQkKHVLI3O6cbRORqGBXWKE5HaokKlW+1LAG2Gbrn1vLA7tae6qn8tQzSkYTOQEXvzMDzVz1Uhl0h7BxlxvLRKVwA05iPT66+riAX+22vbg3sS+fDttMnDHu4n+eat2S5GD75Qz2L9hfpFJ8PVOdlAcAO3G5Gxzb4xBc9+xm0xJnIMDx7RgmtVL+0ZqdQJERe34gNvEJebrlKhQEyGK9o1UvBtL3WnXq/J0I3HEjD/0X451nTLCaumNCgXoGMJrdCKZE4F7SB5GUFJ/TbPH+OQOzrldixnq9dm9vQjJ5qfCzPfOsECJGGYmL63XMSzWHeR5Ro8xHmxJWp+r56/y1XQ1wlcn2jEOPstKVtfvH4N8Q7mvFdAv+gSX+ptuMighM=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOmR/Z7vdH+TUQAa9Dk89eY1LgJwmUMGhmRuGcSGUkNUXIMEQEuH5yR3N4EML9oki1PjdvGl4a8hvkbYYC673yU=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIIE02VtStQN6KpnL744wF7uShXHWanZL97JfcBo6NbCq", "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_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_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-node3", "ansible_hostname": "managed-node3", "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "0392a5167478466794154a1368092929", "ansible_is_chroot": false, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_hostnqn": "", "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_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_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "30", "second": "12", "epoch": "1739471412", "epoch_int": "1739471412", "date": "2025-02-13", "time": "13:30:12", "iso8601_micro": "2025-02-13T18:30:12.211472Z", "iso8601": "2025-02-13T18:30:12Z", "iso8601_basic": "20250213T133012211472", "iso8601_basic_short": "20250213T133012", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_local": {}, "ansible_lsb": {}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_apparmor": {"status": "disabled"}, "ansible_iscsi_iqn": "", "ansible_loadavg": {"1m": 0.67, "5m": 0.31, "15m": 0.14}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.9.128 53668 10.31.9.213 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.9.128 53668 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_fibre_channel_wwn": [], "ansible_fips": false, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_interfaces": ["eth0", "lo"], "ansible_eth0": {"device": "eth0", "macaddress": "12:e4:18:b9:22:f5", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.9.213", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22"}, "ipv6": [{"address": "fe80::10e4:18ff:feb9:22f5", "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.8.1", "interface": "eth0", "address": "10.31.9.213", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "macaddress": "12:e4:18:b9:22:f5", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.9.213"], "ansible_all_ipv6_addresses": ["fe80::10e4:18ff:feb9:22f5"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.9.213", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::10e4:18ff:feb9:22f5"]}, "ansible_pkg_mgr": "dnf", "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": 2757, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 782, "free": 2757}, "nocache": {"free": 3313, "used": 226}, "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": "ec25e0cf-04b3-0cd7-113c-054916e9ce9d", "ansible_product_uuid": "ec25e0cf-04b3-0cd7-113c-054916e9ce9d", "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": 340, "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": 263558627328, "block_size": 4096, "block_total": 65533179, "block_available": 64345368, "block_used": 1187811, "inode_total": 131071472, "inode_available": 130995946, "inode_used": 75526, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471411.8139188-11643-39120396284989/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.755) 0:00:12.537 ***** included: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.069) 0:00:12.607 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.021) 0:00:12.629 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.034) 0:00:12.663 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.033) 0:00:12.696 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:12 -0500 (0:00:00.014) 0:00:12.711 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868 `" && echo ansible-tmp-1739471412.7671587-11681-279354542129868="` echo /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471412.7671587-11681-279354542129868=/root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpsvvkcfzd TO /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/AnsiballZ_dnf.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpsvvkcfzd /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/AnsiballZ_dnf.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/ /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471412.7671587-11681-279354542129868/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:15 -0500 (0:00:02.893) 0:00:15.605 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640 `" && echo ansible-tmp-1739471415.6427724-11764-98394930474640="` echo /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471415.6427724-11764-98394930474640=/root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp04byfz69 TO /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp04byfz69 /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/ /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718642, "dev": 51713, "nlink": 1, "atime": 1739471410.0518467, "mtime": 1739471410.0488467, "ctime": 1739471410.0488467, "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": "0fdc2b89d079e28aafc464d92bee327f92a8137d", "mimetype": "text/plain", "charset": "us-ascii", "version": "2907627020", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471415.6427724-11764-98394930474640/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } }, "stat": { "atime": 1739471410.0518467, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "0fdc2b89d079e28aafc464d92bee327f92a8137d", "ctime": 1739471410.0488467, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471410.0488467, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2907627020", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:15 -0500 (0:00:00.354) 0:00:15.959 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:15 -0500 (0:00:00.018) 0:00:15.978 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:16 -0500 (0:00:00.058) 0:00:16.036 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:16 -0500 (0:00:00.054) 0:00:16.091 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655 `" && echo ansible-tmp-1739471416.1242223-11788-82190929753655="` echo /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471416.1242223-11788-82190929753655=/root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp42mwd_za TO /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp42mwd_za /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/ /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718641, "dev": 51713, "nlink": 1, "atime": 1739471410.0068467, "mtime": 1739471410.0488467, "ctime": 1739471410.0488467, "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": "eb68d83fec38f1abafe25835e50cc3ebc8883956", "mimetype": "text/plain", "charset": "us-ascii", "version": "312256773", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_many_self_signed.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471416.1242223-11788-82190929753655/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key" } }, "stat": { "atime": 1739471410.0068467, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "eb68d83fec38f1abafe25835e50cc3ebc8883956", "ctime": 1739471410.0488467, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471410.0488467, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "312256773", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:16 -0500 (0:00:00.399) 0:00:16.491 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:16 -0500 (0:00:00.020) 0:00:16.511 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:16 -0500 (0:00:00.046) 0:00:16.557 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315 `" && echo ansible-tmp-1739471416.5857873-11820-4631984728315="` echo /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471416.5857873-11820-4631984728315=/root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpq3oyxejc TO /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/AnsiballZ_certtojson.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpq3oyxejc /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/AnsiballZ_certtojson.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/ /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "79:0A:D9:91:11:06:81:87:45:EB:77:8A:70:F3:68:BB:72:E6:12:E9:C8:CE:72:92:BB:67:6A:AF:14:7F:14:73:5F:77:D1:AC:B8:80:98:F9:12:02:08:8B:11:64:7B:99:FA:F2:05:DA:29:04:C1:54:CD:DA:23:44:58:96:AC:6D:E9:36:68:98:5B:81:A9:D6:7E:83:C7:5E:90:EF:2A:91:78:62:F5:1B:98:FC:CA:96:B8:09:A7:B8:96:59:CF:64:AB:58:BE:01:F6:82:D1:2F:D2:BD:EB:E0:35:EE:BA:12:CC:45:4C:45:5E:31:7C:76:CC:68:6C:B5:55:C9:68:7A:E1:84:0A:1A:61:CF:24:7B:EC:7A:BB:6F:E4:83:93:DF:17:8C:0A:5A:CC:29:5C:86:8A:E8:27:EB:80:3F:79:13:55:AE:87:53:92:6A:B9:33:41:68:5A:8F:DE:61:53:02:F2:7B:CA:AC:EF:AD:A2:45:A3:4A:96:D2:EF:D4:AC:7D:A6:1A:6C:D7:CA:88:AE:5A:CF:AB:40:A1:FC:ED:C0:C4:0B:68:A2:F0:8B:4D:0F:CA:09:BA:40:4F:83:F1:8D:C0:2D:53:F9:3A:72:F6:CC:78:DB:4F:DC:51:FF:A7:2A:DD:E7:DA:08:B2:3B:17:BB:11:75:68:E9:9A:A5:7A:7F:FA"}, "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": "E1:33:EE:7A:82:C8:34:B2:3F:63:73:45:49:03:CC:AF:BA:82:C0:73"}, "authorityKeyIdentifier": {"critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471416.5857873-11820-4631984728315/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "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": "E1:33:EE:7A:82:C8:34:B2:3F:63:73:45:49:03:CC:AF:BA:82:C0:73" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:0A:D9:91:11:06:81:87:45:EB:77:8A:70:F3:68:BB:72:E6:12:E9:C8:CE:72:92:BB:67:6A:AF:14:7F:14:73:5F:77:D1:AC:B8:80:98:F9:12:02:08:8B:11:64:7B:99:FA:F2:05:DA:29:04:C1:54:CD:DA:23:44:58:96:AC:6D:E9:36:68:98:5B:81:A9:D6:7E:83:C7:5E:90:EF:2A:91:78:62:F5:1B:98:FC:CA:96:B8:09:A7:B8:96:59:CF:64:AB:58:BE:01:F6:82:D1:2F:D2:BD:EB:E0:35:EE:BA:12:CC:45:4C:45:5E:31:7C:76:CC:68:6C:B5:55:C9:68:7A:E1:84:0A:1A:61:CF:24:7B:EC:7A:BB:6F:E4:83:93:DF:17:8C:0A:5A:CC:29:5C:86:8A:E8:27:EB:80:3F:79:13:55:AE:87:53:92:6A:B9:33:41:68:5A:8F:DE:61:53:02:F2:7B:CA:AC:EF:AD:A2:45:A3:4A:96:D2:EF:D4:AC:7D:A6:1A:6C:D7:CA:88:AE:5A:CF:AB:40:A1:FC:ED:C0:C4:0B:68:A2:F0:8B:4D:0F:CA:09:BA:40:4F:83:F1:8D:C0:2D:53:F9:3A:72:F6:CC:78:DB:4F:DC:51:FF:A7:2A:DD:E7:DA:08:B2:3B:17:BB:11:75:68:E9:9A:A5:7A:7F:FA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.493) 0:00:17.050 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "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": "E1:33:EE:7A:82:C8:34:B2:3F:63:73:45:49:03:CC:AF:BA:82:C0:73" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:0A:D9:91:11:06:81:87:45:EB:77:8A:70:F3:68:BB:72:E6:12:E9:C8:CE:72:92:BB:67:6A:AF:14:7F:14:73:5F:77:D1:AC:B8:80:98:F9:12:02:08:8B:11:64:7B:99:FA:F2:05:DA:29:04:C1:54:CD:DA:23:44:58:96:AC:6D:E9:36:68:98:5B:81:A9:D6:7E:83:C7:5E:90:EF:2A:91:78:62:F5:1B:98:FC:CA:96:B8:09:A7:B8:96:59:CF:64:AB:58:BE:01:F6:82:D1:2F:D2:BD:EB:E0:35:EE:BA:12:CC:45:4C:45:5E:31:7C:76:CC:68:6C:B5:55:C9:68:7A:E1:84:0A:1A:61:CF:24:7B:EC:7A:BB:6F:E4:83:93:DF:17:8C:0A:5A:CC:29:5C:86:8A:E8:27:EB:80:3F:79:13:55:AE:87:53:92:6A:B9:33:41:68:5A:8F:DE:61:53:02:F2:7B:CA:AC:EF:AD:A2:45:A3:4A:96:D2:EF:D4:AC:7D:A6:1A:6C:D7:CA:88:AE:5A:CF:AB:40:A1:FC:ED:C0:C4:0B:68:A2:F0:8B:4D:0F:CA:09:BA:40:4F:83:F1:8D:C0:2D:53:F9:3A:72:F6:CC:78:DB:4F:DC:51:FF:A7:2A:DD:E7:DA:08:B2:3B:17:BB:11:75:68:E9:9A:A5:7A:7F:FA" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.024) 0:00:17.075 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.058) 0:00:17.133 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.038) 0:00:17.171 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.055) 0:00:17.227 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.050) 0:00:17.277 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.042) 0:00:17.320 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297 `" && echo ansible-tmp-1739471417.3468177-11850-128103254317297="` echo /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471417.3468177-11850-128103254317297=/root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpirv_ndwp TO /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/AnsiballZ_command.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpirv_ndwp /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/AnsiballZ_command.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/ /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:30:17.704417", "end": "2025-02-13 13:30:17.758194", "delta": "0:00:00.053777", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471417.3468177-11850-128103254317297/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.053777", "end": "2025-02-13 13:30:17.758194", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:30:17.704417" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.496) 0:00:17.817 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.039) 0:00:17.856 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.014) 0:00:17.871 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.018) 0:00:17.889 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.017) 0:00:17.907 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:17 -0500 (0:00:00.013) 0:00:17.920 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481 `" && echo ansible-tmp-1739471417.9690838-11883-116557334877481="` echo /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471417.9690838-11883-116557334877481=/root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpba5ye_v_ TO /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/AnsiballZ_dnf.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpba5ye_v_ /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/AnsiballZ_dnf.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/ /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471417.9690838-11883-116557334877481/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:20 -0500 (0:00:02.858) 0:00:20.779 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328 `" && echo ansible-tmp-1739471420.8051383-11951-124541786243328="` echo /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471420.8051383-11951-124541786243328=/root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpl11a4wxc TO /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpl11a4wxc /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/ /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/other-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718644, "dev": 51713, "nlink": 1, "atime": 1739471410.7118473, "mtime": 1739471410.7088473, "ctime": 1739471410.7088473, "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": "26eed953880a15ba7cddc55022e2354211fdefa4", "mimetype": "text/plain", "charset": "us-ascii", "version": "720264925", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/other-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471420.8051383-11951-124541786243328/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/other-cert.crt" } }, "stat": { "atime": 1739471410.7118473, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "26eed953880a15ba7cddc55022e2354211fdefa4", "ctime": 1739471410.7088473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471410.7088473, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "720264925", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.476) 0:00:21.256 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.018) 0:00:21.274 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.053) 0:00:21.327 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.058) 0:00:21.385 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741 `" && echo ansible-tmp-1739471421.443794-11988-2203738672741="` echo /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471421.443794-11988-2203738672741=/root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpcikhxpoz TO /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpcikhxpoz /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/ /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/other-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1708, "inode": 7718643, "dev": 51713, "nlink": 1, "atime": 1739471410.6678472, "mtime": 1739471410.7088473, "ctime": 1739471410.7088473, "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": "dd7357e2bc47fe7d03b2faf3ecbc3b25b22352cb", "mimetype": "text/plain", "charset": "us-ascii", "version": "331130148", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/other-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471421.443794-11988-2203738672741/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/other-cert.key" } }, "stat": { "atime": 1739471410.6678472, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "dd7357e2bc47fe7d03b2faf3ecbc3b25b22352cb", "ctime": 1739471410.7088473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471410.7088473, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "331130148", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.441) 0:00:21.827 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.017) 0:00:21.845 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.038) 0:00:21.884 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300 `" && echo ansible-tmp-1739471421.9097004-12018-246445820218300="` echo /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471421.9097004-12018-246445820218300=/root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7gfy7go7 TO /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/AnsiballZ_certtojson.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp7gfy7go7 /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/AnsiballZ_certtojson.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/ /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "42:E9:61:14:D9:55:E2:04:DA:B1:7D:95:55:30:1C:1E:90:D2:78:3E:E8:E3:39:25:03:B8:68:61:A3:A8:9A:8E:50:06:9D:DF:F3:99:C6:92:2B:E7:F9:26:B1:63:49:39:66:F2:D7:65:BB:94:91:4C:53:80:36:5E:C3:20:73:05:9B:EB:CF:47:A4:7D:4F:F6:AD:61:91:9C:20:1B:B0:65:45:17:52:3E:47:4A:43:3E:4F:2B:3E:6A:D6:56:D3:CD:B4:93:DE:5B:A2:AF:52:64:7D:25:10:A7:68:18:09:97:38:20:24:B9:09:97:D3:42:F0:13:1F:C5:85:6B:64:06:B7:3B:23:6C:0A:E6:42:22:AB:C9:F2:B6:2E:3C:8A:4D:47:3A:90:B5:E5:9A:5A:C6:84:69:38:5D:A6:D8:94:15:37:94:80:05:1A:19:5F:3A:00:F6:7D:E5:ED:CB:B7:DB:2A:15:40:2A:18:4C:99:71:48:1E:FE:8F:D4:F7:15:77:4E:96:38:E6:29:E8:CA:D6:10:8D:21:1D:EA:B1:4D:1D:9A:14:AC:EB:50:E9:1D:FA:2D:87:40:B1:1F:E4:6C:79:F6:29:75:33:E6:80:D6:41:9C:3C:F1:7F:FB:7E:9A:43:85:EF:CC:45:85:7F:4C:A3:BC:31:32:42:A6:A0:75:03"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.org"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.org"}]}, "extendedKeyUsage": {"critical": false, "value": [{"name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1"}, {"name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "DE:28:C0:31:E2:24:93:C4:BC:AF:2D:2E:F4:D1:20:04:30:B9:C7:24"}, "authorityKeyIdentifier": {"critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471421.9097004-12018-246445820218300/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "DE:28:C0:31:E2:24:93:C4:BC:AF:2D:2E:F4:D1:20:04:30:B9:C7:24" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "42:E9:61:14:D9:55:E2:04:DA:B1:7D:95:55:30:1C:1E:90:D2:78:3E:E8:E3:39:25:03:B8:68:61:A3:A8:9A:8E:50:06:9D:DF:F3:99:C6:92:2B:E7:F9:26:B1:63:49:39:66:F2:D7:65:BB:94:91:4C:53:80:36:5E:C3:20:73:05:9B:EB:CF:47:A4:7D:4F:F6:AD:61:91:9C:20:1B:B0:65:45:17:52:3E:47:4A:43:3E:4F:2B:3E:6A:D6:56:D3:CD:B4:93:DE:5B:A2:AF:52:64:7D:25:10:A7:68:18:09:97:38:20:24:B9:09:97:D3:42:F0:13:1F:C5:85:6B:64:06:B7:3B:23:6C:0A:E6:42:22:AB:C9:F2:B6:2E:3C:8A:4D:47:3A:90:B5:E5:9A:5A:C6:84:69:38:5D:A6:D8:94:15:37:94:80:05:1A:19:5F:3A:00:F6:7D:E5:ED:CB:B7:DB:2A:15:40:2A:18:4C:99:71:48:1E:FE:8F:D4:F7:15:77:4E:96:38:E6:29:E8:CA:D6:10:8D:21:1D:EA:B1:4D:1D:9A:14:AC:EB:50:E9:1D:FA:2D:87:40:B1:1F:E4:6C:79:F6:29:75:33:E6:80:D6:41:9C:3C:F1:7F:FB:7E:9A:43:85:EF:CC:45:85:7F:4C:A3:BC:31:32:42:A6:A0:75:03" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/other-cert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.396) 0:00:22.280 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "DE:28:C0:31:E2:24:93:C4:BC:AF:2D:2E:F4:D1:20:04:30:B9:C7:24" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "42:E9:61:14:D9:55:E2:04:DA:B1:7D:95:55:30:1C:1E:90:D2:78:3E:E8:E3:39:25:03:B8:68:61:A3:A8:9A:8E:50:06:9D:DF:F3:99:C6:92:2B:E7:F9:26:B1:63:49:39:66:F2:D7:65:BB:94:91:4C:53:80:36:5E:C3:20:73:05:9B:EB:CF:47:A4:7D:4F:F6:AD:61:91:9C:20:1B:B0:65:45:17:52:3E:47:4A:43:3E:4F:2B:3E:6A:D6:56:D3:CD:B4:93:DE:5B:A2:AF:52:64:7D:25:10:A7:68:18:09:97:38:20:24:B9:09:97:D3:42:F0:13:1F:C5:85:6B:64:06:B7:3B:23:6C:0A:E6:42:22:AB:C9:F2:B6:2E:3C:8A:4D:47:3A:90:B5:E5:9A:5A:C6:84:69:38:5D:A6:D8:94:15:37:94:80:05:1A:19:5F:3A:00:F6:7D:E5:ED:CB:B7:DB:2A:15:40:2A:18:4C:99:71:48:1E:FE:8F:D4:F7:15:77:4E:96:38:E6:29:E8:CA:D6:10:8D:21:1D:EA:B1:4D:1D:9A:14:AC:EB:50:E9:1D:FA:2D:87:40:B1:1F:E4:6C:79:F6:29:75:33:E6:80:D6:41:9C:3C:F1:7F:FB:7E:9A:43:85:EF:CC:45:85:7F:4C:A3:BC:31:32:42:A6:A0:75:03" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183010Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.025) 0:00:22.306 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.056) 0:00:22.362 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.029) 0:00:22.391 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.052) 0:00:22.444 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.048) 0:00:22.492 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.041) 0:00:22.533 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964 `" && echo ansible-tmp-1739471422.559006-12053-35574728866964="` echo /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471422.559006-12053-35574728866964=/root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpy_4qqvo9 TO /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/AnsiballZ_command.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpy_4qqvo9 /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/AnsiballZ_command.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/ /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:30:22.802164", "end": "2025-02-13 13:30:22.855744", "delta": "0:00:00.053580", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471422.559006-12053-35574728866964/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.053580", "end": "2025-02-13 13:30:22.855744", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:30:22.802164" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.381) 0:00:22.915 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.041) 0:00:22.957 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.019) 0:00:22.976 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.026) 0:00:23.003 ***** skipping: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:23 -0500 (0:00:00.030) 0:00:23.034 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:23 -0500 (0:00:00.020) 0:00:23.054 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569 `" && echo ansible-tmp-1739471423.122523-12142-72699494901569="` echo /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471423.122523-12142-72699494901569=/root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmppsfortlc TO /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/AnsiballZ_dnf.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmppsfortlc /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/AnsiballZ_dnf.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/ /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.9.213> (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.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471423.122523-12142-72699494901569/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "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-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:25 -0500 (0:00:02.888) 0:00:25.942 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825 `" && echo ansible-tmp-1739471425.9736602-12305-115969103008825="` echo /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471425.9736602-12305-115969103008825=/root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpfdfpdyy5 TO /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpfdfpdyy5 /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/ /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/another-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718646, "dev": 51713, "nlink": 1, "atime": 1739471411.4318478, "mtime": 1739471411.4288478, "ctime": 1739471411.4288478, "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": "3aa35031054a8b8c640a75bb56cfee2d027a1f94", "mimetype": "text/plain", "charset": "us-ascii", "version": "1883220729", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/another-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471425.9736602-12305-115969103008825/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/another-cert.crt" } }, "stat": { "atime": 1739471411.4318478, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3aa35031054a8b8c640a75bb56cfee2d027a1f94", "ctime": 1739471411.4288478, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471411.4288478, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1883220729", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.348) 0:00:26.291 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.027) 0:00:26.319 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.064) 0:00:26.383 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.051) 0:00:26.435 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634 `" && echo ansible-tmp-1739471426.472311-12346-268051244526634="` echo /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471426.472311-12346-268051244526634=/root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpxk09hwaf TO /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/AnsiballZ_stat.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpxk09hwaf /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/AnsiballZ_stat.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/ /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/another-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718645, "dev": 51713, "nlink": 1, "atime": 1739471411.387848, "mtime": 1739471411.4288478, "ctime": 1739471411.4288478, "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": "c1d579dfa89dd1e2e3081e1169358f463eb8b9c1", "mimetype": "text/plain", "charset": "us-ascii", "version": "3649245981", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/another-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471426.472311-12346-268051244526634/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/another-cert.key" } }, "stat": { "atime": 1739471411.387848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c1d579dfa89dd1e2e3081e1169358f463eb8b9c1", "ctime": 1739471411.4288478, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471411.4288478, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3649245981", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.351) 0:00:26.787 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.019) 0:00:26.806 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:26 -0500 (0:00:00.040) 0:00:26.847 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300 `" && echo ansible-tmp-1739471426.8728561-12419-196873707083300="` echo /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471426.8728561-12419-196873707083300=/root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300\n', b'') Using module file /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpbhryuy30 TO /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/AnsiballZ_certtojson.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmpbhryuy30 /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/AnsiballZ_certtojson.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/ /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213182925Z", "not_valid_before": "20250213183011Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "86:7D:AD:DE:30:5F:E8:5C:B3:53:A2:C8:7C:D6:EA:2E:08:FD:96:30:61:D3:AE:2A:ED:4E:AE:A6:66:12:86:76:B0:3F:0D:63:CE:55:02:55:8F:F8:E8:74:2C:FE:44:4A:FB:45:36:20:53:21:33:66:18:EA:53:E3:41:F5:59:22:72:D3:B0:97:10:0F:38:D8:C2:0C:FC:70:5D:5E:22:B7:93:93:2F:71:22:13:2D:74:CB:FA:8B:D7:67:4C:DF:DF:8F:33:12:88:59:21:EB:1B:47:BE:60:02:93:C3:7A:11:F1:19:E6:17:6B:A6:D3:E3:6C:7E:96:18:E2:C7:B5:63:31:FF:76:19:DD:F2:7E:9F:3A:13:0A:DB:82:A2:67:EB:F4:92:2A:CB:74:0E:41:FA:7C:D4:7F:E2:6C:18:F2:09:56:7B:BB:10:26:B6:24:89:B2:FC:90:30:EB:B2:08:35:7F:1C:97:89:3B:43:BD:E4:10:C6:75:60:D8:C5:41:92:98:DF:58:DB:60:09:63:A4:19:25:6B:04:AC:F0:CF:97:49:7F:91:D2:10:1F:AB:6E:D9:B7:9D:12:D0:12:A8:76:15:D6:FF:7B:1D:B5:6C:0F:A1:5B:FE:19:2C:5D:E1:93:D1:01:49:58:5D:FA:DF:E7:51:9D:E4:54:86:69:F2:32"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.net"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.net"}]}, "extendedKeyUsage": {"critical": false, "value": [{"name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1"}, {"name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "5E:68:C2:E1:71:EE:E4:06:F3:CF:C3:70:96:C7:C5:D4:21:31:E1:3B"}, "authorityKeyIdentifier": {"critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471426.8728561-12419-196873707083300/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "5E:68:C2:E1:71:EE:E4:06:F3:CF:C3:70:96:C7:C5:D4:21:31:E1:3B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "86:7D:AD:DE:30:5F:E8:5C:B3:53:A2:C8:7C:D6:EA:2E:08:FD:96:30:61:D3:AE:2A:ED:4E:AE:A6:66:12:86:76:B0:3F:0D:63:CE:55:02:55:8F:F8:E8:74:2C:FE:44:4A:FB:45:36:20:53:21:33:66:18:EA:53:E3:41:F5:59:22:72:D3:B0:97:10:0F:38:D8:C2:0C:FC:70:5D:5E:22:B7:93:93:2F:71:22:13:2D:74:CB:FA:8B:D7:67:4C:DF:DF:8F:33:12:88:59:21:EB:1B:47:BE:60:02:93:C3:7A:11:F1:19:E6:17:6B:A6:D3:E3:6C:7E:96:18:E2:C7:B5:63:31:FF:76:19:DD:F2:7E:9F:3A:13:0A:DB:82:A2:67:EB:F4:92:2A:CB:74:0E:41:FA:7C:D4:7F:E2:6C:18:F2:09:56:7B:BB:10:26:B6:24:89:B2:FC:90:30:EB:B2:08:35:7F:1C:97:89:3B:43:BD:E4:10:C6:75:60:D8:C5:41:92:98:DF:58:DB:60:09:63:A4:19:25:6B:04:AC:F0:CF:97:49:7F:91:D2:10:1F:AB:6E:D9:B7:9D:12:D0:12:A8:76:15:D6:FF:7B:1D:B5:6C:0F:A1:5B:FE:19:2C:5D:E1:93:D1:01:49:58:5D:FA:DF:E7:51:9D:E4:54:86:69:F2:32" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183011Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/another-cert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.398) 0:00:27.245 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "41:A6:CE:14:BB:C8:38:3A:65:24:9B:C7:77:7D:D6:05:B0:A0:A6:14" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "5E:68:C2:E1:71:EE:E4:06:F3:CF:C3:70:96:C7:C5:D4:21:31:E1:3B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "86:7D:AD:DE:30:5F:E8:5C:B3:53:A2:C8:7C:D6:EA:2E:08:FD:96:30:61:D3:AE:2A:ED:4E:AE:A6:66:12:86:76:B0:3F:0D:63:CE:55:02:55:8F:F8:E8:74:2C:FE:44:4A:FB:45:36:20:53:21:33:66:18:EA:53:E3:41:F5:59:22:72:D3:B0:97:10:0F:38:D8:C2:0C:FC:70:5D:5E:22:B7:93:93:2F:71:22:13:2D:74:CB:FA:8B:D7:67:4C:DF:DF:8F:33:12:88:59:21:EB:1B:47:BE:60:02:93:C3:7A:11:F1:19:E6:17:6B:A6:D3:E3:6C:7E:96:18:E2:C7:B5:63:31:FF:76:19:DD:F2:7E:9F:3A:13:0A:DB:82:A2:67:EB:F4:92:2A:CB:74:0E:41:FA:7C:D4:7F:E2:6C:18:F2:09:56:7B:BB:10:26:B6:24:89:B2:FC:90:30:EB:B2:08:35:7F:1C:97:89:3B:43:BD:E4:10:C6:75:60:D8:C5:41:92:98:DF:58:DB:60:09:63:A4:19:25:6B:04:AC:F0:CF:97:49:7F:91:D2:10:1F:AB:6E:D9:B7:9D:12:D0:12:A8:76:15:D6:FF:7B:1D:B5:6C:0F:A1:5B:FE:19:2C:5D:E1:93:D1:01:49:58:5D:FA:DF:E7:51:9D:E4:54:86:69:F2:32" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213182925Z", "not_valid_before": "20250213183011Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.028) 0:00:27.274 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.057) 0:00:27.331 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.028) 0:00:27.360 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.054) 0:00:27.414 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.060) 0:00:27.475 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.056) 0:00:27.532 ***** <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.9.213> (0, b'/root\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765 `" && echo ansible-tmp-1739471427.564381-12503-215890478711765="` echo /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765 `" ) && sleep 0'"'"'' <10.31.9.213> (0, b'ansible-tmp-1739471427.564381-12503-215890478711765=/root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.9.213> PUT /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp2c4jgovr TO /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/AnsiballZ_command.py <10.31.9.213> 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/4e604e4e59"' '[10.31.9.213]' <10.31.9.213> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11007giq8v0v0/tmp2c4jgovr /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/AnsiballZ_command.py\n', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/ /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' -tt 10.31.9.213 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/AnsiballZ_command.py && sleep 0'"'"'' <10.31.9.213> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:30:27.823615", "end": "2025-02-13 13:30:27.877462", "delta": "0:00:00.053847", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.9.213 closed.\r\n') <10.31.9.213> ESTABLISH SSH CONNECTION FOR USER: None <10.31.9.213> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/4e604e4e59"' 10.31.9.213 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471427.564381-12503-215890478711765/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.9.213> (0, b'', b'') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.053847", "end": "2025-02-13 13:30:27.877462", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:30:27.823615" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:27 -0500 (0:00:00.405) 0:00:27.937 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 13:30:27 -0500 (0:00:00.037) 0:00:27.975 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.06s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.90s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.89s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.89s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.86s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.23s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.09s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.76s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.76s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.55s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.50s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.48s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.44s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.44s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.40s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.40s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.38s /tmp/collections-c82/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143