ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-NUj.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-NUj.yml as it did not pass its verify_file() method Parsed /tmp/inventory-NUj.yml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_no_auto_renew.yml ********************************************** 2 plays in /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Tuesday 11 February 2025 17:24:43 -0500 (0:00:00.025) 0:00:00.025 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449 `" && echo ansible-tmp-1739312683.7173398-11958-144752700170449="` echo /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312683.7173398-11958-144752700170449=/root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449\n', b'') Attempting python interpreter discovery <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.40.153> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.40.153> (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.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmppn2lwwg4 TO /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmppn2lwwg4 /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/ /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "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_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_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_hostnqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "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_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "24", "second": "44", "epoch": "1739312684", "date": "2025-02-11", "time": "17:24:44", "iso8601_micro": "2025-02-11T22:24:44.552297Z", "iso8601": "2025-02-11T22:24:44Z", "iso8601_basic": "20250211T172444552297", "iso8601_basic_short": "20250211T172444", "tz": "EST", "tz_offset": "-0500"}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_interfaces": ["lo", "eth0"], "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"}, "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_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "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_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_is_chroot": false, "ansible_fips": false, "ansible_local": {}, "ansible_iscsi_iqn": "", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 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.46.166 55142 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_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_memtotal_mb": 3539, "ansible_memfree_mb": 2758, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 781, "free": 2758}, "nocache": {"free": 3308, "used": 231}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "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": 355, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263559794688, "block_size": 4096, "block_total": 65533179, "block_available": 64345653, "block_used": 1187526, "inode_total": 131071472, "inode_available": 130995945, "inode_used": 75527, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_lsb": {}, "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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312683.7173398-11958-144752700170449/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 11 February 2025 17:24:44 -0500 (0:00:01.085) 0:00:01.111 ****** included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 11 February 2025 17:24:44 -0500 (0:00:00.025) 0:00:01.136 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 11 February 2025 17:24:44 -0500 (0:00:00.042) 0:00:01.179 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364 `" && echo ansible-tmp-1739312684.8848445-12117-39620431521364="` echo /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312684.8848445-12117-39620431521364=/root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp3o45yosl TO /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp3o45yosl /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/ /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312684.8848445-12117-39620431521364/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 11 February 2025 17:24:45 -0500 (0:00:00.539) 0:00:01.719 ****** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Tuesday 11 February 2025 17:24:45 -0500 (0:00:00.126) 0:00:01.845 ****** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 11 February 2025 17:24:45 -0500 (0:00:00.154) 0:00:01.999 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115 `" && echo ansible-tmp-1739312685.789427-12226-271853395987115="` echo /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312685.789427-12226-271853395987115=/root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp6blijhu5 TO /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp6blijhu5 /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/ /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (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, "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, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312685.789427-12226-271853395987115/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Tuesday 11 February 2025 17:24:48 -0500 (0:00:03.099) 0:00:05.099 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921 `" && echo ansible-tmp-1739312688.8491387-12330-69263547472921="` echo /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312688.8491387-12330-69263547472921=/root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpzbz_ciud TO /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpzbz_ciud /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/ /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (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, "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, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312688.8491387-12330-69263547472921/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Tuesday 11 February 2025 17:24:51 -0500 (0:00:02.856) 0:00:07.955 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473 `" && echo ansible-tmp-1739312691.6723053-12427-206959365504473="` echo /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312691.6723053-12427-206959365504473=/root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpzp41lwu7 TO /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpzp41lwu7 /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/ /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (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, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312691.6723053-12427-206959365504473/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Tuesday 11 February 2025 17:24:52 -0500 (0:00:00.546) 0:00:08.501 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394 `" && echo ansible-tmp-1739312692.2270513-12455-23830981213394="` echo /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312692.2270513-12455-23830981213394=/root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp506wkazf TO /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp506wkazf /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/ /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (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, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312692.2270513-12455-23830981213394/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Tuesday 11 February 2025 17:24:52 -0500 (0:00:00.390) 0:00:08.892 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409 `" && echo ansible-tmp-1739312692.6065013-12471-15143814968409="` echo /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312692.6065013-12471-15143814968409=/root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/systemd.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpgybv__sm TO /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/AnsiballZ_systemd.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpgybv__sm /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/AnsiballZ_systemd.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/ /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (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": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8641", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8641", "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=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3952640", "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": "dbus.socket system.slice sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "shutdown.target multi-user.target", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "InactiveExitTimestamp": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "ActiveEnterTimestamp": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "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": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "no_block": false, "force": null, "masked": null, "user": null, "scope": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312692.6065013-12471-15143814968409/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Before": "shutdown.target multi-user.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": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "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": "8641", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; 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": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "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": "8641", "MemoryAccounting": "yes", "MemoryCurrent": "3952640", "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": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "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": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Tuesday 11 February 2025 17:24:53 -0500 (0:00:00.728) 0:00:09.621 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769 `" && echo ansible-tmp-1739312693.3933206-12492-100133469603769="` echo /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312693.3933206-12492-100133469603769=/root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpc0al4zc_ TO /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpc0al4zc_ /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/ /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "mycert_no_auto_renew", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "auto_renew": false, "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"], "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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312693.3933206-12492-100133469603769/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') changed: [managed-node2] => (item={'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": false, "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_no_auto_renew", "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": { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } } MSG: Certificate requested (new). <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763 `" && echo ansible-tmp-1739312694.3292582-12492-201918751928763="` echo /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312694.3292582-12492-201918751928763=/root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpp8jwlm4f TO /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpp8jwlm4f /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/ /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "defaultcert", "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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312694.3292582-12492-201918751928763/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') changed: [managed-node2] => (item={'name': 'defaultcert', '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": "defaultcert", "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": "defaultcert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Tuesday 11 February 2025 17:24:54 -0500 (0:00:01.680) 0:00:11.301 ****** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['cert', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['key', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=['ca', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.093) 0:00:11.395 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.055) 0:00:11.451 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.044) 0:00:11.495 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.051) 0:00:11.547 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110 `" && echo ansible-tmp-1739312695.2353826-12565-38086155059110="` echo /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312695.2353826-12565-38086155059110=/root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpnbhg5xor TO /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpnbhg5xor /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/ /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"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_fips": false, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_apparmor": {"status": "disabled"}, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_lsb": {}, "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "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": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "24", "second": "55", "epoch": "1739312695", "date": "2025-02-11", "time": "17:24:55", "iso8601_micro": "2025-02-11T22:24:55.644755Z", "iso8601": "2025-02-11T22:24:55Z", "iso8601_basic": "20250211T172455644755", "iso8601_basic_short": "20250211T172455", "tz": "EST", "tz_offset": "-0500"}, "ansible_local": {}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "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_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 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.46.166 55142 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_is_chroot": false, "ansible_hostnqn": "", "ansible_iscsi_iqn": "", "ansible_fibre_channel_wwn": [], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_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_memtotal_mb": 3539, "ansible_memfree_mb": 2758, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 781, "free": 2758}, "nocache": {"free": 3308, "used": 231}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "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": 366, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263559823360, "block_size": 4096, "block_total": 65533179, "block_available": 64345660, "block_used": 1187519, "inode_total": 131071472, "inode_available": 130995939, "inode_used": 75533, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_interfaces": ["eth0", "lo"], "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"}, "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_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "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_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_service_mgr": "systemd", "ansible_pkg_mgr": "dnf", "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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312695.2353826-12565-38086155059110/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.679) 0:00:12.227 ****** included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.084) 0:00:12.311 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:24:55 -0500 (0:00:00.018) 0:00:12.330 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:24:56 -0500 (0:00:00.044) 0:00:12.375 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:24:56 -0500 (0:00:00.037) 0:00:12.412 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:24:56 -0500 (0:00:00.035) 0:00:12.447 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942 `" && echo ansible-tmp-1739312696.1912699-12638-41014500802942="` echo /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312696.1912699-12638-41014500802942=/root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp3jj43bep TO /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp3jj43bep /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/ /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (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, "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, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312696.1912699-12638-41014500802942/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:24:58 -0500 (0:00:02.847) 0:00:15.295 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695 `" && echo ansible-tmp-1739312699.0026627-12736-89777022049695="` echo /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312699.0026627-12736-89777022049695=/root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpmyuri09e TO /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpmyuri09e /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/ /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.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": 1739312694.044093, "mtime": 1739312694.0410929, "ctime": 1739312694.0410929, "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": "f47655d63f1f4400000c7e7ca8c86b53ddf1ed62", "mimetype": "text/plain", "charset": "us-ascii", "version": "2245665446", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312699.0026627-12736-89777022049695/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt" } }, "stat": { "atime": 1739312694.044093, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f47655d63f1f4400000c7e7ca8c86b53ddf1ed62", "ctime": 1739312694.0410929, "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": 1739312694.0410929, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2245665446", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.367) 0:00:15.662 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.039) 0:00:15.702 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.043) 0:00:15.746 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.048) 0:00:15.794 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704 `" && echo ansible-tmp-1739312699.5019681-12758-56474473844704="` echo /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312699.5019681-12758-56474473844704=/root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpk_ajf0dc TO /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpk_ajf0dc /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/ /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_no_auto_renew.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": 1739312694.0000927, "mtime": 1739312694.0410929, "ctime": 1739312694.0410929, "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": "b9521152956e72097de301845555fbd87dd27101", "mimetype": "text/plain", "charset": "us-ascii", "version": "1697554293", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312699.5019681-12758-56474473844704/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key" } }, "stat": { "atime": 1739312694.0000927, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b9521152956e72097de301845555fbd87dd27101", "ctime": 1739312694.0410929, "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": 1739312694.0410929, "nlink": 1, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1697554293", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.368) 0:00:16.162 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.038) 0:00:16.200 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:24:59 -0500 (0:00:00.046) 0:00:16.247 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660 `" && echo ansible-tmp-1739312699.9641385-12772-126865257462660="` echo /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312699.9641385-12772-126865257462660=/root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpaccwmszh TO /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpaccwmszh /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/ /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "B1:35:48:A9:C0:0A:A7:96:30:10:73:82:5D:CB:45:5A:D9:1F:C3:7C:00:74:39:79:29:5B:0C:42:3D:96:FB:4D:FA:2E:41:0C:D3:F9:BC:4D:11:3F:99:1F:DC:F6:FC:A5:63:09:AD:C0:0B:16:46:43:AF:2B:2C:15:54:B6:18:EC:C4:D8:6A:8B:7D:4B:B2:08:0A:67:11:CD:01:44:57:FA:C5:0A:E6:D6:6A:BF:FC:3B:18:EB:FB:F6:F0:45:35:9E:39:8C:DB:0B:9F:5F:99:D9:FC:AE:AB:C7:95:47:A7:01:02:A9:AE:F1:23:94:23:97:24:1B:94:B8:46:A7:0A:C4:58:8A:86:73:C8:7B:48:23:5E:CD:34:92:2D:60:4C:A5:95:CF:E4:9E:D7:EE:96:F7:4F:DC:60:E5:3F:6C:6B:7E:7C:7E:BA:4E:76:52:E8:37:82:19:9A:58:3E:E4:14:FD:F2:A3:BA:52:06:E5:AF:36:7E:C7:0C:05:DE:C1:95:C5:BF:E1:C5:24:FD:9B:57:3A:A9:78:48:82:43:0B:D7:16:84:F1:15:F3:21:09:23:7C:36:A5:0D:D8:ED:9A:5F:84:08:DC:AA:DA:4B:76:34:75:D5:AB:A9:72:A6:DA:30:57:A0:61:D8:4E:6A:EE:7C:4E:3D:77:ED:C2:9A:4C:9C:51"}, "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": "1B:E5:CC:86:D3:CA:CF:AC:57:40:BE:53:11:33:5F:C9:A7:DE:48:F5"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_no_auto_renew.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312699.9641385-12772-126865257462660/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": "1B:E5:CC:86:D3:CA:CF:AC:57:40:BE:53:11:33:5F:C9:A7:DE:48:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B1:35:48:A9:C0:0A:A7:96:30:10:73:82:5D:CB:45:5A:D9:1F:C3:7C:00:74:39:79:29:5B:0C:42:3D:96:FB:4D:FA:2E:41:0C:D3:F9:BC:4D:11:3F:99:1F:DC:F6:FC:A5:63:09:AD:C0:0B:16:46:43:AF:2B:2C:15:54:B6:18:EC:C4:D8:6A:8B:7D:4B:B2:08:0A:67:11:CD:01:44:57:FA:C5:0A:E6:D6:6A:BF:FC:3B:18:EB:FB:F6:F0:45:35:9E:39:8C:DB:0B:9F:5F:99:D9:FC:AE:AB:C7:95:47:A7:01:02:A9:AE:F1:23:94:23:97:24:1B:94:B8:46:A7:0A:C4:58:8A:86:73:C8:7B:48:23:5E:CD:34:92:2D:60:4C:A5:95:CF:E4:9E:D7:EE:96:F7:4F:DC:60:E5:3F:6C:6B:7E:7C:7E:BA:4E:76:52:E8:37:82:19:9A:58:3E:E4:14:FD:F2:A3:BA:52:06:E5:AF:36:7E:C7:0C:05:DE:C1:95:C5:BF:E1:C5:24:FD:9B:57:3A:A9:78:48:82:43:0B:D7:16:84:F1:15:F3:21:09:23:7C:36:A5:0D:D8:ED:9A:5F:84:08:DC:AA:DA:4B:76:34:75:D5:AB:A9:72:A6:DA:30:57:A0:61:D8:4E:6A:EE:7C:4E:3D:77:ED:C2:9A:4C:9C:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_no_auto_renew.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.582) 0:00:16.830 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": "1B:E5:CC:86:D3:CA:CF:AC:57:40:BE:53:11:33:5F:C9:A7:DE:48:F5" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B1:35:48:A9:C0:0A:A7:96:30:10:73:82:5D:CB:45:5A:D9:1F:C3:7C:00:74:39:79:29:5B:0C:42:3D:96:FB:4D:FA:2E:41:0C:D3:F9:BC:4D:11:3F:99:1F:DC:F6:FC:A5:63:09:AD:C0:0B:16:46:43:AF:2B:2C:15:54:B6:18:EC:C4:D8:6A:8B:7D:4B:B2:08:0A:67:11:CD:01:44:57:FA:C5:0A:E6:D6:6A:BF:FC:3B:18:EB:FB:F6:F0:45:35:9E:39:8C:DB:0B:9F:5F:99:D9:FC:AE:AB:C7:95:47:A7:01:02:A9:AE:F1:23:94:23:97:24:1B:94:B8:46:A7:0A:C4:58:8A:86:73:C8:7B:48:23:5E:CD:34:92:2D:60:4C:A5:95:CF:E4:9E:D7:EE:96:F7:4F:DC:60:E5:3F:6C:6B:7E:7C:7E:BA:4E:76:52:E8:37:82:19:9A:58:3E:E4:14:FD:F2:A3:BA:52:06:E5:AF:36:7E:C7:0C:05:DE:C1:95:C5:BF:E1:C5:24:FD:9B:57:3A:A9:78:48:82:43:0B:D7:16:84:F1:15:F3:21:09:23:7C:36:A5:0D:D8:ED:9A:5F:84:08:DC:AA:DA:4B:76:34:75:D5:AB:A9:72:A6:DA:30:57:A0:61:D8:4E:6A:EE:7C:4E:3D:77:ED:C2:9A:4C:9C:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.063) 0:00:16.893 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.076) 0:00:16.969 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.057) 0:00:17.027 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.063) 0:00:17.090 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.064) 0:00:17.155 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:25:00 -0500 (0:00:00.057) 0:00:17.213 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826 `" && echo ansible-tmp-1739312700.9284408-12842-177026447525826="` echo /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312700.9284408-12842-177026447525826=/root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpswg5c8kv TO /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpswg5c8kv /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/ /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "no", "stderr": "", "rc": 0, "start": "2025-02-11 17:25:01.364753", "end": "2025-02-11 17:25:01.420204", "delta": "0:00:00.055451", "changed": true, "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "warn": 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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312700.9284408-12842-177026447525826/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.055451", "end": "2025-02-11 17:25:01.420204", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-11 17:25:01.364753" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.624) 0:00:17.837 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.047) 0:00:17.884 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.014) 0:00:17.899 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.036) 0:00:17.935 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.039) 0:00:17.974 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:25:01 -0500 (0:00:00.038) 0:00:18.013 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945 `" && echo ansible-tmp-1739312701.798338-12899-131716889976945="` echo /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312701.798338-12899-131716889976945=/root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp06tvyn17 TO /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp06tvyn17 /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/ /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (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, "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, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312701.798338-12899-131716889976945/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:25:04 -0500 (0:00:03.044) 0:00:21.058 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465 `" && echo ansible-tmp-1739312704.7654073-13258-49986017389465="` echo /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312704.7654073-13258-49986017389465=/root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpn3kd6p9v TO /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpn3kd6p9v /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/ /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/defaultcert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718648, "dev": 51713, "nlink": 1, "atime": 1739312694.825094, "mtime": 1739312694.822094, "ctime": 1739312694.822094, "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": "382762795df6dcc388239c21639a8aa81bff1959", "mimetype": "text/plain", "charset": "us-ascii", "version": "2243114017", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/defaultcert.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312704.7654073-13258-49986017389465/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/defaultcert.crt" } }, "stat": { "atime": 1739312694.825094, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "382762795df6dcc388239c21639a8aa81bff1959", "ctime": 1739312694.822094, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739312694.822094, "nlink": 1, "path": "/etc/pki/tls/certs/defaultcert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2243114017", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.386) 0:00:21.444 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.057) 0:00:21.502 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.052) 0:00:21.554 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.044) 0:00:21.599 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764 `" && echo ansible-tmp-1739312705.3036215-13286-62595151651764="` echo /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312705.3036215-13286-62595151651764=/root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpsaft2gg3 TO /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpsaft2gg3 /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/ /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/defaultcert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718647, "dev": 51713, "nlink": 1, "atime": 1739312694.7790937, "mtime": 1739312694.822094, "ctime": 1739312694.822094, "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": "66af83f03219116ea41d3b14b86d81abaa87a7f4", "mimetype": "text/plain", "charset": "us-ascii", "version": "186709228", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/defaultcert.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312705.3036215-13286-62595151651764/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/defaultcert.key" } }, "stat": { "atime": 1739312694.7790937, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "66af83f03219116ea41d3b14b86d81abaa87a7f4", "ctime": 1739312694.822094, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739312694.822094, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "186709228", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.383) 0:00:21.982 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.065) 0:00:22.048 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:25:05 -0500 (0:00:00.096) 0:00:22.144 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545 `" && echo ansible-tmp-1739312705.9319344-13331-42359286854545="` echo /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312705.9319344-13331-42359286854545=/root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp4j65d4_x TO /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmp4j65d4_x /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/ /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "BE:3F:84:21:02:07:B6:52:94:59:23:61:78:3D:37:B8:B8:83:4B:88:BE:50:9E:C6:34:A4:95:B6:E0:71:72:D2:A5:87:33:70:CE:53:C9:0E:62:EC:F7:43:94:ED:8F:44:3F:02:AD:69:13:4C:77:BD:94:CD:9C:13:63:B2:B2:FF:C1:34:AF:D6:2E:ED:6F:A6:4D:DA:CF:04:41:0C:7E:2E:51:DF:40:D7:C7:BE:CA:8B:71:08:34:12:3A:36:17:55:0B:A1:83:79:6C:CD:24:27:B1:F0:3D:E2:C3:AB:E5:B8:D5:F3:50:C9:4C:BE:98:53:7A:50:54:68:95:55:51:EB:39:2B:AB:0C:33:82:48:FC:B2:D8:8A:14:AC:D8:1D:BE:33:35:1F:8E:F4:59:98:38:5B:4B:D6:F6:89:16:08:0F:95:1A:6A:A9:68:3E:A0:79:DC:6D:CB:EF:C5:BC:8A:32:EE:4F:70:21:A6:19:84:2C:6B:6A:24:C4:93:B5:D3:4B:A8:AA:C0:76:31:87:C1:45:88:4F:12:B2:C9:E5:2E:E6:F8:C0:1D:AF:F0:67:10:7D:80:28:E9:F3:A1:92:03:DF:BD:2D:C5:60:38:26:99:C3:AC:26:BA:E8:2C:C0:50:BE:20:07:16:00:BB:7B:2E:3E:64:44:6F:F2:9D:9E:7C:D6"}, "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:D4:AD:3E:57:AB:D7:B6:F1:FD:58:BB:6F:26:71:6D:11:7B:B9:CD"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/defaultcert.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312705.9319344-13331-42359286854545/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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:D4:AD:3E:57:AB:D7:B6:F1:FD:58:BB:6F:26:71:6D:11:7B:B9:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BE:3F:84:21:02:07:B6:52:94:59:23:61:78:3D:37:B8:B8:83:4B:88:BE:50:9E:C6:34:A4:95:B6:E0:71:72:D2:A5:87:33:70:CE:53:C9:0E:62:EC:F7:43:94:ED:8F:44:3F:02:AD:69:13:4C:77:BD:94:CD:9C:13:63:B2:B2:FF:C1:34:AF:D6:2E:ED:6F:A6:4D:DA:CF:04:41:0C:7E:2E:51:DF:40:D7:C7:BE:CA:8B:71:08:34:12:3A:36:17:55:0B:A1:83:79:6C:CD:24:27:B1:F0:3D:E2:C3:AB:E5:B8:D5:F3:50:C9:4C:BE:98:53:7A:50:54:68:95:55:51:EB:39:2B:AB:0C:33:82:48:FC:B2:D8:8A:14:AC:D8:1D:BE:33:35:1F:8E:F4:59:98:38:5B:4B:D6:F6:89:16:08:0F:95:1A:6A:A9:68:3E:A0:79:DC:6D:CB:EF:C5:BC:8A:32:EE:4F:70:21:A6:19:84:2C:6B:6A:24:C4:93:B5:D3:4B:A8:AA:C0:76:31:87:C1:45:88:4F:12:B2:C9:E5:2E:E6:F8:C0:1D:AF:F0:67:10:7D:80:28:E9:F3:A1:92:03:DF:BD:2D:C5:60:38:26:99:C3:AC:26:BA:E8:2C:C0:50:BE:20:07:16:00:BB:7B:2E:3E:64:44:6F:F2:9D:9E:7C:D6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/defaultcert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.544) 0:00:22.689 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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:D4:AD:3E:57:AB:D7:B6:F1:FD:58:BB:6F:26:71:6D:11:7B:B9:CD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BE:3F:84:21:02:07:B6:52:94:59:23:61:78:3D:37:B8:B8:83:4B:88:BE:50:9E:C6:34:A4:95:B6:E0:71:72:D2:A5:87:33:70:CE:53:C9:0E:62:EC:F7:43:94:ED:8F:44:3F:02:AD:69:13:4C:77:BD:94:CD:9C:13:63:B2:B2:FF:C1:34:AF:D6:2E:ED:6F:A6:4D:DA:CF:04:41:0C:7E:2E:51:DF:40:D7:C7:BE:CA:8B:71:08:34:12:3A:36:17:55:0B:A1:83:79:6C:CD:24:27:B1:F0:3D:E2:C3:AB:E5:B8:D5:F3:50:C9:4C:BE:98:53:7A:50:54:68:95:55:51:EB:39:2B:AB:0C:33:82:48:FC:B2:D8:8A:14:AC:D8:1D:BE:33:35:1F:8E:F4:59:98:38:5B:4B:D6:F6:89:16:08:0F:95:1A:6A:A9:68:3E:A0:79:DC:6D:CB:EF:C5:BC:8A:32:EE:4F:70:21:A6:19:84:2C:6B:6A:24:C4:93:B5:D3:4B:A8:AA:C0:76:31:87:C1:45:88:4F:12:B2:C9:E5:2E:E6:F8:C0:1D:AF:F0:67:10:7D:80:28:E9:F3:A1:92:03:DF:BD:2D:C5:60:38:26:99:C3:AC:26:BA:E8:2C:C0:50:BE:20:07:16:00:BB:7B:2E:3E:64:44:6F:F2:9D:9E:7C:D6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222454Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.048) 0:00:22.738 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.058) 0:00:22.796 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.059) 0:00:22.855 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.058) 0:00:22.914 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.063) 0:00:22.978 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:25:06 -0500 (0:00:00.048) 0:00:23.026 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732 `" && echo ansible-tmp-1739312706.739644-13366-219824324288732="` echo /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312706.739644-13366-219824324288732=/root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpdnskv_ve TO /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11909oh4szc9s/tmpdnskv_ve /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/ /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-11 17:25:06.986460", "end": "2025-02-11 17:25:07.042434", "delta": "0:00:00.055974", "changed": true, "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "warn": 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.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312706.739644-13366-219824324288732/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.055974", "end": "2025-02-11 17:25:07.042434", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-11 17:25:06.986460" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:25:07 -0500 (0:00:00.421) 0:00:23.448 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=49 changed=1 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 Tuesday 11 February 2025 17:25:07 -0500 (0:00:00.038) 0:00:23.486 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.10s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 3.04s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.86s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.85s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.68s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.09s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.73s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.68s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Retrieve auto-renew flag ------------------------------------------------ 0.62s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.58s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.55s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.54s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.54s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.42s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.39s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.39s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.38s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.37s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.15s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19