ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-8qw executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults host_list declined parsing /tmp/inventory-3i5.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-3i5.yml as it did not pass its verify_file() method Parsed /tmp/inventory-3i5.yml inventory source with yaml plugin running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_no_auto_renew.yml ********************************************** 2 plays in /tmp/collections-8qw/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-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Thursday 13 February 2025 13:53:29 -0500 (0:00:00.011) 0:00:00.011 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807 `" && echo ansible-tmp-1739472809.6732764-11384-102141651947807="` echo /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472809.6732764-11384-102141651947807=/root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807\n', b'') Attempting python interpreter discovery <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'python3.12'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.11'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.10'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.9'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.8'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.10.251> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.10.251> (0, b'{"platform_dist_result": ["centos", "8", ""], "osrelease_content": "NAME=\\"CentOS Stream\\"\\nVERSION=\\"8\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"8\\"\\nPLATFORM_ID=\\"platform:el8\\"\\nPRETTY_NAME=\\"CentOS Stream 8\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:8\\"\\nHOME_URL=\\"https://centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugzilla.redhat.com/\\"\\nREDHAT_SUPPORT_PRODUCT=\\"Red Hat Enterprise Linux 8\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"CentOS Stream\\"\\n"}\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpvhix4u35 TO /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/AnsiballZ_setup.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpvhix4u35 /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/AnsiballZ_setup.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/ /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"ansible_facts": {"ansible_hostnqn": "", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_loadavg": {"1m": 0.77, "5m": 0.38, "15m": 0.17}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "53", "second": "30", "epoch": "1739472810", "epoch_int": "1739472810", "date": "2025-02-13", "time": "13:53:30", "iso8601_micro": "2025-02-13T18:53:30.473825Z", "iso8601": "2025-02-13T18:53:30Z", "iso8601_basic": "20250213T135330473825", "iso8601_basic_short": "20250213T135330", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_fibre_channel_wwn": [], "ansible_fips": false, "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_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node3", "ansible_hostname": "managed-node3", "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "4776d26fbe6c49c686c2da9d53d0e54b", "ansible_iscsi_iqn": "", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_lsb": {}, "ansible_apparmor": {"status": "disabled"}, "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": "AAAAB3NzaC1kc3MAAACBAKoK186DI3qRoeW5fNV5SzVrOZ8Xbb8CfdNeJpjtUmRLRCCp8UVvarWHrnnmlcIH/QRYwmRe9J45YGUPEcR1dPE2pYMCwh5EKY+IDeU7tprVYvjYYqVP2vBL+lFiBvnkmwyou5xMXsAj0vjRRdbYFS4iTSsaLcn/wioeSkdRmvx7AAAAFQCxrkcSbOObQI5Lma5asEukmlS5LwAAAIBneLujmHt8GICMqOnG+81ZB7H2orjjhC+KD7LVObLTJ94gK2TKm05c4DwVhL+TKvR3c6t4rMDwgR7E8P8WhKyKosQKkkhmSHhl80MnboXNdBf1l7bbj8ENM6VQEQG8w5KKd1AIePY82unBx+EyeD72QRTIsL8dIJVw5DOg4bAf5QAAAIAs24H9tuz6Fbu6NUd4pjE/v9un9jL3H/L6GyIqD2a+IY23ErH09XLUj8J8oF7nj+JlvO0wJKqhZfg98SyjgSre+72sOzzgoJ6a/7m5X84sids50ybGQ63W9Sry8I5r17qvFfUsS/UqNBNbugeLxhjPE3yc8+IKZb0NqKtY4iYTBg==", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCrAWycCsMVsUvPlO9Bvb0gWbI5aBU4uhlesIF7XwwBmfD8YeYUYgJ+pkFvWvFAH4VLhHumL3CpBuCJs5ZLdaKIEkW6JHwC7OeD2L/WwJONR6Q0sjBYX3MMdDV7ktGU/bbcZafx50q5swRnJm7hFM0UQUHkNTvGNnrLyc3rxjarzlGznuF7aa+EbtWWF2m6Ui+mWmOuBDSbARW5rYeHxzA8M6mi62YUGVbQf7cDw3FoCfAZwj4BpgkDmk0nWqAuJvx4863yC+xreMRJiQPaTkRF9Pvza3TLKHdFyAGzrZUtNo62gtpUWltYrVFG4ScjkPOdri/VCSHnyHLJm92NejRdssMpPWSEZbssnTZWFifz9idqXoxsefk9WiOp6nYn9fUXuKJ7MXhLxlYc8oNeBHFAiUFFb+jI6Q/BobPQS47GMXczntqhm/R5Jdo5N6EAycxs5DnErUC9sQE/1+RlxIpta3I3YcyZCkZ7+2mbVGI+2c66MgMZ/70ywI3J6BwfWbM=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJUhuS6PvocvXx5NznawWaJ3KNjfDBVX21H61+hAoW5gAdi5vzrDl+xxcAHSpFRH8IT00SSeomWCFqCQINev0rw=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGET+PV1Ls8fWlfq8WRtNYDTSf3EuLRrJ5XZk38eovsw", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_is_chroot": false, "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_pkg_mgr": "dnf", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.10.246 56714 10.31.10.251 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.10.246 56714 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_interfaces": ["eth0", "lo"], "ansible_eth0": {"device": "eth0", "macaddress": "12:1d:79:f3:f2:8f", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.10.251", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22"}, "ipv6": [{"address": "fe80::101d:79ff:fef3:f28f", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.8.1", "interface": "eth0", "address": "10.31.10.251", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "macaddress": "12:1d:79:f3:f2:8f", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.10.251"], "ansible_all_ipv6_addresses": ["fe80::101d:79ff:fef3:f28f"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.10.251", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::101d:79ff:fef3:f28f"]}, "ansible_local": {}, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2756, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 783, "free": 2756}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec24c9c3-766c-0816-e26f-1929a46cc7be", "ansible_product_uuid": "ec24c9c3-766c-0816-e26f-1929a46cc7be", "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": 335, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263560970240, "block_size": 4096, "block_total": 65533179, "block_available": 64345940, "block_used": 1187239, "inode_total": 131071472, "inode_available": 130995965, "inode_used": 75507, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": [], "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472809.6732764-11384-102141651947807/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:53:30 -0500 (0:00:01.184) 0:00:01.195 ***** included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:53:30 -0500 (0:00:00.033) 0:00:01.229 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:53:30 -0500 (0:00:00.033) 0:00:01.262 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079 `" && echo ansible-tmp-1739472810.923446-11483-256390131971079="` echo /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472810.923446-11483-256390131971079=/root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpmlg0aef2 TO /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/AnsiballZ_stat.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpmlg0aef2 /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/AnsiballZ_stat.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/ /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472810.923446-11483-256390131971079/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:53:31 -0500 (0:00:00.447) 0:00:01.710 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:53:31 -0500 (0:00:00.031) 0:00:01.742 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:53:31 -0500 (0:00:00.047) 0:00:01.790 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590 `" && echo ansible-tmp-1739472811.4823463-11515-130978454895590="` echo /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472811.4823463-11515-130978454895590=/root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmp5tocln9v TO /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/AnsiballZ_dnf.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmp5tocln9v /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/AnsiballZ_dnf.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/ /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-pyasn1", "python3-cryptography", "python3-dbus"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472811.4823463-11515-130978454895590/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:53:34 -0500 (0:00:03.137) 0:00:04.927 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475 `" && echo ansible-tmp-1739472814.6152315-11576-108872029188475="` echo /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472814.6152315-11576-108872029188475=/root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpj_8g8fv9 TO /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/AnsiballZ_dnf.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpj_8g8fv9 /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/AnsiballZ_dnf.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/ /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["certmonger"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472814.6152315-11576-108872029188475/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:53:37 -0500 (0:00:02.959) 0:00:07.887 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062 `" && echo ansible-tmp-1739472817.6016002-11641-112113838588062="` echo /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472817.6016002-11641-112113838588062=/root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpdsmiehsm TO /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/AnsiballZ_file.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpdsmiehsm /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/AnsiballZ_file.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/ /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"path": "/etc/certmonger//pre-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//pre-scripts"}, "after": {"path": "/etc/certmonger//pre-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//pre-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//pre-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472817.6016002-11641-112113838588062/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:53:38 -0500 (0:00:00.525) 0:00:08.412 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808 `" && echo ansible-tmp-1739472818.1002297-11653-42325971529808="` echo /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472818.1002297-11653-42325971529808=/root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpxsxs1b21 TO /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/AnsiballZ_file.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpxsxs1b21 /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/AnsiballZ_file.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/ /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/AnsiballZ_file.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"path": "/etc/certmonger//post-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//post-scripts"}, "after": {"path": "/etc/certmonger//post-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//post-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//post-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472818.1002297-11653-42325971529808/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:53:38 -0500 (0:00:00.382) 0:00:08.795 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629 `" && echo ansible-tmp-1739472818.4844346-11673-236206379392629="` echo /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472818.4844346-11673-236206379392629=/root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmplftgmei6 TO /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/AnsiballZ_systemd.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmplftgmei6 /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/AnsiballZ_systemd.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/ /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"name": "certmonger", "changed": false, "status": {"Type": "dbus", "Restart": "no", "PIDFile": "/run/certmonger.pid", "NotifyAccess": "none", "RestartUSec": "100ms", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "RuntimeMaxUSec": "infinity", "WatchdogUSec": "0", "WatchdogTimestamp": "Thu 2025-02-13 13:52:45 EST", "WatchdogTimestampMonotonic": "290383956", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "9132", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Thu 2025-02-13 13:52:45 EST", "ExecMainStartTimestampMonotonic": "290373257", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9132", "ExecMainCode": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:52:45 EST] ; stop_time=[n/a] ; pid=9132 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3817472", "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 sysinit.target system.slice", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "shutdown.target multi-user.target", "After": "syslog.target basic.target network.target systemd-journald.socket sysinit.target dbus.service system.slice dbus.socket", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Thu 2025-02-13 13:52:45 EST", "StateChangeTimestampMonotonic": "290383959", "InactiveExitTimestamp": "Thu 2025-02-13 13:52:45 EST", "InactiveExitTimestampMonotonic": "290373305", "ActiveEnterTimestamp": "Thu 2025-02-13 13:52:45 EST", "ActiveEnterTimestampMonotonic": "290383959", "ActiveExitTimestampMonotonic": "0", "InactiveEnterTimestampMonotonic": "0", "CanStart": "yes", "CanStop": "yes", "CanReload": "no", "CanIsolate": "no", "CanFreeze": "yes", "StopWhenUnneeded": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "AllowIsolate": "no", "DefaultDependencies": "yes", "OnFailureJobMode": "replace", "IgnoreOnIsolate": "no", "NeedDaemonReload": "no", "JobTimeoutUSec": "infinity", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "ConditionResult": "yes", "AssertResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:52:45 EST", "ConditionTimestampMonotonic": "290372296", "AssertTimestamp": "Thu 2025-02-13 13:52:45 EST", "AssertTimestampMonotonic": "290372297", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "ee66735111484b53905897bf7443324b", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "scope": "system", "no_block": false, "force": null, "masked": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472818.4844346-11673-236206379392629/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": "system", "state": "started" } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:52:45 EST", "ActiveEnterTimestampMonotonic": "290383959", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target basic.target network.target systemd-journald.socket sysinit.target dbus.service system.slice dbus.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:52:45 EST", "AssertTimestampMonotonic": "290372297", "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": "Thu 2025-02-13 13:52:45 EST", "ConditionTimestampMonotonic": "290372296", "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": "9132", "ExecMainStartTimestamp": "Thu 2025-02-13 13:52:45 EST", "ExecMainStartTimestampMonotonic": "290373257", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:52:45 EST] ; stop_time=[n/a] ; pid=9132 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 13:52:45 EST", "InactiveExitTimestampMonotonic": "290373305", "InvocationID": "ee66735111484b53905897bf7443324b", "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": "9132", "MemoryAccounting": "yes", "MemoryCurrent": "3817472", "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 sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2025-02-13 13:52:45 EST", "StateChangeTimestampMonotonic": "290383959", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:52:45 EST", "WatchdogTimestampMonotonic": "290383956", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:53:39 -0500 (0:00:00.727) 0:00:09.522 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007 `" && echo ansible-tmp-1739472819.2510133-11688-234543420212007="` echo /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472819.2510133-11688-234543420212007=/root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmp24ddrfls TO /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/AnsiballZ_certificate_request.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmp24ddrfls /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/AnsiballZ_certificate_request.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/ /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.251> (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.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472819.2510133-11688-234543420212007/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') changed: [managed-node3] => (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.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929 `" && echo ansible-tmp-1739472820.148912-11688-115116070389929="` echo /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472820.148912-11688-115116070389929=/root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpld9dswqv TO /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/AnsiballZ_certificate_request.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpld9dswqv /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/AnsiballZ_certificate_request.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/ /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.10.251> (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.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472820.148912-11688-115116070389929/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') changed: [managed-node3] => (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-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:53:40 -0500 (0:00:01.580) 0:00:11.103 ***** skipping: [managed-node3] => (item=['cert', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(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-node3] => (item=['cert', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(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-node3] => (item=['key', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'mycert_no_auto_renew', 'dns': 'www.example.com', 'ca': 'self-sign', 'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(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-node3] => (item=['ca', {'name': 'defaultcert', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.057) 0:00:11.160 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.047) 0:00:11.208 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.052) 0:00:11.260 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.062) 0:00:11.323 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155 `" && echo ansible-tmp-1739472820.9920082-11765-87728740540155="` echo /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472820.9920082-11765-87728740540155=/root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpa3zb6wrb TO /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/AnsiballZ_setup.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpa3zb6wrb /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/AnsiballZ_setup.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/ /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.10.251> (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_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node3", "ansible_hostname": "managed-node3", "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "4776d26fbe6c49c686c2da9d53d0e54b", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKoK186DI3qRoeW5fNV5SzVrOZ8Xbb8CfdNeJpjtUmRLRCCp8UVvarWHrnnmlcIH/QRYwmRe9J45YGUPEcR1dPE2pYMCwh5EKY+IDeU7tprVYvjYYqVP2vBL+lFiBvnkmwyou5xMXsAj0vjRRdbYFS4iTSsaLcn/wioeSkdRmvx7AAAAFQCxrkcSbOObQI5Lma5asEukmlS5LwAAAIBneLujmHt8GICMqOnG+81ZB7H2orjjhC+KD7LVObLTJ94gK2TKm05c4DwVhL+TKvR3c6t4rMDwgR7E8P8WhKyKosQKkkhmSHhl80MnboXNdBf1l7bbj8ENM6VQEQG8w5KKd1AIePY82unBx+EyeD72QRTIsL8dIJVw5DOg4bAf5QAAAIAs24H9tuz6Fbu6NUd4pjE/v9un9jL3H/L6GyIqD2a+IY23ErH09XLUj8J8oF7nj+JlvO0wJKqhZfg98SyjgSre+72sOzzgoJ6a/7m5X84sids50ybGQ63W9Sry8I5r17qvFfUsS/UqNBNbugeLxhjPE3yc8+IKZb0NqKtY4iYTBg==", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCrAWycCsMVsUvPlO9Bvb0gWbI5aBU4uhlesIF7XwwBmfD8YeYUYgJ+pkFvWvFAH4VLhHumL3CpBuCJs5ZLdaKIEkW6JHwC7OeD2L/WwJONR6Q0sjBYX3MMdDV7ktGU/bbcZafx50q5swRnJm7hFM0UQUHkNTvGNnrLyc3rxjarzlGznuF7aa+EbtWWF2m6Ui+mWmOuBDSbARW5rYeHxzA8M6mi62YUGVbQf7cDw3FoCfAZwj4BpgkDmk0nWqAuJvx4863yC+xreMRJiQPaTkRF9Pvza3TLKHdFyAGzrZUtNo62gtpUWltYrVFG4ScjkPOdri/VCSHnyHLJm92NejRdssMpPWSEZbssnTZWFifz9idqXoxsefk9WiOp6nYn9fUXuKJ7MXhLxlYc8oNeBHFAiUFFb+jI6Q/BobPQS47GMXczntqhm/R5Jdo5N6EAycxs5DnErUC9sQE/1+RlxIpta3I3YcyZCkZ7+2mbVGI+2c66MgMZ/70ywI3J6BwfWbM=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJUhuS6PvocvXx5NznawWaJ3KNjfDBVX21H61+hAoW5gAdi5vzrDl+xxcAHSpFRH8IT00SSeomWCFqCQINev0rw=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIGET+PV1Ls8fWlfq8WRtNYDTSf3EuLRrJ5XZk38eovsw", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_is_chroot": false, "ansible_apparmor": {"status": "disabled"}, "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_lsb": {}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_iscsi_iqn": "", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "53", "second": "41", "epoch": "1739472821", "epoch_int": "1739472821", "date": "2025-02-13", "time": "13:53:41", "iso8601_micro": "2025-02-13T18:53:41.425462Z", "iso8601": "2025-02-13T18:53:41Z", "iso8601_basic": "20250213T135341425462", "iso8601_basic_short": "20250213T135341", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.10.246 56714 10.31.10.251 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.10.246 56714 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_hostnqn": "", "ansible_loadavg": {"1m": 0.8, "5m": 0.4, "15m": 0.18}, "ansible_local": {}, "ansible_pkg_mgr": "dnf", "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_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "12:1d:79:f3:f2:8f", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.10.251", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22"}, "ipv6": [{"address": "fe80::101d:79ff:fef3:f28f", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "prefix": "8"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.8.1", "interface": "eth0", "address": "10.31.10.251", "broadcast": "10.31.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "prefix": "22", "macaddress": "12:1d:79:f3:f2:8f", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.10.251"], "ansible_all_ipv6_addresses": ["fe80::101d:79ff:fef3:f28f"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.10.251", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::101d:79ff:fef3:f28f"]}, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2756, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 783, "free": 2756}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec24c9c3-766c-0816-e26f-1929a46cc7be", "ansible_product_uuid": "ec24c9c3-766c-0816-e26f-1929a46cc7be", "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": 346, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263560863744, "block_size": 4096, "block_total": 65533179, "block_available": 64345914, "block_used": 1187265, "inode_total": 131071472, "inode_available": 130995959, "inode_used": 75513, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_fibre_channel_wwn": [], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_fips": false, "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": [], "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472820.9920082-11765-87728740540155/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.820) 0:00:12.144 ***** included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/mycert_no_auto_renew.crt', 'key_path': '/etc/pki/tls/private/mycert_no_auto_renew.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': False}) included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 => (item={'path': '/etc/pki/tls/certs/defaultcert.crt', 'key_path': '/etc/pki/tls/private/defaultcert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'auto_renew': True}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.071) 0:00:12.215 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.020) 0:00:12.236 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.026) 0:00:12.263 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.024) 0:00:12.287 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:53:41 -0500 (0:00:00.019) 0:00:12.307 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285 `" && echo ansible-tmp-1739472821.9977126-11807-161863268493285="` echo /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472821.9977126-11807-161863268493285=/root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmppik62w5l TO /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/AnsiballZ_dnf.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmppik62w5l /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/AnsiballZ_dnf.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/ /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472821.9977126-11807-161863268493285/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:53:44 -0500 (0:00:02.940) 0:00:15.248 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920 `" && echo ansible-tmp-1739472824.9237275-11890-121933669817920="` echo /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472824.9237275-11890-121933669817920=/root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpgttupvhk TO /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/AnsiballZ_stat.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpgttupvhk /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/AnsiballZ_stat.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/ /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (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": 7718640, "dev": 51713, "nlink": 1, "atime": 1739472819.8814263, "mtime": 1739472819.8784263, "ctime": 1739472819.8784263, "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": "7acf0d75bde83cef0db981f0ef5bf048d4dadc1c", "mimetype": "text/plain", "charset": "us-ascii", "version": "713696142", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472824.9237275-11890-121933669817920/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt" } }, "stat": { "atime": 1739472819.8814263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7acf0d75bde83cef0db981f0ef5bf048d4dadc1c", "ctime": 1739472819.8784263, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472819.8784263, "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": "713696142", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.381) 0:00:15.629 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.018) 0:00:15.648 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.049) 0:00:15.697 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.065) 0:00:15.762 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958 `" && echo ansible-tmp-1739472825.4298072-11914-219796480343958="` echo /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472825.4298072-11914-219796480343958=/root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpx95noxfj TO /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/AnsiballZ_stat.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpx95noxfj /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/AnsiballZ_stat.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/ /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (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": 7718639, "dev": 51713, "nlink": 1, "atime": 1739472819.8364263, "mtime": 1739472819.8784263, "ctime": 1739472819.8784263, "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": "336b270a95038a0e35930c49529a413242314bea", "mimetype": "text/plain", "charset": "us-ascii", "version": "2994031884", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472825.4298072-11914-219796480343958/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key" } }, "stat": { "atime": 1739472819.8364263, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "336b270a95038a0e35930c49529a413242314bea", "ctime": 1739472819.8784263, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718639, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472819.8784263, "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": "2994031884", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.375) 0:00:16.138 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.025) 0:00:16.163 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.042) 0:00:16.206 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131 `" && echo ansible-tmp-1739472825.8647678-11936-38370300379131="` echo /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472825.8647678-11936-38370300379131=/root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpl1_xyfcd TO /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/AnsiballZ_certtojson.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpl1_xyfcd /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/AnsiballZ_certtojson.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/ /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213185245Z", "not_valid_before": "20250213185339Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "5A:39:A8:82:80:3A:7F:6F:CD:0C:B9:BE:6A:2C:0D:6E:C6:B7:F1:70:44:B4:53:71:C2:0D:68:86:A7:B0:3B:32:58:17:87:D4:A9:DE:88:E7:C5:70:35:DD:3D:76:BC:DD:0F:B2:CC:D3:AB:E0:C5:2D:95:5A:9B:BF:D0:A0:25:E3:94:86:77:3F:8A:DC:09:DC:B4:D3:9C:6B:A4:60:96:74:5E:74:D6:6D:87:E7:31:3F:6D:BE:8B:56:93:B3:E3:8B:89:CB:A1:74:7C:7A:5B:8C:23:EE:CA:09:46:EE:67:C1:AA:A3:06:C5:FB:DE:5A:4A:9B:D2:73:55:00:CF:19:EB:85:86:B6:77:75:28:A8:72:31:84:E8:B6:D0:7A:CC:65:0A:EA:94:AB:E5:CD:A0:6C:33:37:47:86:72:E7:8B:4D:61:0A:B2:29:6D:70:E7:A1:77:60:25:18:10:36:C0:62:AB:C2:B3:CB:12:F3:C5:EF:3D:34:F4:A0:B0:21:24:74:68:C1:37:D8:09:74:66:B4:97:7D:BD:63:F4:FC:BB:E4:5F:D7:48:E3:67:64:44:39:AE:F0:A2:09:B3:2C:A5:16:88:34:2A:5B:3D:78:61:0E:14:BC:44:90:17:EC:4A:93:39:83:BF:6D:DB:44:13:9B:47:9D:BB:C3:05:63:2F:D0"}, "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": "BC:BF:ED:2C:C5:DD:BB:75:A4:26:61:C0:E9:8C:23:28:C0:B2:97:F6"}, "authorityKeyIdentifier": {"critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_no_auto_renew.crt"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472825.8647678-11936-38370300379131/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6" }, "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": "BC:BF:ED:2C:C5:DD:BB:75:A4:26:61:C0:E9:8C:23:28:C0:B2:97:F6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5A:39:A8:82:80:3A:7F:6F:CD:0C:B9:BE:6A:2C:0D:6E:C6:B7:F1:70:44:B4:53:71:C2:0D:68:86:A7:B0:3B:32:58:17:87:D4:A9:DE:88:E7:C5:70:35:DD:3D:76:BC:DD:0F:B2:CC:D3:AB:E0:C5:2D:95:5A:9B:BF:D0:A0:25:E3:94:86:77:3F:8A:DC:09:DC:B4:D3:9C:6B:A4:60:96:74:5E:74:D6:6D:87:E7:31:3F:6D:BE:8B:56:93:B3:E3:8B:89:CB:A1:74:7C:7A:5B:8C:23:EE:CA:09:46:EE:67:C1:AA:A3:06:C5:FB:DE:5A:4A:9B:D2:73:55:00:CF:19:EB:85:86:B6:77:75:28:A8:72:31:84:E8:B6:D0:7A:CC:65:0A:EA:94:AB:E5:CD:A0:6C:33:37:47:86:72:E7:8B:4D:61:0A:B2:29:6D:70:E7:A1:77:60:25:18:10:36:C0:62:AB:C2:B3:CB:12:F3:C5:EF:3D:34:F4:A0:B0:21:24:74:68:C1:37:D8:09:74:66:B4:97:7D:BD:63:F4:FC:BB:E4:5F:D7:48:E3:67:64:44:39:AE:F0:A2:09:B3:2C:A5:16:88:34:2A:5B:3D:78:61:0E:14:BC:44:90:17:EC:4A:93:39:83:BF:6D:DB:44:13:9B:47:9D:BB:C3:05:63:2F:D0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185245Z", "not_valid_before": "20250213185339Z" } }, "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-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.510) 0:00:16.716 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6" }, "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": "BC:BF:ED:2C:C5:DD:BB:75:A4:26:61:C0:E9:8C:23:28:C0:B2:97:F6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5A:39:A8:82:80:3A:7F:6F:CD:0C:B9:BE:6A:2C:0D:6E:C6:B7:F1:70:44:B4:53:71:C2:0D:68:86:A7:B0:3B:32:58:17:87:D4:A9:DE:88:E7:C5:70:35:DD:3D:76:BC:DD:0F:B2:CC:D3:AB:E0:C5:2D:95:5A:9B:BF:D0:A0:25:E3:94:86:77:3F:8A:DC:09:DC:B4:D3:9C:6B:A4:60:96:74:5E:74:D6:6D:87:E7:31:3F:6D:BE:8B:56:93:B3:E3:8B:89:CB:A1:74:7C:7A:5B:8C:23:EE:CA:09:46:EE:67:C1:AA:A3:06:C5:FB:DE:5A:4A:9B:D2:73:55:00:CF:19:EB:85:86:B6:77:75:28:A8:72:31:84:E8:B6:D0:7A:CC:65:0A:EA:94:AB:E5:CD:A0:6C:33:37:47:86:72:E7:8B:4D:61:0A:B2:29:6D:70:E7:A1:77:60:25:18:10:36:C0:62:AB:C2:B3:CB:12:F3:C5:EF:3D:34:F4:A0:B0:21:24:74:68:C1:37:D8:09:74:66:B4:97:7D:BD:63:F4:FC:BB:E4:5F:D7:48:E3:67:64:44:39:AE:F0:A2:09:B3:2C:A5:16:88:34:2A:5B:3D:78:61:0E:14:BC:44:90:17:EC:4A:93:39:83:BF:6D:DB:44:13:9B:47:9D:BB:C3:05:63:2F:D0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185245Z", "not_valid_before": "20250213185339Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.023) 0:00:16.740 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.038) 0:00:16.779 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.022) 0:00:16.801 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.040) 0:00:16.841 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.040) 0:00:16.881 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:53:46 -0500 (0:00:00.039) 0:00:16.921 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867 `" && echo ansible-tmp-1739472826.582379-11978-225199110632867="` echo /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472826.582379-11978-225199110632867=/root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpdh1j4its TO /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/AnsiballZ_command.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpdh1j4its /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/AnsiballZ_command.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/ /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"changed": true, "stdout": "no", "stderr": "", "rc": 0, "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\'", "start": "2025-02-13 13:53:46.972358", "end": "2025-02-13 13:53:47.023551", "delta": "0:00:00.051193", "msg": "", "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, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472826.582379-11978-225199110632867/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "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.051193", "end": "2025-02-13 13:53:47.023551", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:53:46.972358" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.533) 0:00:17.454 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.055) 0:00:17.510 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.019) 0:00:17.529 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.028) 0:00:17.558 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.024) 0:00:17.583 ***** skipping: [managed-node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:53:47 -0500 (0:00:00.013) 0:00:17.596 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307 `" && echo ansible-tmp-1739472827.281277-12007-222261186966307="` echo /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472827.281277-12007-222261186966307=/root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpc0ley8gc TO /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/AnsiballZ_dnf.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpc0ley8gc /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/AnsiballZ_dnf.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/ /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "cacheonly": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472827.281277-12007-222261186966307/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:53:50 -0500 (0:00:02.965) 0:00:20.562 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335 `" && echo ansible-tmp-1739472830.2315357-12233-218821764976335="` echo /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472830.2315357-12233-218821764976335=/root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpevqe1gk6 TO /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/AnsiballZ_stat.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpevqe1gk6 /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/AnsiballZ_stat.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/ /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (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": 7718642, "dev": 51713, "nlink": 1, "atime": 1739472820.6104274, "mtime": 1739472820.6074274, "ctime": 1739472820.6074274, "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": "75dcde0120d1e4b7091998fbd30f78c06d73718e", "mimetype": "text/plain", "charset": "us-ascii", "version": "2853130525", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/defaultcert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472830.2315357-12233-218821764976335/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/defaultcert.crt" } }, "stat": { "atime": 1739472820.6104274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "75dcde0120d1e4b7091998fbd30f78c06d73718e", "ctime": 1739472820.6074274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472820.6074274, "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": "2853130525", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:53:50 -0500 (0:00:00.383) 0:00:20.945 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:53:50 -0500 (0:00:00.030) 0:00:20.975 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:53:50 -0500 (0:00:00.060) 0:00:21.035 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:53:50 -0500 (0:00:00.056) 0:00:21.092 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434 `" && echo ansible-tmp-1739472830.7587557-12259-56548435263434="` echo /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472830.7587557-12259-56548435263434=/root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpo6w3g2sl TO /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/AnsiballZ_stat.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpo6w3g2sl /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/AnsiballZ_stat.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/ /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.10.251> (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": 7718641, "dev": 51713, "nlink": 1, "atime": 1739472820.5654273, "mtime": 1739472820.6074274, "ctime": 1739472820.6074274, "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": "45098fe915c724dcb16b4548eb88835c1addcc1a", "mimetype": "text/plain", "charset": "us-ascii", "version": "263795093", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/defaultcert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472830.7587557-12259-56548435263434/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/defaultcert.key" } }, "stat": { "atime": 1739472820.5654273, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "45098fe915c724dcb16b4548eb88835c1addcc1a", "ctime": 1739472820.6074274, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472820.6074274, "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": "263795093", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.359) 0:00:21.452 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.018) 0:00:21.471 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.043) 0:00:21.514 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954 `" && echo ansible-tmp-1739472831.180116-12278-45106863275954="` echo /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472831.180116-12278-45106863275954=/root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpz9eq7psu TO /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/AnsiballZ_certtojson.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpz9eq7psu /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/AnsiballZ_certtojson.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/ /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213185245Z", "not_valid_before": "20250213185340Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "B9:5F:B3:6C:D9:FD:CA:90:3F:0B:C1:CA:D6:67:1B:F0:93:7D:A4:39:BC:71:3C:7D:0A:8E:B2:6D:AC:4D:B8:12:47:CD:D5:E6:BF:87:70:74:37:23:25:96:E7:98:CD:7C:A8:A7:C1:EB:F7:5B:89:18:BD:0D:4E:BD:31:F4:4B:49:EF:05:0B:42:1D:F2:38:04:17:B6:12:E3:BB:A9:2D:21:B2:71:C6:2C:A3:5F:9F:6A:58:6A:F4:26:B2:93:A3:97:7F:4D:6A:69:C3:4E:31:40:47:88:70:27:DA:1E:82:14:87:BB:08:2E:0B:A2:79:ED:07:53:9D:5C:51:85:AA:09:EC:F4:76:7B:C3:41:84:7D:B4:16:3B:BF:82:BE:96:50:D3:EE:0F:7F:67:5A:4C:50:F7:97:09:8B:59:7C:67:46:1D:D8:72:16:61:36:C6:94:2C:D7:8E:00:46:FE:55:8F:DB:30:0B:BF:85:C7:9F:77:12:8D:99:BD:87:07:26:EA:1C:8B:6C:BA:64:80:D7:0C:CC:01:E2:2E:50:A2:45:49:5E:57:3D:75:EF:84:C0:D7:56:7C:0E:1C:B2:3F:51:4F:67:67:23:33:EC:49:6A:E7:A9:F8:AD:41:DF:55:60:30:0D:AA:A5:E8:30:62:4E:03:FA:40:6E:77:BB:59:D9:8D"}, "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": "D7:0F:90:DB:07:03:63:06:2D:A2:74:75:E4:55:98:96:3F:0D:71:DD"}, "authorityKeyIdentifier": {"critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/defaultcert.crt"}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472831.180116-12278-45106863275954/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6" }, "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": "D7:0F:90:DB:07:03:63:06:2D:A2:74:75:E4:55:98:96:3F:0D:71:DD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B9:5F:B3:6C:D9:FD:CA:90:3F:0B:C1:CA:D6:67:1B:F0:93:7D:A4:39:BC:71:3C:7D:0A:8E:B2:6D:AC:4D:B8:12:47:CD:D5:E6:BF:87:70:74:37:23:25:96:E7:98:CD:7C:A8:A7:C1:EB:F7:5B:89:18:BD:0D:4E:BD:31:F4:4B:49:EF:05:0B:42:1D:F2:38:04:17:B6:12:E3:BB:A9:2D:21:B2:71:C6:2C:A3:5F:9F:6A:58:6A:F4:26:B2:93:A3:97:7F:4D:6A:69:C3:4E:31:40:47:88:70:27:DA:1E:82:14:87:BB:08:2E:0B:A2:79:ED:07:53:9D:5C:51:85:AA:09:EC:F4:76:7B:C3:41:84:7D:B4:16:3B:BF:82:BE:96:50:D3:EE:0F:7F:67:5A:4C:50:F7:97:09:8B:59:7C:67:46:1D:D8:72:16:61:36:C6:94:2C:D7:8E:00:46:FE:55:8F:DB:30:0B:BF:85:C7:9F:77:12:8D:99:BD:87:07:26:EA:1C:8B:6C:BA:64:80:D7:0C:CC:01:E2:2E:50:A2:45:49:5E:57:3D:75:EF:84:C0:D7:56:7C:0E:1C:B2:3F:51:4F:67:67:23:33:EC:49:6A:E7:A9:F8:AD:41:DF:55:60:30:0D:AA:A5:E8:30:62:4E:03:FA:40:6E:77:BB:59:D9:8D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185245Z", "not_valid_before": "20250213185340Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/defaultcert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.515) 0:00:22.029 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "3F:8B:A9:89:01:99:EC:E4:EC:86:0E:EC:F2:66:30:B9:59:95:50:D6" }, "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": "D7:0F:90:DB:07:03:63:06:2D:A2:74:75:E4:55:98:96:3F:0D:71:DD" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B9:5F:B3:6C:D9:FD:CA:90:3F:0B:C1:CA:D6:67:1B:F0:93:7D:A4:39:BC:71:3C:7D:0A:8E:B2:6D:AC:4D:B8:12:47:CD:D5:E6:BF:87:70:74:37:23:25:96:E7:98:CD:7C:A8:A7:C1:EB:F7:5B:89:18:BD:0D:4E:BD:31:F4:4B:49:EF:05:0B:42:1D:F2:38:04:17:B6:12:E3:BB:A9:2D:21:B2:71:C6:2C:A3:5F:9F:6A:58:6A:F4:26:B2:93:A3:97:7F:4D:6A:69:C3:4E:31:40:47:88:70:27:DA:1E:82:14:87:BB:08:2E:0B:A2:79:ED:07:53:9D:5C:51:85:AA:09:EC:F4:76:7B:C3:41:84:7D:B4:16:3B:BF:82:BE:96:50:D3:EE:0F:7F:67:5A:4C:50:F7:97:09:8B:59:7C:67:46:1D:D8:72:16:61:36:C6:94:2C:D7:8E:00:46:FE:55:8F:DB:30:0B:BF:85:C7:9F:77:12:8D:99:BD:87:07:26:EA:1C:8B:6C:BA:64:80:D7:0C:CC:01:E2:2E:50:A2:45:49:5E:57:3D:75:EF:84:C0:D7:56:7C:0E:1C:B2:3F:51:4F:67:67:23:33:EC:49:6A:E7:A9:F8:AD:41:DF:55:60:30:0D:AA:A5:E8:30:62:4E:03:FA:40:6E:77:BB:59:D9:8D" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185245Z", "not_valid_before": "20250213185340Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.018) 0:00:22.047 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.037) 0:00:22.085 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.017) 0:00:22.103 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.040) 0:00:22.143 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.052) 0:00:22.195 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:53:51 -0500 (0:00:00.060) 0:00:22.255 ***** <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.10.251> (0, b'/root\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462 `" && echo ansible-tmp-1739472831.9207218-12325-123700064475462="` echo /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462 `" ) && sleep 0'"'"'' <10.31.10.251> (0, b'ansible-tmp-1739472831.9207218-12325-123700064475462=/root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.10.251> PUT /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpvlchosbe TO /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/AnsiballZ_command.py <10.31.10.251> 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/e0d2040658"' '[10.31.10.251]' <10.31.10.251> (0, b'sftp> put /root/.ansible/tmp/ansible-local-113211vn9rrbv/tmpvlchosbe /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/AnsiballZ_command.py\n', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/ /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' -tt 10.31.10.251 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/AnsiballZ_command.py && sleep 0'"'"'' <10.31.10.251> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:53:52.186757", "end": "2025-02-13 13:53:52.237445", "delta": "0:00:00.050688", "msg": "", "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, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.10.251 closed.\r\n') <10.31.10.251> ESTABLISH SSH CONNECTION FOR USER: None <10.31.10.251> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/e0d2040658"' 10.31.10.251 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472831.9207218-12325-123700064475462/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.10.251> (0, b'', b'') ok: [managed-node3] => { "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.050688", "end": "2025-02-13 13:53:52.237445", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:53:52.186757" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:53:52 -0500 (0:00:00.410) 0:00:22.666 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=49 changed=1 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 13:53:52 -0500 (0:00:00.034) 0:00:22.700 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.14s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.97s /tmp/collections-8qw/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.96s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.94s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.58s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.18s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Gathering Facts --------------------------------------------------------- 0.82s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.73s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Retrieve auto-renew flag ------------------------------------------------ 0.53s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.53s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.51s /tmp/collections-8qw/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.45s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve auto-renew flag ------------------------------------------------ 0.41s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.38s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.38s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Verify each certificate ------------------------------------------------- 0.07s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42