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_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml PLAY [Issue many self-signed certificates] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 13:53:27 -0500 (0:00:00.015) 0:00:00.015 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511 `" && echo ansible-tmp-1739472807.7981434-11109-268149019834511="` echo /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472807.7981434-11109-268149019834511=/root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511\n', b'') Attempting python interpreter discovery <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/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.43.226> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.43.226> (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.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpjliir9as TO /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/AnsiballZ_setup.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpjliir9as /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/AnsiballZ_setup.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/ /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.226> (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_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAOMDOgEt+cJ1nB67t1zkT4Q8uCS2DYHwCjRXzHbr4aP+zGzyW1qGjed/+nCE0pSfKPuwz+iopdHKVZUQUkjN0i9o5EgS9M38poqTpZONv6xgJU5DnCqVubaR2H8orakF9+hj0d4zuaBirUSVT0ph6+B18dNx9rL+nLH1m0aRXKQPAAAAFQCsU/DphXEKLjIB5Y0NPEs0FMVMZwAAAIBTEN/mbCeeMcKuYnx0fKIJ5wHBSxsDDjZtKKgTCtzbecJC4/vKQBGjyP6/pEiMDVPBMGppo4eJIEDVk2A+rV4SO6fns2+2P0AfHhyckvCknd9O7LAMl57eEwDd2pKxdFGc8mWirPF8gkXRHR8kRT4g5O+gPDjVR3Ak+bLtQEkoWwAAAIB5xaibyI3N0tjfyqJeWZ78BH+oQeUHLwXc1YLBuGA6oIehr+MO81sws5Tfkx9Mo1x20W/4jKI+bV9MCAKshJwD7pK9w3iS54fO57AaSg4Esl4wJapCJuIusH2KzqdjEpi6jmKYd8Pyc7YWD6rwxIuXONix6P3mfzQs3/dJaorCcw==", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCv4DkKkK0ZwCFy3LQi8PyIFiB+kOppygofcF+tsi4Qru2K0yBT0TmuyY+CAVuWZf3xWv3M8nDnsJeW+OC7qEmjtP2AbL+dpMhFAqaudBFezTuzfDrSRLdZwKVulOs258NTD7PS80sCJWlJnjRhY0So0Xf9Ggb7fosW3kPV1rV/JZfr48Zfv1AKe+y3RLOHErJeAGMjQyCaay2nrIl7xH42oDgJFS9RKOs4LU11kdQ7WVMf7XeC7JnDMBZkDbR49CiiLJEocDHV1o7+73R10O3YOYuUEDmYR85QbZGwdjrv4tmV8uWAe2IN78E2OupKYqx7owvYN45V2pACOdrvIDVP18gddSbH3hSglVU1a61xXAp0ZYbEpDCF2SxDtEMVSOylwRdsdOP9NfaTmmRycoILuU/MiFdyuEwyFMv/V6S+c5666zZ204sAUeoC3XDptUSBffQdOqDkD3DscTpRybEfKXcACd52NsCsWvtPSy+oy7uk0bGIBkoM5UdvwCSMyPE=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9v5ir5yIz4d2g18/StiMbwwv1hLqTz37vOq7Q8lATRBon89PmXGXtAu3qJQ0IkAkKnyS/K0Y3qgLAPpfRvSts=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIMEIVhmA3WmuWrJW3lagzCTNBuaBBHfnEvfuyep9C9Qx", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local", "ansible_domain": "test.local", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "086dbffead264b629f1849ba0b99e9dd", "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_dns": {"search": ["us-east-1.aws.redhat.com", "test.local"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_iscsi_iqn": "", "ansible_fibre_channel_wwn": [], "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "53", "second": "28", "epoch": "1739472808", "epoch_int": "1739472808", "date": "2025-02-13", "time": "13:53:28", "iso8601_micro": "2025-02-13T18:53:28.565767Z", "iso8601": "2025-02-13T18:53:28Z", "iso8601_basic": "20250213T135328565767", "iso8601_basic_short": "20250213T135328", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0e:0f:c7:32:1d:0d", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.43.226", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22"}, "ipv6": [{"address": "fe80::c0f:c7ff:fe32:1d0d", "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.40.1", "interface": "eth0", "address": "10.31.43.226", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "macaddress": "0e:0f:c7:32:1d:0d", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.43.226"], "ansible_all_ipv6_addresses": ["fe80::c0f:c7ff:fe32:1d0d"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.43.226", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::c0f:c7ff:fe32:1d0d"]}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.10.246 33878 10.31.43.226 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 33878 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_loadavg": {"1m": 0.69, "5m": 0.33, "15m": 0.14}, "ansible_hostnqn": "", "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_is_chroot": false, "ansible_local": {}, "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_apparmor": {"status": "disabled"}, "ansible_fips": false, "ansible_lsb": {}, "ansible_pkg_mgr": "dnf", "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2752, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 787, "free": 2752}, "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": "ec225db2-df1e-9108-b075-24ad5fbc32a4", "ansible_product_uuid": "ec225db2-df1e-9108-b075-24ad5fbc32a4", "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": 288, "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": 263558795264, "block_size": 4096, "block_total": 65533179, "block_available": 64345409, "block_used": 1187770, "inode_total": 131071472, "inode_available": 130995954, "inode_used": 75518, "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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472807.7981434-11109-268149019834511/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] 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:28 -0500 (0:00:01.154) 0:00:01.170 ***** included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 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:28 -0500 (0:00:00.050) 0:00:01.220 ***** skipping: [managed-node1] => { "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:28 -0500 (0:00:00.040) 0:00:01.261 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468 `" && echo ansible-tmp-1739472809.0363672-11296-281410968384468="` echo /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472809.0363672-11296-281410968384468=/root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpij8uiwn0 TO /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpij8uiwn0 /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/ /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472809.0363672-11296-281410968384468/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "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:29 -0500 (0:00:00.642) 0:00:01.903 ***** ok: [managed-node1] => { "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:29 -0500 (0:00:00.027) 0:00:01.930 ***** skipping: [managed-node1] => (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-node1] => (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-node1] => (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-node1] => (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-node1] => { "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:29 -0500 (0:00:00.031) 0:00:01.962 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015 `" && echo ansible-tmp-1739472809.7664666-11389-215850131733015="` echo /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472809.7664666-11389-215850131733015=/root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpycikt5kg TO /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/AnsiballZ_dnf.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpycikt5kg /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/AnsiballZ_dnf.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/ /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472809.7664666-11389-215850131733015/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "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:32 -0500 (0:00:03.158) 0:00:05.121 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368 `" && echo ansible-tmp-1739472812.944386-11540-159231971054368="` echo /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472812.944386-11540-159231971054368=/root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpjju71b4n TO /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/AnsiballZ_dnf.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpjju71b4n /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/AnsiballZ_dnf.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/ /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472812.944386-11540-159231971054368/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => (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:35 -0500 (0:00:02.911) 0:00:08.032 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066 `" && echo ansible-tmp-1739472815.8318071-11591-271596595834066="` echo /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472815.8318071-11591-271596595834066=/root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp98xryzwa TO /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/AnsiballZ_file.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp98xryzwa /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/AnsiballZ_file.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/ /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/AnsiballZ_file.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/AnsiballZ_file.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472815.8318071-11591-271596595834066/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => (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:36 -0500 (0:00:00.486) 0:00:08.519 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678 `" && echo ansible-tmp-1739472816.3209915-11606-232069258014678="` echo /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472816.3209915-11606-232069258014678=/root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp0e0lv8zs TO /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/AnsiballZ_file.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp0e0lv8zs /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/AnsiballZ_file.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/ /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/AnsiballZ_file.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/AnsiballZ_file.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472816.3209915-11606-232069258014678/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => (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:36 -0500 (0:00:00.390) 0:00:08.909 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247 `" && echo ansible-tmp-1739472816.7062898-11622-109485731607247="` echo /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472816.7062898-11622-109485731607247=/root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpgd_hql0n TO /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/AnsiballZ_systemd.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpgd_hql0n /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/AnsiballZ_systemd.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/ /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.43.226> (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:52 EST", "WatchdogTimestampMonotonic": "252455441", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "10425", "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:52 EST", "ExecMainStartTimestampMonotonic": "252444711", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10425", "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:52 EST] ; stop_time=[n/a] ; pid=10425 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3829760", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22406", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "system.slice sysinit.target dbus.socket", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "systemd-journald.socket sysinit.target dbus.socket dbus.service system.slice network.target syslog.target basic.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Thu 2025-02-13 13:52:52 EST", "StateChangeTimestampMonotonic": "252455444", "InactiveExitTimestamp": "Thu 2025-02-13 13:52:52 EST", "InactiveExitTimestampMonotonic": "252444759", "ActiveEnterTimestamp": "Thu 2025-02-13 13:52:52 EST", "ActiveEnterTimestampMonotonic": "252455444", "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:52 EST", "ConditionTimestampMonotonic": "252443807", "AssertTimestamp": "Thu 2025-02-13 13:52:52 EST", "AssertTimestampMonotonic": "252443809", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "185b13aa47e948f0ba6a2cfa750f21b1", "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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472816.7062898-11622-109485731607247/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => (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:52 EST", "ActiveEnterTimestampMonotonic": "252455444", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target dbus.socket dbus.service system.slice network.target syslog.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:52:52 EST", "AssertTimestampMonotonic": "252443809", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:52:52 EST", "ConditionTimestampMonotonic": "252443807", "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": "10425", "ExecMainStartTimestamp": "Thu 2025-02-13 13:52:52 EST", "ExecMainStartTimestampMonotonic": "252444711", "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:52 EST] ; stop_time=[n/a] ; pid=10425 ; 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:52 EST", "InactiveExitTimestampMonotonic": "252444759", "InvocationID": "185b13aa47e948f0ba6a2cfa750f21b1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10425", "MemoryAccounting": "yes", "MemoryCurrent": "3829760", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "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:52 EST", "StateChangeTimestampMonotonic": "252455444", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:52:52 EST", "WatchdogTimestampMonotonic": "252455441", "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:37 -0500 (0:00:00.719) 0:00:09.628 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959 `" && echo ansible-tmp-1739472817.449545-11637-173936053085959="` echo /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472817.449545-11637-173936053085959=/root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpg6ulg18d TO /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/AnsiballZ_certificate_request.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpg6ulg18d /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/AnsiballZ_certificate_request.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/ /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "mycert_many_self_signed", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472817.449545-11637-173936053085959/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') changed: [managed-node1] => (item={'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_many_self_signed", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } } MSG: Certificate requested (new). <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726 `" && echo ansible-tmp-1739472818.3406112-11637-229274530569726="` echo /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472818.3406112-11637-229274530569726=/root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpc55geptd TO /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/AnsiballZ_certificate_request.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpc55geptd /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/AnsiballZ_certificate_request.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/ /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "other-cert", "dns": ["www.example.org"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472818.3406112-11637-229274530569726/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') changed: [managed-node1] => (item={'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.org" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "other-cert", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } } MSG: Certificate requested (new). <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733 `" && echo ansible-tmp-1739472819.0919094-11637-41769537115733="` echo /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472819.0919094-11637-41769537115733=/root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpghvcmak8 TO /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/AnsiballZ_certificate_request.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpghvcmak8 /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/AnsiballZ_certificate_request.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/ /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "another-cert", "dns": ["www.example.net"], "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472819.0919094-11637-41769537115733/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') changed: [managed-node1] => (item={'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": true, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.net" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "another-cert", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:53:39 -0500 (0:00:02.464) 0:00:12.093 ***** skipping: [managed-node1] => (item=['cert', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['cert', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['cert', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['key', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['key', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['key', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['ca', {'name': 'mycert_many_self_signed', 'dns': 'www.example.com', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['ca', {'name': 'other-cert', 'dns': 'www.example.org', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=['ca', {'name': 'another-cert', 'dns': 'www.example.net', 'ca': 'self-sign'}]) => { "ansible_loop_var": "item", "changed": false, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => { "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:39 -0500 (0:00:00.078) 0:00:12.172 ***** skipping: [managed-node1] => { "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:39 -0500 (0:00:00.034) 0:00:12.207 ***** skipping: [managed-node1] => { "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:39 -0500 (0:00:00.038) 0:00:12.245 ***** skipping: [managed-node1] => { "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_many_self_signed.yml:18 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.052) 0:00:12.298 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400 `" && echo ansible-tmp-1739472820.0718238-11726-254820326953400="` echo /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472820.0718238-11726-254820326953400=/root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpqta5r565 TO /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/AnsiballZ_setup.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpqta5r565 /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/AnsiballZ_setup.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/ /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.226> (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_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_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAOMDOgEt+cJ1nB67t1zkT4Q8uCS2DYHwCjRXzHbr4aP+zGzyW1qGjed/+nCE0pSfKPuwz+iopdHKVZUQUkjN0i9o5EgS9M38poqTpZONv6xgJU5DnCqVubaR2H8orakF9+hj0d4zuaBirUSVT0ph6+B18dNx9rL+nLH1m0aRXKQPAAAAFQCsU/DphXEKLjIB5Y0NPEs0FMVMZwAAAIBTEN/mbCeeMcKuYnx0fKIJ5wHBSxsDDjZtKKgTCtzbecJC4/vKQBGjyP6/pEiMDVPBMGppo4eJIEDVk2A+rV4SO6fns2+2P0AfHhyckvCknd9O7LAMl57eEwDd2pKxdFGc8mWirPF8gkXRHR8kRT4g5O+gPDjVR3Ak+bLtQEkoWwAAAIB5xaibyI3N0tjfyqJeWZ78BH+oQeUHLwXc1YLBuGA6oIehr+MO81sws5Tfkx9Mo1x20W/4jKI+bV9MCAKshJwD7pK9w3iS54fO57AaSg4Esl4wJapCJuIusH2KzqdjEpi6jmKYd8Pyc7YWD6rwxIuXONix6P3mfzQs3/dJaorCcw==", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCv4DkKkK0ZwCFy3LQi8PyIFiB+kOppygofcF+tsi4Qru2K0yBT0TmuyY+CAVuWZf3xWv3M8nDnsJeW+OC7qEmjtP2AbL+dpMhFAqaudBFezTuzfDrSRLdZwKVulOs258NTD7PS80sCJWlJnjRhY0So0Xf9Ggb7fosW3kPV1rV/JZfr48Zfv1AKe+y3RLOHErJeAGMjQyCaay2nrIl7xH42oDgJFS9RKOs4LU11kdQ7WVMf7XeC7JnDMBZkDbR49CiiLJEocDHV1o7+73R10O3YOYuUEDmYR85QbZGwdjrv4tmV8uWAe2IN78E2OupKYqx7owvYN45V2pACOdrvIDVP18gddSbH3hSglVU1a61xXAp0ZYbEpDCF2SxDtEMVSOylwRdsdOP9NfaTmmRycoILuU/MiFdyuEwyFMv/V6S+c5666zZ204sAUeoC3XDptUSBffQdOqDkD3DscTpRybEfKXcACd52NsCsWvtPSy+oy7uk0bGIBkoM5UdvwCSMyPE=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9v5ir5yIz4d2g18/StiMbwwv1hLqTz37vOq7Q8lATRBon89PmXGXtAu3qJQ0IkAkKnyS/K0Y3qgLAPpfRvSts=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIMEIVhmA3WmuWrJW3lagzCTNBuaBBHfnEvfuyep9C9Qx", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_apparmor": {"status": "disabled"}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_hostnqn": "", "ansible_fips": false, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.10.246 33878 10.31.43.226 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 33878 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_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": "ipaserver.test.local", "ansible_hostname": "ipaserver", "ansible_nodename": "ipaserver.test.local", "ansible_domain": "test.local", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "086dbffead264b629f1849ba0b99e9dd", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_is_chroot": false, "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": 2752, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 787, "free": 2752}, "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": "ec225db2-df1e-9108-b075-24ad5fbc32a4", "ansible_product_uuid": "ec225db2-df1e-9108-b075-24ad5fbc32a4", "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": 300, "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": 263558594560, "block_size": 4096, "block_total": 65533179, "block_available": 64345360, "block_used": 1187819, "inode_total": 131071472, "inode_available": 130995945, "inode_used": 75527, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_iscsi_iqn": "", "ansible_local": {}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com", "test.local"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_loadavg": {"1m": 0.84, "5m": 0.38, "15m": 0.16}, "ansible_service_mgr": "systemd", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "53", "second": "40", "epoch": "1739472820", "epoch_int": "1739472820", "date": "2025-02-13", "time": "13:53:40", "iso8601_micro": "2025-02-13T18:53:40.685018Z", "iso8601": "2025-02-13T18:53:40Z", "iso8601_basic": "20250213T135340685018", "iso8601_basic_short": "20250213T135340", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0e:0f:c7:32:1d:0d", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.43.226", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22"}, "ipv6": [{"address": "fe80::c0f:c7ff:fe32:1d0d", "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.40.1", "interface": "eth0", "address": "10.31.43.226", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "macaddress": "0e:0f:c7:32:1d:0d", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.43.226"], "ansible_all_ipv6_addresses": ["fe80::c0f:c7ff:fe32:1d0d"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.43.226", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::c0f:c7ff:fe32:1d0d"]}, "ansible_pkg_mgr": "dnf", "ansible_fibre_channel_wwn": [], "ansible_lsb": {}, "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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472820.0718238-11726-254820326953400/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.773) 0:00:13.072 ***** included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 => (item={'path': '/etc/pki/tls/certs/mycert_many_self_signed.crt', 'key_path': '/etc/pki/tls/private/mycert_many_self_signed.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}]}) included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 => (item={'path': '/etc/pki/tls/certs/other-cert.crt', 'key_path': '/etc/pki/tls/private/other-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.org'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.org'}]}) included: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 => (item={'path': '/etc/pki/tls/certs/another-cert.crt', 'key_path': '/etc/pki/tls/private/another-cert.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.net'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.net'}]}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:53:40 -0500 (0:00:00.096) 0:00:13.168 ***** ok: [managed-node1] => { "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:40 -0500 (0:00:00.020) 0:00:13.188 ***** skipping: [managed-node1] => { "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:40 -0500 (0:00:00.025) 0:00:13.214 ***** skipping: [managed-node1] => { "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:40 -0500 (0:00:00.028) 0:00:13.243 ***** skipping: [managed-node1] => { "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:40 -0500 (0:00:00.013) 0:00:13.256 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045 `" && echo ansible-tmp-1739472821.0646605-11770-75790682905045="` echo /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472821.0646605-11770-75790682905045=/root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpxeb1_5a1 TO /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/AnsiballZ_dnf.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpxeb1_5a1 /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/AnsiballZ_dnf.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/ /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472821.0646605-11770-75790682905045/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "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:43 -0500 (0:00:02.925) 0:00:16.182 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207 `" && echo ansible-tmp-1739472823.9524057-11858-257174248502207="` echo /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472823.9524057-11858-257174248502207=/root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp5yg4cy0n TO /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp5yg4cy0n /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/ /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718642, "dev": 51713, "nlink": 1, "atime": 1739472818.0815284, "mtime": 1739472818.0785284, "ctime": 1739472818.0785284, "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": "7bc40d3ae7deca15b0c6ec3101d2d34a55fb42d6", "mimetype": "text/plain", "charset": "us-ascii", "version": "2584075677", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472823.9524057-11858-257174248502207/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } }, "stat": { "atime": 1739472818.0815284, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7bc40d3ae7deca15b0c6ec3101d2d34a55fb42d6", "ctime": 1739472818.0785284, "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": 1739472818.0785284, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2584075677", "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:44 -0500 (0:00:00.351) 0:00:16.533 ***** ok: [managed-node1] => { "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:44 -0500 (0:00:00.018) 0:00:16.551 ***** ok: [managed-node1] => { "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:44 -0500 (0:00:00.049) 0:00:16.601 ***** ok: [managed-node1] => { "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:44 -0500 (0:00:00.038) 0:00:16.639 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131 `" && echo ansible-tmp-1739472824.4107535-11876-212865850791131="` echo /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472824.4107535-11876-212865850791131=/root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpqblj3evf TO /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpqblj3evf /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/ /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1708, "inode": 7718641, "dev": 51713, "nlink": 1, "atime": 1739472818.036528, "mtime": 1739472818.0785284, "ctime": 1739472818.0785284, "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": "443fd8804e901505147bdd632b2505010f3a4450", "mimetype": "text/plain", "charset": "us-ascii", "version": "2584593242", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_many_self_signed.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472824.4107535-11876-212865850791131/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key" } }, "stat": { "atime": 1739472818.036528, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "443fd8804e901505147bdd632b2505010f3a4450", "ctime": 1739472818.0785284, "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": 1739472818.0785284, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "2584593242", "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:44 -0500 (0:00:00.353) 0:00:16.992 ***** ok: [managed-node1] => { "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:44 -0500 (0:00:00.017) 0:00:17.010 ***** ok: [managed-node1] => { "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:44 -0500 (0:00:00.038) 0:00:17.048 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453 `" && echo ansible-tmp-1739472824.8187008-11886-156362206751453="` echo /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472824.8187008-11886-156362206751453=/root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmptcudl3b6 TO /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/AnsiballZ_certtojson.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmptcudl3b6 /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/AnsiballZ_certtojson.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/ /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "41:6E:2F:E4:0C:75:7A:F7:5C:65:26:17:30:5E:F6:6B:B0:0C:ED:7A:F9:BC:E0:20:26:25:FE:EC:C1:2A:94:F2:59:94:3B:E0:0D:7B:69:5E:E4:BC:E5:3A:02:34:F0:7D:7E:68:37:D0:69:A8:77:35:59:74:00:68:4B:42:09:06:A7:97:9B:80:01:CB:6D:DE:41:1C:5F:95:D6:59:CB:89:8E:98:D4:C3:DE:8D:A0:12:DE:74:52:D3:F2:21:81:73:4D:FD:09:3B:10:EE:BD:91:B7:F4:B8:06:6B:A2:FA:B8:59:13:78:53:7B:B1:33:38:2B:6F:64:74:C9:F7:35:33:67:58:87:84:8B:CF:FB:46:C5:E3:0F:33:69:33:AE:4A:27:C9:75:01:53:F9:63:5D:3C:1D:47:BF:BB:58:77:43:A7:EC:48:F2:E2:B7:64:4D:6A:F8:44:9F:60:10:74:7C:B6:BF:3B:17:C4:7C:A1:A1:08:31:BC:F2:6E:86:DF:56:7D:F8:38:58:10:DE:C4:D2:BA:EA:A7:60:07:DC:D6:52:90:9F:00:6E:99:DE:7B:4C:DC:87:E3:C1:13:5E:D6:BA:6C:DE:40:E9:F7:5F:C1:3E:89:FC:25:DE:22:35:38:78:76:B2:EC:ED:A2:A2:56:DD:37:27:06:FE:9C:4C:C1:40"}, "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": "31:86:B8:F5:CF:22:59:27:FC:2B:91:61:60:4E:B0:31:2F:2A:C1:5A"}, "authorityKeyIdentifier": {"critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472824.8187008-11886-156362206751453/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "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": "31:86:B8:F5:CF:22:59:27:FC:2B:91:61:60:4E:B0:31:2F:2A:C1:5A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "41:6E:2F:E4:0C:75:7A:F7:5C:65:26:17:30:5E:F6:6B:B0:0C:ED:7A:F9:BC:E0:20:26:25:FE:EC:C1:2A:94:F2:59:94:3B:E0:0D:7B:69:5E:E4:BC:E5:3A:02:34:F0:7D:7E:68:37:D0:69:A8:77:35:59:74:00:68:4B:42:09:06:A7:97:9B:80:01:CB:6D:DE:41:1C:5F:95:D6:59:CB:89:8E:98:D4:C3:DE:8D:A0:12:DE:74:52:D3:F2:21:81:73:4D:FD:09:3B:10:EE:BD:91:B7:F4:B8:06:6B:A2:FA:B8:59:13:78:53:7B:B1:33:38:2B:6F:64:74:C9:F7:35:33:67:58:87:84:8B:CF:FB:46:C5:E3:0F:33:69:33:AE:4A:27:C9:75:01:53:F9:63:5D:3C:1D:47:BF:BB:58:77:43:A7:EC:48:F2:E2:B7:64:4D:6A:F8:44:9F:60:10:74:7C:B6:BF:3B:17:C4:7C:A1:A1:08:31:BC:F2:6E:86:DF:56:7D:F8:38:58:10:DE:C4:D2:BA:EA:A7:60:07:DC:D6:52:90:9F:00:6E:99:DE:7B:4C:DC:87:E3:C1:13:5E:D6:BA:6C:DE:40:E9:F7:5F:C1:3E:89:FC:25:DE:22:35:38:78:76:B2:EC:ED:A2:A2:56:DD:37:27:06:FE:9C:4C:C1:40" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:53:45 -0500 (0:00:00.529) 0:00:17.578 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "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": "31:86:B8:F5:CF:22:59:27:FC:2B:91:61:60:4E:B0:31:2F:2A:C1:5A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "41:6E:2F:E4:0C:75:7A:F7:5C:65:26:17:30:5E:F6:6B:B0:0C:ED:7A:F9:BC:E0:20:26:25:FE:EC:C1:2A:94:F2:59:94:3B:E0:0D:7B:69:5E:E4:BC:E5:3A:02:34:F0:7D:7E:68:37:D0:69:A8:77:35:59:74:00:68:4B:42:09:06:A7:97:9B:80:01:CB:6D:DE:41:1C:5F:95:D6:59:CB:89:8E:98:D4:C3:DE:8D:A0:12:DE:74:52:D3:F2:21:81:73:4D:FD:09:3B:10:EE:BD:91:B7:F4:B8:06:6B:A2:FA:B8:59:13:78:53:7B:B1:33:38:2B:6F:64:74:C9:F7:35:33:67:58:87:84:8B:CF:FB:46:C5:E3:0F:33:69:33:AE:4A:27:C9:75:01:53:F9:63:5D:3C:1D:47:BF:BB:58:77:43:A7:EC:48:F2:E2:B7:64:4D:6A:F8:44:9F:60:10:74:7C:B6:BF:3B:17:C4:7C:A1:A1:08:31:BC:F2:6E:86:DF:56:7D:F8:38:58:10:DE:C4:D2:BA:EA:A7:60:07:DC:D6:52:90:9F:00:6E:99:DE:7B:4C:DC:87:E3:C1:13:5E:D6:BA:6C:DE:40:E9:F7:5F:C1:3E:89:FC:25:DE:22:35:38:78:76:B2:EC:ED:A2:A2:56:DD:37:27:06:FE:9C:4C:C1:40" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z" } } }, "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:45 -0500 (0:00:00.037) 0:00:17.615 ***** ok: [managed-node1] => { "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:45 -0500 (0:00:00.067) 0:00:17.682 ***** ok: [managed-node1] => { "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:45 -0500 (0:00:00.024) 0:00:17.707 ***** ok: [managed-node1] => { "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:45 -0500 (0:00:00.041) 0:00:17.749 ***** ok: [managed-node1] => { "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:45 -0500 (0:00:00.048) 0:00:17.797 ***** ok: [managed-node1] => { "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:45 -0500 (0:00:00.043) 0:00:17.841 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621 `" && echo ansible-tmp-1739472825.6122012-11926-108340405124621="` echo /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472825.6122012-11926-108340405124621=/root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp7idbx18b TO /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/AnsiballZ_command.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp7idbx18b /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/AnsiballZ_command.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/ /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:53:45.965185", "end": "2025-02-13 13:53:46.020096", "delta": "0:00:00.054911", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472825.6122012-11926-108340405124621/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.054911", "end": "2025-02-13 13:53:46.020096", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:53:45.965185" } 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:46 -0500 (0:00:00.498) 0:00:18.339 ***** ok: [managed-node1] => { "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:46 -0500 (0:00:00.038) 0:00:18.377 ***** ok: [managed-node1] => { "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:46 -0500 (0:00:00.013) 0:00:18.391 ***** skipping: [managed-node1] => { "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:46 -0500 (0:00:00.017) 0:00:18.408 ***** skipping: [managed-node1] => { "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:46 -0500 (0:00:00.018) 0:00:18.427 ***** skipping: [managed-node1] => { "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:46 -0500 (0:00:00.012) 0:00:18.440 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854 `" && echo ansible-tmp-1739472826.2423356-11950-137579418492854="` echo /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472826.2423356-11950-137579418492854=/root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpf8a6k1ga TO /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/AnsiballZ_dnf.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpf8a6k1ga /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/AnsiballZ_dnf.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/ /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472826.2423356-11950-137579418492854/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "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:49 -0500 (0:00:02.927) 0:00:21.367 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335 `" && echo ansible-tmp-1739472829.1466873-12136-6211078384335="` echo /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472829.1466873-12136-6211078384335=/root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpzf33xvba TO /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpzf33xvba /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/ /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/other-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718644, "dev": 51713, "nlink": 1, "atime": 1739472818.8315375, "mtime": 1739472818.8285375, "ctime": 1739472818.8285375, "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": "ea53fe7934bfce39490d19c2f8788881e2e3cd7f", "mimetype": "text/plain", "charset": "us-ascii", "version": "2413633418", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/other-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472829.1466873-12136-6211078384335/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/other-cert.crt" } }, "stat": { "atime": 1739472818.8315375, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ea53fe7934bfce39490d19c2f8788881e2e3cd7f", "ctime": 1739472818.8285375, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718644, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472818.8285375, "nlink": 1, "path": "/etc/pki/tls/certs/other-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "2413633418", "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:49 -0500 (0:00:00.364) 0:00:21.731 ***** ok: [managed-node1] => { "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:49 -0500 (0:00:00.017) 0:00:21.749 ***** ok: [managed-node1] => { "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:49 -0500 (0:00:00.059) 0:00:21.808 ***** ok: [managed-node1] => { "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:49 -0500 (0:00:00.057) 0:00:21.866 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059 `" && echo ansible-tmp-1739472829.6470013-12212-51229564449059="` echo /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472829.6470013-12212-51229564449059=/root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp164shvex TO /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp164shvex /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/ /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/other-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718643, "dev": 51713, "nlink": 1, "atime": 1739472818.786537, "mtime": 1739472818.8285375, "ctime": 1739472818.8285375, "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": "911a87893246ae9879a3441b0f7028248f0b0480", "mimetype": "text/plain", "charset": "us-ascii", "version": "4281043385", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/other-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472829.6470013-12212-51229564449059/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/other-cert.key" } }, "stat": { "atime": 1739472818.786537, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "911a87893246ae9879a3441b0f7028248f0b0480", "ctime": 1739472818.8285375, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718643, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472818.8285375, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "4281043385", "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:49 -0500 (0:00:00.386) 0:00:22.252 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.026) 0:00:22.278 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.049) 0:00:22.328 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277 `" && echo ansible-tmp-1739472830.100613-12226-199512030379277="` echo /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472830.100613-12226-199512030379277=/root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp_orlw2d2 TO /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/AnsiballZ_certtojson.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp_orlw2d2 /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/AnsiballZ_certtojson.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/ /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "9E:9B:AF:F8:FC:84:AA:B7:DA:25:EF:84:F7:6D:20:98:77:FC:9C:03:0E:46:D3:A9:A2:92:76:7C:7F:7A:E5:CB:76:89:DC:B1:39:30:BE:F6:50:08:B3:06:58:F8:CF:D3:76:25:4C:70:88:16:FC:BF:27:35:DE:D9:95:34:26:0C:69:2A:A7:45:4C:94:6E:C7:12:29:DA:5A:69:06:97:DE:32:EA:C3:61:9B:C7:41:42:E0:0A:DB:D9:63:D1:E8:49:71:BA:8F:C2:F2:1A:F5:C6:7B:D9:94:D2:5A:CC:2D:57:D2:BD:E9:DC:C9:40:82:50:33:C0:D7:5C:90:B7:95:B8:EE:82:10:9A:A0:1A:D9:83:08:76:67:62:AF:9F:B3:6E:F5:51:08:64:1B:0D:A3:C7:75:A2:76:6D:B8:91:EF:DD:82:5D:26:04:FA:2B:C2:95:17:F8:61:73:67:87:3E:EA:A4:8E:F7:E4:06:AC:E4:EF:09:87:53:C4:42:6E:3D:DA:04:EF:C2:8A:0E:8E:96:D9:CC:EC:E3:8B:7D:58:C7:E2:50:DE:4A:17:30:60:91:09:03:41:0C:AB:3B:0E:BE:80:4F:0A:73:01:EC:9D:09:45:36:29:B1:44:E0:05:BA:65:D7:E9:82:8C:56:A3:BC:25:64:C3:91:36:1B:FC:FA:51"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.org"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.org"}]}, "extendedKeyUsage": {"critical": false, "value": [{"name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1"}, {"name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "C4:1C:3D:1C:F3:7E:9D:83:E7:94:65:1B:A6:A1:CD:4C:3D:6F:67:B9"}, "authorityKeyIdentifier": {"critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472830.100613-12226-199512030379277/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C4:1C:3D:1C:F3:7E:9D:83:E7:94:65:1B:A6:A1:CD:4C:3D:6F:67:B9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9E:9B:AF:F8:FC:84:AA:B7:DA:25:EF:84:F7:6D:20:98:77:FC:9C:03:0E:46:D3:A9:A2:92:76:7C:7F:7A:E5:CB:76:89:DC:B1:39:30:BE:F6:50:08:B3:06:58:F8:CF:D3:76:25:4C:70:88:16:FC:BF:27:35:DE:D9:95:34:26:0C:69:2A:A7:45:4C:94:6E:C7:12:29:DA:5A:69:06:97:DE:32:EA:C3:61:9B:C7:41:42:E0:0A:DB:D9:63:D1:E8:49:71:BA:8F:C2:F2:1A:F5:C6:7B:D9:94:D2:5A:CC:2D:57:D2:BD:E9:DC:C9:40:82:50:33:C0:D7:5C:90:B7:95:B8:EE:82:10:9A:A0:1A:D9:83:08:76:67:62:AF:9F:B3:6E:F5:51:08:64:1B:0D:A3:C7:75:A2:76:6D:B8:91:EF:DD:82:5D:26:04:FA:2B:C2:95:17:F8:61:73:67:87:3E:EA:A4:8E:F7:E4:06:AC:E4:EF:09:87:53:C4:42:6E:3D:DA:04:EF:C2:8A:0E:8E:96:D9:CC:EC:E3:8B:7D:58:C7:E2:50:DE:4A:17:30:60:91:09:03:41:0C:AB:3B:0E:BE:80:4F:0A:73:01:EC:9D:09:45:36:29:B1:44:E0:05:BA:65:D7:E9:82:8C:56:A3:BC:25:64:C3:91:36:1B:FC:FA:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/other-cert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:53:50 -0500 (0:00:00.478) 0:00:22.807 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "C4:1C:3D:1C:F3:7E:9D:83:E7:94:65:1B:A6:A1:CD:4C:3D:6F:67:B9" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9E:9B:AF:F8:FC:84:AA:B7:DA:25:EF:84:F7:6D:20:98:77:FC:9C:03:0E:46:D3:A9:A2:92:76:7C:7F:7A:E5:CB:76:89:DC:B1:39:30:BE:F6:50:08:B3:06:58:F8:CF:D3:76:25:4C:70:88:16:FC:BF:27:35:DE:D9:95:34:26:0C:69:2A:A7:45:4C:94:6E:C7:12:29:DA:5A:69:06:97:DE:32:EA:C3:61:9B:C7:41:42:E0:0A:DB:D9:63:D1:E8:49:71:BA:8F:C2:F2:1A:F5:C6:7B:D9:94:D2:5A:CC:2D:57:D2:BD:E9:DC:C9:40:82:50:33:C0:D7:5C:90:B7:95:B8:EE:82:10:9A:A0:1A:D9:83:08:76:67:62:AF:9F:B3:6E:F5:51:08:64:1B:0D:A3:C7:75:A2:76:6D:B8:91:EF:DD:82:5D:26:04:FA:2B:C2:95:17:F8:61:73:67:87:3E:EA:A4:8E:F7:E4:06:AC:E4:EF:09:87:53:C4:42:6E:3D:DA:04:EF:C2:8A:0E:8E:96:D9:CC:EC:E3:8B:7D:58:C7:E2:50:DE:4A:17:30:60:91:09:03:41:0C:AB:3B:0E:BE:80:4F:0A:73:01:EC:9D:09:45:36:29:B1:44:E0:05:BA:65:D7:E9:82:8C:56:A3:BC:25:64:C3:91:36:1B:FC:FA:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213185252Z", "not_valid_before": "20250213185338Z" } } }, "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:50 -0500 (0:00:00.026) 0:00:22.833 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.055) 0:00:22.889 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.028) 0:00:22.918 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.055) 0:00:22.973 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.050) 0:00:23.024 ***** ok: [managed-node1] => { "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:50 -0500 (0:00:00.045) 0:00:23.070 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185 `" && echo ansible-tmp-1739472830.8423982-12265-20730189195185="` echo /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472830.8423982-12265-20730189195185=/root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpcv9gb19s TO /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/AnsiballZ_command.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpcv9gb19s /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/AnsiballZ_command.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/ /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:53:51.091266", "end": "2025-02-13 13:53:51.145362", "delta": "0:00:00.054096", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472830.8423982-12265-20730189195185/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.054096", "end": "2025-02-13 13:53:51.145362", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:53:51.091266" } 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:51 -0500 (0:00:00.400) 0:00:23.471 ***** ok: [managed-node1] => { "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:51 -0500 (0:00:00.063) 0:00:23.534 ***** ok: [managed-node1] => { "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:51 -0500 (0:00:00.019) 0:00:23.553 ***** skipping: [managed-node1] => { "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:51 -0500 (0:00:00.029) 0:00:23.582 ***** skipping: [managed-node1] => { "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:51 -0500 (0:00:00.028) 0:00:23.611 ***** skipping: [managed-node1] => { "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:51 -0500 (0:00:00.017) 0:00:23.629 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430 `" && echo ansible-tmp-1739472831.433665-12295-276315827587430="` echo /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472831.433665-12295-276315827587430=/root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpscwwfk8c TO /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/AnsiballZ_dnf.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpscwwfk8c /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/AnsiballZ_dnf.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/ /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.43.226> (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.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472831.433665-12295-276315827587430/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "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:54 -0500 (0:00:02.942) 0:00:26.571 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227 `" && echo ansible-tmp-1739472834.3464065-12514-194968699103227="` echo /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472834.3464065-12514-194968699103227=/root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpd99vuk_u TO /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpd99vuk_u /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/ /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/another-cert.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718646, "dev": 51713, "nlink": 1, "atime": 1739472819.6665473, "mtime": 1739472819.6635473, "ctime": 1739472819.6635473, "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": "b060fd51fe93fbe3fddda90726e31cad2f66bc76", "mimetype": "text/plain", "charset": "us-ascii", "version": "1938618761", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/another-cert.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472834.3464065-12514-194968699103227/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/another-cert.crt" } }, "stat": { "atime": 1739472819.6665473, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b060fd51fe93fbe3fddda90726e31cad2f66bc76", "ctime": 1739472819.6635473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718646, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472819.6635473, "nlink": 1, "path": "/etc/pki/tls/certs/another-cert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "1938618761", "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:54 -0500 (0:00:00.358) 0:00:26.929 ***** ok: [managed-node1] => { "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:54 -0500 (0:00:00.019) 0:00:26.949 ***** ok: [managed-node1] => { "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:54 -0500 (0:00:00.051) 0:00:27.001 ***** ok: [managed-node1] => { "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:54 -0500 (0:00:00.056) 0:00:27.058 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233 `" && echo ansible-tmp-1739472834.8390443-12540-66763820481233="` echo /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472834.8390443-12540-66763820481233=/root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp8j38f6j0 TO /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/AnsiballZ_stat.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmp8j38f6j0 /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/AnsiballZ_stat.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/ /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/another-cert.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718645, "dev": 51713, "nlink": 1, "atime": 1739472819.6215467, "mtime": 1739472819.6635473, "ctime": 1739472819.6635473, "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": "967cb8479220983e241dc40d5cf5d96355748792", "mimetype": "text/plain", "charset": "us-ascii", "version": "3139775426", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/another-cert.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472834.8390443-12540-66763820481233/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/another-cert.key" } }, "stat": { "atime": 1739472819.6215467, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "967cb8479220983e241dc40d5cf5d96355748792", "ctime": 1739472819.6635473, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718645, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472819.6635473, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "3139775426", "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:55 -0500 (0:00:00.382) 0:00:27.440 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.017) 0:00:27.457 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.039) 0:00:27.497 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336 `" && echo ansible-tmp-1739472835.2688608-12562-93098862451336="` echo /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472835.2688608-12562-93098862451336=/root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336\n', b'') Using module file /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpbtix9p15 TO /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/AnsiballZ_certtojson.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpbtix9p15 /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/AnsiballZ_certtojson.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/ /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213185252Z", "not_valid_before": "20250213185339Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "35:54:92:D1:05:EC:B5:F7:C6:1D:63:FD:2E:76:DC:0B:80:3B:39:A1:68:FC:FC:5C:16:41:8D:7C:3A:1E:B1:72:D4:7A:02:21:44:52:37:A9:37:44:F9:65:83:13:9D:24:15:4D:C1:41:EC:A3:8A:1D:2B:08:CA:64:90:AB:75:DC:FA:C8:79:C7:D3:D5:4F:F4:92:4E:3B:7C:8C:63:6C:E0:A9:10:33:57:1C:9D:DF:BD:59:7E:66:2E:5E:08:28:E5:42:4C:F2:EC:5D:71:DD:E3:EF:D6:C1:14:51:78:C5:91:DE:51:43:06:9A:13:DB:D6:9B:29:E8:64:7E:6B:52:A5:45:8A:23:35:F1:ED:66:EE:F6:51:60:3A:C5:15:2A:78:CA:19:73:29:28:27:7B:FB:92:B4:43:E9:B9:BF:21:A5:6B:06:3F:40:58:4E:5B:BC:99:8F:93:99:9C:88:C9:1D:60:FC:FA:97:4D:D0:29:5B:81:39:B7:D7:D3:A1:43:BA:DE:70:76:7F:E7:01:44:4E:F8:0B:DB:99:8B:E0:87:8C:05:B6:FE:60:B8:64:87:16:3E:D3:6B:50:97:26:65:C8:B1:A0:73:0C:3E:F1:4C:7B:86:CA:0D:0C:12:9E:6B:BD:2A:63:78:73:04:A4:36:12:6A:FC:DD:C7:87:85:A3:AE"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.net"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.net"}]}, "extendedKeyUsage": {"critical": false, "value": [{"name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1"}, {"name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "FA:F7:76:16:A2:82:A6:AB:98:17:D5:F5:D4:EA:16:E7:EE:D0:34:EF"}, "authorityKeyIdentifier": {"critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472835.2688608-12562-93098862451336/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FA:F7:76:16:A2:82:A6:AB:98:17:D5:F5:D4:EA:16:E7:EE:D0:34:EF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "35:54:92:D1:05:EC:B5:F7:C6:1D:63:FD:2E:76:DC:0B:80:3B:39:A1:68:FC:FC:5C:16:41:8D:7C:3A:1E:B1:72:D4:7A:02:21:44:52:37:A9:37:44:F9:65:83:13:9D:24:15:4D:C1:41:EC:A3:8A:1D:2B:08:CA:64:90:AB:75:DC:FA:C8:79:C7:D3:D5:4F:F4:92:4E:3B:7C:8C:63:6C:E0:A9:10:33:57:1C:9D:DF:BD:59:7E:66:2E:5E:08:28:E5:42:4C:F2:EC:5D:71:DD:E3:EF:D6:C1:14:51:78:C5:91:DE:51:43:06:9A:13:DB:D6:9B:29:E8:64:7E:6B:52:A5:45:8A:23:35:F1:ED:66:EE:F6:51:60:3A:C5:15:2A:78:CA:19:73:29:28:27:7B:FB:92:B4:43:E9:B9:BF:21:A5:6B:06:3F:40:58:4E:5B:BC:99:8F:93:99:9C:88:C9:1D:60:FC:FA:97:4D:D0:29:5B:81:39:B7:D7:D3:A1:43:BA:DE:70:76:7F:E7:01:44:4E:F8:0B:DB:99:8B:E0:87:8C:05:B6:FE:60:B8:64:87:16:3E:D3:6B:50:97:26:65:C8:B1:A0:73:0C:3E:F1:4C:7B:86:CA:0D:0C:12:9E:6B:BD:2A:63:78:73:04:A4:36:12:6A:FC:DD:C7:87:85:A3:AE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213185252Z", "not_valid_before": "20250213185339Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/another-cert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:53:55 -0500 (0:00:00.410) 0:00:27.908 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "88:48:87:DA:62:FB:1F:09:68:CF:7C:7F:9D:C9:50:F8:D0:AD:F8:79" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "FA:F7:76:16:A2:82:A6:AB:98:17:D5:F5:D4:EA:16:E7:EE:D0:34:EF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "35:54:92:D1:05:EC:B5:F7:C6:1D:63:FD:2E:76:DC:0B:80:3B:39:A1:68:FC:FC:5C:16:41:8D:7C:3A:1E:B1:72:D4:7A:02:21:44:52:37:A9:37:44:F9:65:83:13:9D:24:15:4D:C1:41:EC:A3:8A:1D:2B:08:CA:64:90:AB:75:DC:FA:C8:79:C7:D3:D5:4F:F4:92:4E:3B:7C:8C:63:6C:E0:A9:10:33:57:1C:9D:DF:BD:59:7E:66:2E:5E:08:28:E5:42:4C:F2:EC:5D:71:DD:E3:EF:D6:C1:14:51:78:C5:91:DE:51:43:06:9A:13:DB:D6:9B:29:E8:64:7E:6B:52:A5:45:8A:23:35:F1:ED:66:EE:F6:51:60:3A:C5:15:2A:78:CA:19:73:29:28:27:7B:FB:92:B4:43:E9:B9:BF:21:A5:6B:06:3F:40:58:4E:5B:BC:99:8F:93:99:9C:88:C9:1D:60:FC:FA:97:4D:D0:29:5B:81:39:B7:D7:D3:A1:43:BA:DE:70:76:7F:E7:01:44:4E:F8:0B:DB:99:8B:E0:87:8C:05:B6:FE:60:B8:64:87:16:3E:D3:6B:50:97:26:65:C8:B1:A0:73:0C:3E:F1:4C:7B:86:CA:0D:0C:12:9E:6B:BD:2A:63:78:73:04:A4:36:12:6A:FC:DD:C7:87:85:A3:AE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213185252Z", "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:55 -0500 (0:00:00.018) 0:00:27.927 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.037) 0:00:27.964 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.018) 0:00:27.983 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.037) 0:00:28.020 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.041) 0:00:28.061 ***** ok: [managed-node1] => { "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:55 -0500 (0:00:00.039) 0:00:28.101 ***** <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.226> (0, b'/root\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855 `" && echo ansible-tmp-1739472835.8726282-12583-152801539624855="` echo /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855 `" ) && sleep 0'"'"'' <10.31.43.226> (0, b'ansible-tmp-1739472835.8726282-12583-152801539624855=/root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.43.226> PUT /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpdg4zjc2n TO /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/AnsiballZ_command.py <10.31.43.226> 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/2c73c10f4a"' '[10.31.43.226]' <10.31.43.226> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11021q5b3s8gf/tmpdg4zjc2n /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/AnsiballZ_command.py\n', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/ /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' -tt 10.31.43.226 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.226> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 13:53:56.124516", "end": "2025-02-13 13:53:56.179352", "delta": "0:00:00.054836", "msg": "", "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "expand_argument_vars": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.43.226 closed.\r\n') <10.31.43.226> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.226> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/2c73c10f4a"' 10.31.43.226 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472835.8726282-12583-152801539624855/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.226> (0, b'', b'') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.054836", "end": "2025-02-13 13:53:56.179352", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 13:53:56.124516" } 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:56 -0500 (0:00:00.397) 0:00:28.498 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node1 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 13:53:56 -0500 (0:00:00.034) 0:00:28.533 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.16s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.94s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.93s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.93s /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.91s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.46s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.77s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.72s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.64s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.50s /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.49s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.48s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Parse certificate ------------------------------------------------------- 0.41s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.40s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.40s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.39s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.39s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.38s /tmp/collections-8qw/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65