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-eB5 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-B4e.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-B4e.yml as it did not pass its verify_file() method Parsed /tmp/inventory-B4e.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-eB5/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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 15:05:21 -0500 (0:00:00.009) 0:00:00.009 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396 `" && echo ansible-tmp-1739477121.0557454-11343-279077003188396="` echo /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477121.0557454-11343-279077003188396=/root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396\n', b'') Attempting python interpreter discovery <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/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.42.192> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.42.192> (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.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpolrcgzx7 TO /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/AnsiballZ_setup.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpolrcgzx7 /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/AnsiballZ_setup.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/ /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.192> (0, b'\r\n{"ansible_facts": {"ansible_local": {}, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "477a4b47b62f4370a6fc6bb12bf5221f", "ansible_lsb": {}, "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_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": "AAAAB3NzaC1kc3MAAACBAM4sEFf8FynIJK4DJuJ0HxUAg1CezuqbkBuCAIg3aWYzW/6IfhWVlpTAy8TuOEd1V/+WauhQx3c0/pxZWYH9yFTUx1Bc21af5VKadEvwxSrfzALrpKcWTs2vU0Dw54GZD5xjh2dyOr14IiMBkaGnwwLXpTiz2NRYYT8lnJnFg4BFAAAAFQD1uVqhamAe3gHxOdHvz+5mc0/ogQAAAIEAmcCaSg4ARviO4xs0UAuy/sd0nxko7/INm5HH3U4XYK9lluX6Y3aaqEvy4/EZcmYQP0OqE3CTZfFAcg9YW438IfGg5RiCJZfSYEVT0BGRo2FHHPNHdGg+3bXQ/yYlxK6qo7/00dQjt+vGNyXswVLT/97GBGzU/x9keWfLBDESd/0AAACBAMq6/O58VvHm7T3DX0kC7XXc3ZJLBLTdxgO6/iAxK0gleOJt6yfL50Z1xgwAKUmiTLNTeKSDdJaGzhqSGh7cXENhrGBzL2pXquDor+GLMnXwD1kbHSurVWKpr3R1YeCIWShOhdsft1C55y363e8YEK3PwVM2V6xBysVBU7SGeHyJ", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC9WicDiHAd001pGci7acrKUHvA3/7yroKdjm7zBpkBEIrdiTZleCyRBj2RNQ6twd8IKajrIM3vZ60mUVJEvkDZJcp/CEesXKcgHYqodxMNjvoQp12s2H2x9FEHRgkLBVkme8LkeaxoRGjJQ6yPLtoF2t7AY1cn0OdRpY4yQSudkrNBBaEK0aAPquhR+CbmTeuqaicwvsLds0470RBRLD89DDLJYdV4DAoUZgONualXPZSMfJtNjY20oa8oFBnbzLV3CvRl/FxbDmiZCfAkpk0m/06PZE0VuSe4w4zmdverVFploaoQ6KXqzGU5Wo5TpWHy9JBFwKBFuJUlCnqtD/L4F0WuVY14x0iPWhTbItKFaOQ+TMXpyzLLXD0+E6kwrhLG1U8PT5Qienw/EO448a4MYCx9YZVqfRSjXrlvdlUUHMKnBMzUE0/YEkqQyC+pZxJCIJrEI4xF0MuckthA/OahdU/Bstmtta7Cv1UFokq+rWJgO8ZqZJEJ7l6N7atn09E=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIoEL0Usi69ybBaaZadb4wLxUh05LncEG5nYAWjdYZNqEeqDv3K7sXjqhUKu+X88UdYCq4BEfd50rxknt6J9t+s=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIC05UAZyg4I5eFE5uzzFQp6qB/2MaOAFSrj6eJVA8b5S", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_fibre_channel_wwn": [], "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_is_chroot": false, "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "15", "minute": "05", "second": "21", "epoch": "1739477121", "epoch_int": "1739477121", "date": "2025-02-13", "time": "15:05:21", "iso8601_micro": "2025-02-13T20:05:21.737627Z", "iso8601": "2025-02-13T20:05:21Z", "iso8601_basic": "20250213T150521737627", "iso8601_basic_short": "20250213T150521", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_apparmor": {"status": "disabled"}, "ansible_fips": false, "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_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.40.94 59482 10.31.42.192 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.40.94 59482 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_hostnqn": "", "ansible_iscsi_iqn": "", "ansible_loadavg": {"1m": 0.6, "5m": 0.32, "15m": 0.16}, "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": 2750, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 789, "free": 2750}, "nocache": {"free": 3306, "used": 233}, "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": "ec23b201-0ff0-df88-5dac-fa01c14452ac", "ansible_product_uuid": "ec23b201-0ff0-df88-5dac-fa01c14452ac", "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": 508, "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": 263558758400, "block_size": 4096, "block_total": 65533179, "block_available": 64345400, "block_used": 1187779, "inode_total": 131071472, "inode_available": 130995949, "inode_used": 75523, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_interfaces": ["eth0", "lo"], "ansible_eth0": {"device": "eth0", "macaddress": "0e:3a:bc:49:f7:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.42.192", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22"}, "ipv6": [{"address": "fe80::c3a:bcff:fe49:f731", "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.42.192", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "macaddress": "0e:3a:bc:49:f7:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.42.192"], "ansible_all_ipv6_addresses": ["fe80::c3a:bcff:fe49:f731"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.42.192", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::c3a:bcff:fe49:f731"]}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_pkg_mgr": "dnf", "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": [], "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477121.0557454-11343-279077003188396/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 15:05:22 -0500 (0:00:01.039) 0:00:01.048 ***** included: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 15:05:22 -0500 (0:00:00.032) 0:00:01.081 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 15:05:22 -0500 (0:00:00.032) 0:00:01.114 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671 `" && echo ansible-tmp-1739477122.1650147-11356-111942578326671="` echo /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477122.1650147-11356-111942578326671=/root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpiik0ziw2 TO /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpiik0ziw2 /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/ /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477122.1650147-11356-111942578326671/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 15:05:22 -0500 (0:00:00.417) 0:00:01.531 ***** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 15:05:22 -0500 (0:00:00.021) 0:00:01.553 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 15:05:22 -0500 (0:00:00.030) 0:00:01.583 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084 `" && echo ansible-tmp-1739477122.6584797-11366-233748876050084="` echo /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477122.6584797-11366-233748876050084=/root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmphzhhtix6 TO /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/AnsiballZ_dnf.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmphzhhtix6 /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/AnsiballZ_dnf.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/ /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477122.6584797-11366-233748876050084/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 15:05:25 -0500 (0:00:03.016) 0:00:04.599 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792 `" && echo ansible-tmp-1739477125.6756947-11528-89232072087792="` echo /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477125.6756947-11528-89232072087792=/root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpk_8tlz_a TO /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/AnsiballZ_dnf.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpk_8tlz_a /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/AnsiballZ_dnf.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/ /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477125.6756947-11528-89232072087792/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 15:05:28 -0500 (0:00:02.897) 0:00:07.497 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504 `" && echo ansible-tmp-1739477128.5736861-11648-25563321999504="` echo /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477128.5736861-11648-25563321999504=/root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3_gljw3x TO /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/AnsiballZ_file.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3_gljw3x /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/AnsiballZ_file.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/ /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477128.5736861-11648-25563321999504/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 15:05:28 -0500 (0:00:00.477) 0:00:07.975 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135 `" && echo ansible-tmp-1739477129.0518687-11663-249248117234135="` echo /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477129.0518687-11663-249248117234135=/root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp22sb5_pn TO /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/AnsiballZ_file.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp22sb5_pn /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/AnsiballZ_file.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/ /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477129.0518687-11663-249248117234135/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 15:05:29 -0500 (0:00:00.367) 0:00:08.342 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165 `" && echo ansible-tmp-1739477129.4165735-11671-113573550708165="` echo /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477129.4165735-11671-113573550708165=/root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3pva3ox0 TO /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/AnsiballZ_systemd.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3pva3ox0 /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/AnsiballZ_systemd.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/ /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.192> (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 15:04:10 EST", "WatchdogTimestampMonotonic": "437451991", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8693", "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 15:04:10 EST", "ExecMainStartTimestampMonotonic": "437440784", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8693", "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 15:04:10 EST] ; stop_time=[n/a] ; pid=8693 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3923968", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22405", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "dbus.socket sysinit.target system.slice", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "shutdown.target multi-user.target", "After": "syslog.target dbus.socket basic.target system.slice systemd-journald.socket dbus.service sysinit.target network.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 15:04:10 EST", "StateChangeTimestampMonotonic": "437451993", "InactiveExitTimestamp": "Thu 2025-02-13 15:04:10 EST", "InactiveExitTimestampMonotonic": "437440824", "ActiveEnterTimestamp": "Thu 2025-02-13 15:04:10 EST", "ActiveEnterTimestampMonotonic": "437451993", "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 15:04:10 EST", "ConditionTimestampMonotonic": "437440030", "AssertTimestamp": "Thu 2025-02-13 15:04:10 EST", "AssertTimestampMonotonic": "437440031", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "4418a188c8ed4a1080f72e1717d66219", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477129.4165735-11671-113573550708165/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": "system", "state": "started" } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 15:04:10 EST", "ActiveEnterTimestampMonotonic": "437451993", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "syslog.target dbus.socket basic.target system.slice systemd-journald.socket dbus.service sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 15:04:10 EST", "AssertTimestampMonotonic": "437440031", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 15:04:10 EST", "ConditionTimestampMonotonic": "437440030", "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": "8693", "ExecMainStartTimestamp": "Thu 2025-02-13 15:04:10 EST", "ExecMainStartTimestampMonotonic": "437440784", "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 15:04:10 EST] ; stop_time=[n/a] ; pid=8693 ; 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 15:04:10 EST", "InactiveExitTimestampMonotonic": "437440824", "InvocationID": "4418a188c8ed4a1080f72e1717d66219", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8693", "MemoryAccounting": "yes", "MemoryCurrent": "3923968", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2025-02-13 15:04:10 EST", "StateChangeTimestampMonotonic": "437451993", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 15:04:10 EST", "WatchdogTimestampMonotonic": "437451991", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 15:05:30 -0500 (0:00:00.702) 0:00:09.044 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477 `" && echo ansible-tmp-1739477130.1447234-11686-34075718248477="` echo /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477130.1447234-11686-34075718248477=/root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpyz4tl201 TO /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/AnsiballZ_certificate_request.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpyz4tl201 /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/AnsiballZ_certificate_request.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/ /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477130.1447234-11686-34075718248477/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') changed: [managed-node2] => (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.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016 `" && echo ansible-tmp-1739477130.9917877-11686-180900385561016="` echo /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477130.9917877-11686-180900385561016=/root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmplhskuzn5 TO /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/AnsiballZ_certificate_request.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmplhskuzn5 /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/AnsiballZ_certificate_request.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/ /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477130.9917877-11686-180900385561016/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') changed: [managed-node2] => (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.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069 `" && echo ansible-tmp-1739477131.605085-11686-37798308808069="` echo /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477131.605085-11686-37798308808069=/root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpff869w56 TO /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/AnsiballZ_certificate_request.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpff869w56 /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/AnsiballZ_certificate_request.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/ /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477131.605085-11686-37798308808069/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') changed: [managed-node2] => (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-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 15:05:32 -0500 (0:00:02.350) 0:00:11.395 ***** skipping: [managed-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 15:05:32 -0500 (0:00:00.064) 0:00:11.460 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 15:05:32 -0500 (0:00:00.031) 0:00:11.492 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 15:05:32 -0500 (0:00:00.033) 0:00:11.525 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Thursday 13 February 2025 15:05:32 -0500 (0:00:00.041) 0:00:11.567 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660 `" && echo ansible-tmp-1739477132.613183-11735-44881799319660="` echo /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477132.613183-11735-44881799319660=/root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpinckgk53 TO /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/AnsiballZ_setup.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpinckgk53 /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/AnsiballZ_setup.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/ /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.192> (0, b'\r\n{"ansible_facts": {"ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "477a4b47b62f4370a6fc6bb12bf5221f", "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": 2750, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 789, "free": 2750}, "nocache": {"free": 3306, "used": 233}, "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": "ec23b201-0ff0-df88-5dac-fa01c14452ac", "ansible_product_uuid": "ec23b201-0ff0-df88-5dac-fa01c14452ac", "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": 520, "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": 263558705152, "block_size": 4096, "block_total": 65533179, "block_available": 64345387, "block_used": 1187792, "inode_total": 131071472, "inode_available": 130995940, "inode_used": 75532, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_hostnqn": "", "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_local": {}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_pkg_mgr": "dnf", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_iscsi_iqn": "", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAM4sEFf8FynIJK4DJuJ0HxUAg1CezuqbkBuCAIg3aWYzW/6IfhWVlpTAy8TuOEd1V/+WauhQx3c0/pxZWYH9yFTUx1Bc21af5VKadEvwxSrfzALrpKcWTs2vU0Dw54GZD5xjh2dyOr14IiMBkaGnwwLXpTiz2NRYYT8lnJnFg4BFAAAAFQD1uVqhamAe3gHxOdHvz+5mc0/ogQAAAIEAmcCaSg4ARviO4xs0UAuy/sd0nxko7/INm5HH3U4XYK9lluX6Y3aaqEvy4/EZcmYQP0OqE3CTZfFAcg9YW438IfGg5RiCJZfSYEVT0BGRo2FHHPNHdGg+3bXQ/yYlxK6qo7/00dQjt+vGNyXswVLT/97GBGzU/x9keWfLBDESd/0AAACBAMq6/O58VvHm7T3DX0kC7XXc3ZJLBLTdxgO6/iAxK0gleOJt6yfL50Z1xgwAKUmiTLNTeKSDdJaGzhqSGh7cXENhrGBzL2pXquDor+GLMnXwD1kbHSurVWKpr3R1YeCIWShOhdsft1C55y363e8YEK3PwVM2V6xBysVBU7SGeHyJ", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC9WicDiHAd001pGci7acrKUHvA3/7yroKdjm7zBpkBEIrdiTZleCyRBj2RNQ6twd8IKajrIM3vZ60mUVJEvkDZJcp/CEesXKcgHYqodxMNjvoQp12s2H2x9FEHRgkLBVkme8LkeaxoRGjJQ6yPLtoF2t7AY1cn0OdRpY4yQSudkrNBBaEK0aAPquhR+CbmTeuqaicwvsLds0470RBRLD89DDLJYdV4DAoUZgONualXPZSMfJtNjY20oa8oFBnbzLV3CvRl/FxbDmiZCfAkpk0m/06PZE0VuSe4w4zmdverVFploaoQ6KXqzGU5Wo5TpWHy9JBFwKBFuJUlCnqtD/L4F0WuVY14x0iPWhTbItKFaOQ+TMXpyzLLXD0+E6kwrhLG1U8PT5Qienw/EO448a4MYCx9YZVqfRSjXrlvdlUUHMKnBMzUE0/YEkqQyC+pZxJCIJrEI4xF0MuckthA/OahdU/Bstmtta7Cv1UFokq+rWJgO8ZqZJEJ7l6N7atn09E=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIoEL0Usi69ybBaaZadb4wLxUh05LncEG5nYAWjdYZNqEeqDv3K7sXjqhUKu+X88UdYCq4BEfd50rxknt6J9t+s=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIC05UAZyg4I5eFE5uzzFQp6qB/2MaOAFSrj6eJVA8b5S", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_fips": false, "ansible_is_chroot": false, "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0e:3a:bc:49:f7:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.42.192", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22"}, "ipv6": [{"address": "fe80::c3a:bcff:fe49:f731", "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.42.192", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "prefix": "22", "macaddress": "0e:3a:bc:49:f7:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.42.192"], "ansible_all_ipv6_addresses": ["fe80::c3a:bcff:fe49:f731"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.42.192", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::c3a:bcff:fe49:f731"]}, "ansible_lsb": {}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.40.94 59482 10.31.42.192 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.40.94 59482 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_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_apparmor": {"status": "disabled"}, "ansible_fibre_channel_wwn": [], "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_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "15", "minute": "05", "second": "33", "epoch": "1739477133", "epoch_int": "1739477133", "date": "2025-02-13", "time": "15:05:33", "iso8601_micro": "2025-02-13T20:05:33.252167Z", "iso8601": "2025-02-13T20:05:33Z", "iso8601_basic": "20250213T150533252167", "iso8601_basic_short": "20250213T150533", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_loadavg": {"1m": 0.61, "5m": 0.34, "15m": 0.17}, "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_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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477132.613183-11735-44881799319660/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.735) 0:00:12.302 ***** included: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.061) 0:00:12.363 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.013) 0:00:12.377 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.016) 0:00:12.394 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.015) 0:00:12.410 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:05:33 -0500 (0:00:00.011) 0:00:12.421 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759 `" && echo ansible-tmp-1739477133.4898221-11755-91759407815759="` echo /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477133.4898221-11755-91759407815759=/root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp_gf6n2dk TO /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/AnsiballZ_dnf.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp_gf6n2dk /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/AnsiballZ_dnf.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/ /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477133.4898221-11755-91759407815759/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:05:36 -0500 (0:00:02.894) 0:00:15.316 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972 `" && echo ansible-tmp-1739477136.3659-11823-174171332552972="` echo /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477136.3659-11823-174171332552972=/root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpyz3s3qup TO /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpyz3s3qup /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/ /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718646, "dev": 51713, "nlink": 1, "atime": 1739477130.7746887, "mtime": 1739477130.7716887, "ctime": 1739477130.7716887, "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": "61b4d88904fc70d633538fb77d9426b335f5f1a0", "mimetype": "text/plain", "charset": "us-ascii", "version": "2385077861", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477136.3659-11823-174171332552972/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } }, "stat": { "atime": 1739477130.7746887, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "61b4d88904fc70d633538fb77d9426b335f5f1a0", "ctime": 1739477130.7716887, "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": 1739477130.7716887, "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": "2385077861", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:05:36 -0500 (0:00:00.344) 0:00:15.660 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:05:36 -0500 (0:00:00.017) 0:00:15.678 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:05:36 -0500 (0:00:00.038) 0:00:15.717 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:05:36 -0500 (0:00:00.035) 0:00:15.752 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970 `" && echo ansible-tmp-1739477136.8044112-11834-163042962971970="` echo /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477136.8044112-11834-163042962971970=/root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpftccn4xp TO /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpftccn4xp /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/ /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718645, "dev": 51713, "nlink": 1, "atime": 1739477130.7306888, "mtime": 1739477130.7716887, "ctime": 1739477130.7716887, "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": "a0bd8034be9138620a84c0d0dc566b4b115cdbad", "mimetype": "text/plain", "charset": "us-ascii", "version": "2781783720", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477136.8044112-11834-163042962971970/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key" } }, "stat": { "atime": 1739477130.7306888, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a0bd8034be9138620a84c0d0dc566b4b115cdbad", "ctime": 1739477130.7716887, "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": 1739477130.7716887, "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": "2781783720", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.374) 0:00:16.127 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.016) 0:00:16.143 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.038) 0:00:16.182 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445 `" && echo ansible-tmp-1739477137.2303379-11864-138951110216445="` echo /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477137.2303379-11864-138951110216445=/root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp05dkfb23 TO /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/AnsiballZ_certtojson.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp05dkfb23 /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/AnsiballZ_certtojson.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/ /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213200410Z", "not_valid_before": "20250213200530Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "62:25:F7:D9:47:F9:67:E1:B8:17:8E:23:33:BF:A7:98:98:D4:8D:42:83:F5:64:87:53:9F:9C:A8:6D:53:63:CF:74:DF:F8:20:D5:43:48:97:28:65:73:66:7B:CC:F3:6F:74:49:0E:50:BC:A8:48:21:7F:3E:1C:2B:A4:28:32:1A:FD:0C:52:88:E5:7E:64:51:49:58:C1:A8:6E:82:9E:C9:53:34:65:5E:7F:C1:7A:04:8C:9C:9E:54:2A:C7:D0:46:40:DE:48:19:D0:E3:DE:13:06:70:7D:DD:C1:7E:15:9D:7A:74:6B:95:21:D3:C8:9D:C2:98:37:17:5D:A4:ED:85:F5:05:B2:B9:91:38:20:DB:01:47:60:87:33:F1:6A:29:8B:4D:24:37:8C:E0:D0:63:DD:64:15:A4:82:8D:58:F7:74:3A:D8:9F:D9:A3:7B:B6:0B:06:CD:EA:0E:D4:02:E2:C5:F6:C2:62:AE:1A:D7:8A:AF:88:08:EA:D4:5E:C6:B4:73:8A:AB:04:9C:72:E1:C5:EE:9C:D6:79:5A:D6:94:57:E4:00:10:01:21:F1:10:2F:DC:1A:58:DC:70:1C:95:9B:BE:BD:60:BD:92:C8:21:91:8A:66:83:A6:BF:6D:4A:30:BD:8D:F3:56:AD:52:FD:DA:77:A4:00:61:1C:AF:19:8C"}, "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": "25:6D:D9:6C:CE:DF:3C:A3:EC:78:9E:E9:EB:E9:6E:75:76:39:9E:1A"}, "authorityKeyIdentifier": {"critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}}\r\n', b'Shared connection to 10.31.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477137.2303379-11864-138951110216445/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "25:6D:D9:6C:CE:DF:3C:A3:EC:78:9E:E9:EB:E9:6E:75:76:39:9E:1A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "62:25:F7:D9:47:F9:67:E1:B8:17:8E:23:33:BF:A7:98:98:D4:8D:42:83:F5:64:87:53:9F:9C:A8:6D:53:63:CF:74:DF:F8:20:D5:43:48:97:28:65:73:66:7B:CC:F3:6F:74:49:0E:50:BC:A8:48:21:7F:3E:1C:2B:A4:28:32:1A:FD:0C:52:88:E5:7E:64:51:49:58:C1:A8:6E:82:9E:C9:53:34:65:5E:7F:C1:7A:04:8C:9C:9E:54:2A:C7:D0:46:40:DE:48:19:D0:E3:DE:13:06:70:7D:DD:C1:7E:15:9D:7A:74:6B:95:21:D3:C8:9D:C2:98:37:17:5D:A4:ED:85:F5:05:B2:B9:91:38:20:DB:01:47:60:87:33:F1:6A:29:8B:4D:24:37:8C:E0:D0:63:DD:64:15:A4:82:8D:58:F7:74:3A:D8:9F:D9:A3:7B:B6:0B:06:CD:EA:0E:D4:02:E2:C5:F6:C2:62:AE:1A:D7:8A:AF:88:08:EA:D4:5E:C6:B4:73:8A:AB:04:9C:72:E1:C5:EE:9C:D6:79:5A:D6:94:57:E4:00:10:01:21:F1:10:2F:DC:1A:58:DC:70:1C:95:9B:BE:BD:60:BD:92:C8:21:91:8A:66:83:A6:BF:6D:4A:30:BD:8D:F3:56:AD:52:FD:DA:77:A4:00:61:1C:AF:19:8C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200530Z" } }, "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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.492) 0:00:16.674 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "25:6D:D9:6C:CE:DF:3C:A3:EC:78:9E:E9:EB:E9:6E:75:76:39:9E:1A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "62:25:F7:D9:47:F9:67:E1:B8:17:8E:23:33:BF:A7:98:98:D4:8D:42:83:F5:64:87:53:9F:9C:A8:6D:53:63:CF:74:DF:F8:20:D5:43:48:97:28:65:73:66:7B:CC:F3:6F:74:49:0E:50:BC:A8:48:21:7F:3E:1C:2B:A4:28:32:1A:FD:0C:52:88:E5:7E:64:51:49:58:C1:A8:6E:82:9E:C9:53:34:65:5E:7F:C1:7A:04:8C:9C:9E:54:2A:C7:D0:46:40:DE:48:19:D0:E3:DE:13:06:70:7D:DD:C1:7E:15:9D:7A:74:6B:95:21:D3:C8:9D:C2:98:37:17:5D:A4:ED:85:F5:05:B2:B9:91:38:20:DB:01:47:60:87:33:F1:6A:29:8B:4D:24:37:8C:E0:D0:63:DD:64:15:A4:82:8D:58:F7:74:3A:D8:9F:D9:A3:7B:B6:0B:06:CD:EA:0E:D4:02:E2:C5:F6:C2:62:AE:1A:D7:8A:AF:88:08:EA:D4:5E:C6:B4:73:8A:AB:04:9C:72:E1:C5:EE:9C:D6:79:5A:D6:94:57:E4:00:10:01:21:F1:10:2F:DC:1A:58:DC:70:1C:95:9B:BE:BD:60:BD:92:C8:21:91:8A:66:83:A6:BF:6D:4A:30:BD:8D:F3:56:AD:52:FD:DA:77:A4:00:61:1C:AF:19:8C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200530Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.021) 0:00:16.696 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.052) 0:00:16.748 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.028) 0:00:16.777 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.052) 0:00:16.829 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.061) 0:00:16.890 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:05:37 -0500 (0:00:00.063) 0:00:16.954 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591 `" && echo ansible-tmp-1739477138.0098329-11892-247173974315591="` echo /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477138.0098329-11892-247173974315591=/root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpphxkm6n4 TO /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/AnsiballZ_command.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpphxkm6n4 /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/AnsiballZ_command.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/ /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (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 15:05:38.356542", "end": "2025-02-13 15:05:38.414655", "delta": "0:00:00.058113", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477138.0098329-11892-247173974315591/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "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.058113", "end": "2025-02-13 15:05:38.414655", "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 15:05:38.356542" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.497) 0:00:17.451 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.036) 0:00:17.487 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.013) 0:00:17.501 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.017) 0:00:17.518 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.015) 0:00:17.534 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:05:38 -0500 (0:00:00.013) 0:00:17.548 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265 `" && echo ansible-tmp-1739477138.6169791-11911-57910963567265="` echo /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477138.6169791-11911-57910963567265=/root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp8gp5sgba TO /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/AnsiballZ_dnf.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp8gp5sgba /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/AnsiballZ_dnf.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/ /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477138.6169791-11911-57910963567265/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:05:41 -0500 (0:00:02.903) 0:00:20.451 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306 `" && echo ansible-tmp-1739477141.5009224-11959-102337949863306="` echo /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477141.5009224-11959-102337949863306=/root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpcm0vrx46 TO /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpcm0vrx46 /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/ /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718648, "dev": 51713, "nlink": 1, "atime": 1739477131.4706886, "mtime": 1739477131.4676886, "ctime": 1739477131.4676886, "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": "69fc0093f0f0b9802a9973f80911d09ec47dd050", "mimetype": "text/plain", "charset": "us-ascii", "version": "73957873", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477141.5009224-11959-102337949863306/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/other-cert.crt" } }, "stat": { "atime": 1739477131.4706886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "69fc0093f0f0b9802a9973f80911d09ec47dd050", "ctime": 1739477131.4676886, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718648, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739477131.4676886, "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": "73957873", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:05:41 -0500 (0:00:00.352) 0:00:20.804 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:05:41 -0500 (0:00:00.016) 0:00:20.821 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:05:41 -0500 (0:00:00.046) 0:00:20.867 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:05:41 -0500 (0:00:00.039) 0:00:20.906 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898 `" && echo ansible-tmp-1739477141.955744-11980-50116141146898="` echo /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477141.955744-11980-50116141146898=/root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp7487dy1_ TO /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp7487dy1_ /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/ /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718647, "dev": 51713, "nlink": 1, "atime": 1739477131.4256885, "mtime": 1739477131.4676886, "ctime": 1739477131.4676886, "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": "cede7f731dbc8d58f5b15ac18b5df3ac1aaf90ac", "mimetype": "text/plain", "charset": "us-ascii", "version": "3292380021", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477141.955744-11980-50116141146898/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/other-cert.key" } }, "stat": { "atime": 1739477131.4256885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cede7f731dbc8d58f5b15ac18b5df3ac1aaf90ac", "ctime": 1739477131.4676886, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718647, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739477131.4676886, "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": "3292380021", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.349) 0:00:21.256 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.030) 0:00:21.287 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.058) 0:00:21.345 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271 `" && echo ansible-tmp-1739477142.4007804-12004-15196264276271="` echo /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477142.4007804-12004-15196264276271=/root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpliszm5s8 TO /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/AnsiballZ_certtojson.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpliszm5s8 /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/AnsiballZ_certtojson.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/ /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213200410Z", "not_valid_before": "20250213200531Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "27:65:67:62:42:BE:A4:C0:0A:AE:D7:4C:7C:75:6C:68:34:63:F1:6F:E3:BB:2E:F3:78:26:E9:1F:E6:98:E3:85:B8:A9:19:B1:C0:7E:48:14:81:19:91:0C:2C:38:08:82:0B:22:00:1E:4E:E4:8B:CB:E7:7A:90:31:9E:CD:D5:67:14:3E:82:BA:60:84:41:3D:9F:4A:8D:4F:00:AF:BA:A2:48:F5:CA:CC:A7:CC:DC:39:86:04:53:C4:F3:A2:85:7F:9B:6A:11:8F:25:45:B3:96:EF:6B:C7:3A:FC:6A:64:FA:64:6E:45:5D:A0:3D:DD:DA:F5:2B:03:89:8D:C1:C2:E4:9B:1E:8C:32:33:A6:07:9B:D4:DE:55:27:E8:AB:22:2B:26:FE:99:4F:8B:5A:3E:18:26:D9:52:03:CC:BB:FC:98:71:59:C2:06:A7:C7:4D:FD:5D:72:5F:BF:59:61:FB:4F:2C:69:8A:68:58:39:64:5F:9E:9B:64:DB:94:14:56:38:9F:1D:68:BE:A3:C4:EE:88:82:7A:92:1A:D7:C9:C9:50:A2:60:10:09:77:8A:94:5E:36:7F:1A:3B:EC:95:27:77:75:95:C9:64:9D:01:71:13:87:17:F1:70:C5:64:54:61:08:91:64:A8:9A:61:5C:16:F3:D3:CE:25:41:01:1B:A7"}, "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": "B5:7D:CB:E9:20:23:E5:21:97:9F:7E:4C:85:0C:1E:24:90:A0:2A:8B"}, "authorityKeyIdentifier": {"critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}}\r\n', b'Shared connection to 10.31.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477142.4007804-12004-15196264276271/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "B5:7D:CB:E9:20:23:E5:21:97:9F:7E:4C:85:0C:1E:24:90:A0:2A:8B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "27:65:67:62:42:BE:A4:C0:0A:AE:D7:4C:7C:75:6C:68:34:63:F1:6F:E3:BB:2E:F3:78:26:E9:1F:E6:98:E3:85:B8:A9:19:B1:C0:7E:48:14:81:19:91:0C:2C:38:08:82:0B:22:00:1E:4E:E4:8B:CB:E7:7A:90:31:9E:CD:D5:67:14:3E:82:BA:60:84:41:3D:9F:4A:8D:4F:00:AF:BA:A2:48:F5:CA:CC:A7:CC:DC:39:86:04:53:C4:F3:A2:85:7F:9B:6A:11:8F:25:45:B3:96:EF:6B:C7:3A:FC:6A:64:FA:64:6E:45:5D:A0:3D:DD:DA:F5:2B:03:89:8D:C1:C2:E4:9B:1E:8C:32:33:A6:07:9B:D4:DE:55:27:E8:AB:22:2B:26:FE:99:4F:8B:5A:3E:18:26:D9:52:03:CC:BB:FC:98:71:59:C2:06:A7:C7:4D:FD:5D:72:5F:BF:59:61:FB:4F:2C:69:8A:68:58:39:64:5F:9E:9B:64:DB:94:14:56:38:9F:1D:68:BE:A3:C4:EE:88:82:7A:92:1A:D7:C9:C9:50:A2:60:10:09:77:8A:94:5E:36:7F:1A:3B:EC:95:27:77:75:95:C9:64:9D:01:71:13:87:17:F1:70:C5:64:54:61:08:91:64:A8:9A:61:5C:16:F3:D3:CE:25:41:01:1B:A7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200531Z" } }, "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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.421) 0:00:21.767 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "B5:7D:CB:E9:20:23:E5:21:97:9F:7E:4C:85:0C:1E:24:90:A0:2A:8B" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "27:65:67:62:42:BE:A4:C0:0A:AE:D7:4C:7C:75:6C:68:34:63:F1:6F:E3:BB:2E:F3:78:26:E9:1F:E6:98:E3:85:B8:A9:19:B1:C0:7E:48:14:81:19:91:0C:2C:38:08:82:0B:22:00:1E:4E:E4:8B:CB:E7:7A:90:31:9E:CD:D5:67:14:3E:82:BA:60:84:41:3D:9F:4A:8D:4F:00:AF:BA:A2:48:F5:CA:CC:A7:CC:DC:39:86:04:53:C4:F3:A2:85:7F:9B:6A:11:8F:25:45:B3:96:EF:6B:C7:3A:FC:6A:64:FA:64:6E:45:5D:A0:3D:DD:DA:F5:2B:03:89:8D:C1:C2:E4:9B:1E:8C:32:33:A6:07:9B:D4:DE:55:27:E8:AB:22:2B:26:FE:99:4F:8B:5A:3E:18:26:D9:52:03:CC:BB:FC:98:71:59:C2:06:A7:C7:4D:FD:5D:72:5F:BF:59:61:FB:4F:2C:69:8A:68:58:39:64:5F:9E:9B:64:DB:94:14:56:38:9F:1D:68:BE:A3:C4:EE:88:82:7A:92:1A:D7:C9:C9:50:A2:60:10:09:77:8A:94:5E:36:7F:1A:3B:EC:95:27:77:75:95:C9:64:9D:01:71:13:87:17:F1:70:C5:64:54:61:08:91:64:A8:9A:61:5C:16:F3:D3:CE:25:41:01:1B:A7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200531Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.018) 0:00:21.785 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.037) 0:00:21.822 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.021) 0:00:21.844 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.042) 0:00:21.887 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:05:42 -0500 (0:00:00.060) 0:00:21.948 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.059) 0:00:22.007 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596 `" && echo ansible-tmp-1739477143.071947-12031-110396075909596="` echo /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477143.071947-12031-110396075909596=/root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpx0qxyb9_ TO /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/AnsiballZ_command.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpx0qxyb9_ /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/AnsiballZ_command.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/ /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (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 15:05:43.338059", "end": "2025-02-13 15:05:43.396199", "delta": "0:00:00.058140", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477143.071947-12031-110396075909596/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "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.058140", "end": "2025-02-13 15:05:43.396199", "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 15:05:43.338059" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.425) 0:00:22.433 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.037) 0:00:22.470 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.013) 0:00:22.484 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.016) 0:00:22.501 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.016) 0:00:22.518 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:05:43 -0500 (0:00:00.012) 0:00:22.530 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921 `" && echo ansible-tmp-1739477143.6011677-12058-246603179772921="` echo /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477143.6011677-12058-246603179772921=/root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpmu_j_6q5 TO /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/AnsiballZ_dnf.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpmu_j_6q5 /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/AnsiballZ_dnf.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/ /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.42.192> (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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477143.6011677-12058-246603179772921/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:05:46 -0500 (0:00:02.916) 0:00:25.447 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338 `" && echo ansible-tmp-1739477146.4994986-12104-194208388198338="` echo /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477146.4994986-12104-194208388198338=/root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmppvciyj_i TO /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmppvciyj_i /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/ /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718650, "dev": 51713, "nlink": 1, "atime": 1739477132.2446883, "mtime": 1739477132.2416883, "ctime": 1739477132.2416883, "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": "ff1b3160fbc1c9e5e16a702d0ee40de656897016", "mimetype": "text/plain", "charset": "us-ascii", "version": "3931470162", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477146.4994986-12104-194208388198338/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/another-cert.crt" } }, "stat": { "atime": 1739477132.2446883, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ff1b3160fbc1c9e5e16a702d0ee40de656897016", "ctime": 1739477132.2416883, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718650, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739477132.2416883, "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": "3931470162", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:05:46 -0500 (0:00:00.346) 0:00:25.794 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:05:46 -0500 (0:00:00.020) 0:00:25.815 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:05:46 -0500 (0:00:00.045) 0:00:25.860 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:05:46 -0500 (0:00:00.046) 0:00:25.906 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030 `" && echo ansible-tmp-1739477146.956835-12126-65901133793030="` echo /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477146.956835-12126-65901133793030=/root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpz03ewymm TO /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/AnsiballZ_stat.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmpz03ewymm /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/AnsiballZ_stat.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/ /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.192> (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": 7718649, "dev": 51713, "nlink": 1, "atime": 1739477132.2006881, "mtime": 1739477132.2416883, "ctime": 1739477132.2416883, "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": "b43ced1e5a6ca090f77156ea0e8e451d3f457737", "mimetype": "text/plain", "charset": "us-ascii", "version": "1905344459", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477146.956835-12126-65901133793030/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/another-cert.key" } }, "stat": { "atime": 1739477132.2006881, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "b43ced1e5a6ca090f77156ea0e8e451d3f457737", "ctime": 1739477132.2416883, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718649, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739477132.2416883, "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": "1905344459", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.362) 0:00:26.269 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.026) 0:00:26.295 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.055) 0:00:26.350 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960 `" && echo ansible-tmp-1739477147.4071238-12150-126752597994960="` echo /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477147.4071238-12150-126752597994960=/root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960\n', b'') Using module file /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3jnsm8qp TO /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/AnsiballZ_certtojson.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp3jnsm8qp /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/AnsiballZ_certtojson.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/ /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.192> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213200410Z", "not_valid_before": "20250213200532Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "2F:AF:87:E4:2D:F1:2F:A9:44:A9:8B:E1:27:AE:03:27:EA:BF:30:0E:46:48:85:9A:C3:3A:E9:B6:82:27:FA:95:93:82:9A:B1:74:AA:47:2E:10:80:DB:EA:14:29:C3:C3:92:C8:A5:6F:5D:6E:C5:24:A5:DE:AC:95:82:9D:33:EE:BB:A7:A5:11:50:75:68:06:40:4E:EF:E1:DE:03:93:99:FB:4D:32:96:02:27:47:BF:B5:F9:49:89:DA:AE:06:CC:31:ED:B2:21:27:CD:97:1A:2B:6A:5A:A5:98:67:44:E5:26:E5:CD:72:F7:F1:9F:53:50:15:10:70:84:BE:10:6F:BC:82:7A:10:92:88:3C:0A:E5:5D:21:7F:3B:8E:8D:63:5E:7E:BC:C2:7B:EE:F0:10:CB:C9:53:69:8F:60:83:76:8B:89:F1:25:77:8C:35:19:11:2F:91:55:37:2A:C0:A4:BD:32:A2:AC:2F:E6:BB:51:9E:F6:E9:97:87:8C:7A:A8:C8:15:B6:DF:72:10:C1:B7:D5:EC:1A:45:34:A6:2E:E2:21:68:BE:BD:47:66:26:D1:8B:59:AE:E5:D7:22:C5:01:1E:2B:E1:12:88:DE:B7:BA:E9:15:93:8C:EE:8A:7A:F6:93:06:30:F1:59:AC:FB:CA:04:B4:E7:F0:06:6B:18:80"}, "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": "FB:5F:16:1F:31:52:BE:D1:23:94:A0:F7:63:62:60:3F:B3:E3:74:8D"}, "authorityKeyIdentifier": {"critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}}\r\n', b'Shared connection to 10.31.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477147.4071238-12150-126752597994960/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "FB:5F:16:1F:31:52:BE:D1:23:94:A0:F7:63:62:60:3F:B3:E3:74:8D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:AF:87:E4:2D:F1:2F:A9:44:A9:8B:E1:27:AE:03:27:EA:BF:30:0E:46:48:85:9A:C3:3A:E9:B6:82:27:FA:95:93:82:9A:B1:74:AA:47:2E:10:80:DB:EA:14:29:C3:C3:92:C8:A5:6F:5D:6E:C5:24:A5:DE:AC:95:82:9D:33:EE:BB:A7:A5:11:50:75:68:06:40:4E:EF:E1:DE:03:93:99:FB:4D:32:96:02:27:47:BF:B5:F9:49:89:DA:AE:06:CC:31:ED:B2:21:27:CD:97:1A:2B:6A:5A:A5:98:67:44:E5:26:E5:CD:72:F7:F1:9F:53:50:15:10:70:84:BE:10:6F:BC:82:7A:10:92:88:3C:0A:E5:5D:21:7F:3B:8E:8D:63:5E:7E:BC:C2:7B:EE:F0:10:CB:C9:53:69:8F:60:83:76:8B:89:F1:25:77:8C:35:19:11:2F:91:55:37:2A:C0:A4:BD:32:A2:AC:2F:E6:BB:51:9E:F6:E9:97:87:8C:7A:A8:C8:15:B6:DF:72:10:C1:B7:D5:EC:1A:45:34:A6:2E:E2:21:68:BE:BD:47:66:26:D1:8B:59:AE:E5:D7:22:C5:01:1E:2B:E1:12:88:DE:B7:BA:E9:15:93:8C:EE:8A:7A:F6:93:06:30:F1:59:AC:FB:CA:04:B4:E7:F0:06:6B:18:80" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200532Z" } }, "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-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.416) 0:00:26.766 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "02:6A:BA:55:4D:0B:97:EC:12:DF:EF:6E:66:90:C8:E6:1E:25:39:98" }, "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": "FB:5F:16:1F:31:52:BE:D1:23:94:A0:F7:63:62:60:3F:B3:E3:74:8D" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2F:AF:87:E4:2D:F1:2F:A9:44:A9:8B:E1:27:AE:03:27:EA:BF:30:0E:46:48:85:9A:C3:3A:E9:B6:82:27:FA:95:93:82:9A:B1:74:AA:47:2E:10:80:DB:EA:14:29:C3:C3:92:C8:A5:6F:5D:6E:C5:24:A5:DE:AC:95:82:9D:33:EE:BB:A7:A5:11:50:75:68:06:40:4E:EF:E1:DE:03:93:99:FB:4D:32:96:02:27:47:BF:B5:F9:49:89:DA:AE:06:CC:31:ED:B2:21:27:CD:97:1A:2B:6A:5A:A5:98:67:44:E5:26:E5:CD:72:F7:F1:9F:53:50:15:10:70:84:BE:10:6F:BC:82:7A:10:92:88:3C:0A:E5:5D:21:7F:3B:8E:8D:63:5E:7E:BC:C2:7B:EE:F0:10:CB:C9:53:69:8F:60:83:76:8B:89:F1:25:77:8C:35:19:11:2F:91:55:37:2A:C0:A4:BD:32:A2:AC:2F:E6:BB:51:9E:F6:E9:97:87:8C:7A:A8:C8:15:B6:DF:72:10:C1:B7:D5:EC:1A:45:34:A6:2E:E2:21:68:BE:BD:47:66:26:D1:8B:59:AE:E5:D7:22:C5:01:1E:2B:E1:12:88:DE:B7:BA:E9:15:93:8C:EE:8A:7A:F6:93:06:30:F1:59:AC:FB:CA:04:B4:E7:F0:06:6B:18:80" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213200410Z", "not_valid_before": "20250213200532Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.018) 0:00:26.785 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.045) 0:00:26.831 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.028) 0:00:26.860 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.055) 0:00:26.915 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:05:47 -0500 (0:00:00.060) 0:00:26.976 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:05:48 -0500 (0:00:00.055) 0:00:27.032 ***** <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.192> (0, b'/root\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936 `" && echo ansible-tmp-1739477148.0839279-12224-6244029584936="` echo /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936 `" ) && sleep 0'"'"'' <10.31.42.192> (0, b'ansible-tmp-1739477148.0839279-12224-6244029584936=/root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.42.192> PUT /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp7r9u5xih TO /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/AnsiballZ_command.py <10.31.42.192> 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/b5ca4125a6"' '[10.31.42.192]' <10.31.42.192> (0, b'sftp> put /root/.ansible/tmp/ansible-local-11340kpccba7w/tmp7r9u5xih /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/AnsiballZ_command.py\n', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/ /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' -tt 10.31.42.192 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.192> (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 15:05:48.358953", "end": "2025-02-13 15:05:48.418049", "delta": "0:00:00.059096", "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.42.192 closed.\r\n') <10.31.42.192> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.192> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/b5ca4125a6"' 10.31.42.192 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477148.0839279-12224-6244029584936/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.192> (0, b'', b'') ok: [managed-node2] => { "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.059096", "end": "2025-02-13 15:05:48.418049", "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 15:05:48.358953" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:05:48 -0500 (0:00:00.427) 0:00:27.459 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=68 changed=1 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 15:05:48 -0500 (0:00:00.049) 0:00:27.509 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.02s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.92s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.90s /tmp/collections-eB5/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.90s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.90s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.35s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.04s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Gathering Facts --------------------------------------------------------- 0.74s /tmp/collections-eB5/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.70s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Retrieve auto-renew flag ------------------------------------------------ 0.50s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.49s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.48s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve auto-renew flag ------------------------------------------------ 0.43s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.42s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.42s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.42s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.37s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.37s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-eB5/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65