ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method Parsed /tmp/inventory-kuH.yml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_many_self_signed.yml ******************************************* 2 plays in /tmp/collections-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 13:49:37 -0500 (0:00:00.026) 0:00:00.026 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', "Warning: Permanently added '10.31.40.119' (ECDSA) to the list of known hosts.\r\n") <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395 `" && echo ansible-tmp-1739472577.47-9797-12804671658395="` echo /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472577.47-9797-12804671658395=/root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395\n', '') Attempting python interpreter discovery <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.40.119> (0, 'PLATFORM\nLinux\nFOUND\n/usr/bin/python\n/usr/bin/python2.7\n/usr/libexec/platform-python\n/usr/bin/python\nENDFOUND\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.40.119> (0, '{"osrelease_content": "NAME=\\"CentOS Linux\\"\\nVERSION=\\"7 (Core)\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"7\\"\\nPRETTY_NAME=\\"CentOS Linux 7 (Core)\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:7\\"\\nHOME_URL=\\"https://www.centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugs.centos.org/\\"\\n\\nCENTOS_MANTISBT_PROJECT=\\"CentOS-7\\"\\nCENTOS_MANTISBT_PROJECT_VERSION=\\"7\\"\\nREDHAT_SUPPORT_PRODUCT=\\"centos\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"7\\"\\n\\n", "platform_dist_result": ["centos", "7.9.2009", "Core"]}\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmptSoVYZ TO /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/AnsiballZ_setup.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmptSoVYZ /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/AnsiballZ_setup.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/ /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 40026 22", "SSH_CONNECTION": "10.31.42.233 40026 10.31.40.119 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:29:31:ac:de:97", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.40.119", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "76eb2972e59f406f96180c0f5268c8d5", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2BA71C-3451-C88F-000D-B29EDFE452E1", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c29:31ff:feac:de97"], "ansible_uptime_seconds": 270, "ansible_kernel": "3.10.0-1160.119.1.el7.x86_64", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "ec2ba71c-3451-c88f-000d-b29edfe452e1", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "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_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:29:31:ac:de:97", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.40.119"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c29:31ff:feac:de97"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.40.119"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 710, "free": 2890}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 171, "free": 3429}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2890, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "ansible_mounts": [{"block_used": 3195560, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295300, "size_available": 251065548800, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64251, "block_size": 4096, "inode_available": 16319749}], "ansible_nodename": "managed-node1", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T134938", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "49", "tz_offset": "-0500", "month": "02", "epoch": "1739472578", "iso8601_micro": "2025-02-13T18:49:38.223894Z", "weekday": "Thursday", "time": "13:49:38", "date": "2025-02-13", "iso8601": "2025-02-13T18:49:38Z", "day": "13", "iso8601_basic": "20250213T134938223894", "second": "38"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["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", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472577.47-9797-12804671658395/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:49:38 -0500 (0:00:01.149) 0:00:01.175 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:49:38 -0500 (0:00:00.028) 0:00:01.204 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:49:38 -0500 (0:00:00.041) 0:00:01.245 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445 `" && echo ansible-tmp-1739472578.42-9816-224640189771445="` echo /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472578.42-9816-224640189771445=/root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmp1L2ioC TO /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmp1L2ioC /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/ /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/run/ostree-booted", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472578.42-9816-224640189771445/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:49:38 -0500 (0:00:00.469) 0:00:01.714 ***** ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:49:38 -0500 (0:00:00.150) 0:00:01.865 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:49:39 -0500 (0:00:00.114) 0:00:01.980 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354 `" && echo ansible-tmp-1739472579.27-9857-45807913751354="` echo /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472579.27-9857-45807913751354=/root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpPwTI8l TO /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpPwTI8l /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/ /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: mirror.math.princeton.edu\\n * epel-debuginfo: mirror.math.princeton.edu\\n * epel-source: mirror.math.princeton.edu\\nResolving Dependencies\\n--> Running transaction check\\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\\n--> Running transaction check\\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\\n--> Running transaction check\\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\\n--> Running transaction check\\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\\nInstalling for dependencies:\\n python-cffi x86_64 1.6.0-5.el7 base 218 k\\n python-enum34 noarch 1.0.4-1.el7 base 52 k\\n python-idna noarch 2.4-1.el7 base 94 k\\n python-ply noarch 3.4-11.el7 base 123 k\\n python-pycparser noarch 2.14-1.el7 base 104 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 2 Packages (+5 Dependent packages)\\n\\nTotal download size: 1.2 M\\nInstalled size: 6.1 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 3.9 MB/s | 1.2 MB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \\n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \\n Installing : python-ply-3.4-11.el7.noarch 3/7 \\n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \\n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \\n Installing : python-idna-2.4-1.el7.noarch 6/7 \\n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n Verifying : python-idna-2.4-1.el7.noarch 1/7 \\n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \\n Verifying : python-ply-3.4-11.el7.noarch 3/7 \\n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \\n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \\n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \\n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n\\nInstalled:\\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\\n\\nDependency Installed:\\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \\n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \\n python-pycparser.noarch 0:2.14-1.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["python-pyasn1", "python-cryptography"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472579.27-9857-45807913751354/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python-pyasn1", "python-cryptography", "python-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: mirror.math.princeton.edu\n * epel-debuginfo: mirror.math.princeton.edu\n * epel-source: mirror.math.princeton.edu\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.9 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:49:46 -0500 (0:00:07.830) 0:00:09.811 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269 `" && echo ansible-tmp-1739472587.06-10040-115366703710269="` echo /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472587.06-10040-115366703710269=/root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpMq_eJ5 TO /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpMq_eJ5 /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/ /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "results": ["Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Running transaction check\\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\\nInstalling for dependencies:\\n libtalloc x86_64 2.1.16-1.el7 base 33 k\\n libtevent x86_64 0.9.39-1.el7 base 41 k\\n psmisc x86_64 22.20-17.el7 base 141 k\\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 1 Package (+5 Dependent packages)\\n\\nTotal download size: 984 k\\nInstalled size: 3.7 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 2.8 MB/s | 984 kB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \\n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \\n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Installing : psmisc-22.20-17.el7.x86_64 5/6 \\n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \\n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \\n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \\n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \\n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \\n\\nInstalled:\\n certmonger.x86_64 0:0.78.4-17.el7_9 \\n\\nDependency Installed:\\n libtalloc.x86_64 0:2.1.16-1.el7 \\n libtevent.x86_64 0:0.9.39-1.el7 \\n psmisc.x86_64 0:22.20-17.el7 \\n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \\n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["certmonger"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472587.06-10040-115366703710269/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.8 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:49:51 -0500 (0:00:04.079) 0:00:13.890 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529 `" && echo ansible-tmp-1739472591.08-10086-133159588375529="` echo /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472591.08-10086-133159588375529=/root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpwyuT5m TO /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/AnsiballZ_file.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpwyuT5m /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/AnsiballZ_file.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/ /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//pre-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472591.08-10086-133159588375529/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//pre-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//pre-scripts", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:49:51 -0500 (0:00:00.528) 0:00:14.419 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482 `" && echo ansible-tmp-1739472591.61-10104-221773423706482="` echo /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472591.61-10104-221773423706482=/root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpIwv9n3 TO /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/AnsiballZ_file.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpIwv9n3 /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/AnsiballZ_file.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/ /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//post-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472591.61-10104-221773423706482/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//post-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//post-scripts", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:49:51 -0500 (0:00:00.330) 0:00:14.750 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606 `" && echo ansible-tmp-1739472591.95-10113-258770185153606="` echo /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472591.95-10113-258770185153606=/root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmp3NQJvb TO /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/AnsiballZ_systemd.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmp3NQJvb /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/AnsiballZ_systemd.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/ /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "disabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "0", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "0", "AllowIsolate": "no", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "0", "ExecMainPID": "0", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "SystemCallErrorNumber": "0", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "dead", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "MainPID": "0", "StartupBlockIOWeight": "18446744073709551615", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "inactive", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "Transient": "no", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "StartLimitBurst": "5", "LimitCORE": "18446744073709551615", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "0", "DefaultDependencies": "yes", "Requires": "system.slice basic.target", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "no", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "0", "RefuseManualStop": "no", "LimitNICE": "0", "After": "basic.target dbus.service systemd-journald.socket network.target syslog.target system.slice", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "StandardError": "inherit", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "PrivateDevices": "no", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "ControlPID": "0", "Id": "certmonger.service"}, "name": "certmonger", "changed": true, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472591.95-10113-258770185153606/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.service systemd-journald.socket network.target syslog.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:49:52 -0500 (0:00:00.889) 0:00:15.639 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169 `" && echo ansible-tmp-1739472592.87-10129-108431006462169="` echo /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472592.87-10129-108431006462169=/root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpZWcrRT TO /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/AnsiballZ_certificate_request.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpZWcrRT /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/AnsiballZ_certificate_request.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/ /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "Certificate requested (new).", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "name": "mycert_many_self_signed", "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472592.87-10129-108431006462169/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}) => { "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.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043 `" && echo ansible-tmp-1739472593.84-10129-110594560237043="` echo /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472593.84-10129-110594560237043=/root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpsFvSkc TO /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/AnsiballZ_certificate_request.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpsFvSkc /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/AnsiballZ_certificate_request.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/ /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "Certificate requested (new).", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "name": "other-cert", "state": null, "organizational_unit": null, "dns": ["www.example.org"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472593.84-10129-110594560237043/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}) => { "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.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772 `" && echo ansible-tmp-1739472594.53-10129-32961663569772="` echo /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472594.53-10129-32961663569772=/root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpLybyE1 TO /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/AnsiballZ_certificate_request.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpLybyE1 /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/AnsiballZ_certificate_request.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/ /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "Certificate requested (new).", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "name": "another-cert", "state": null, "organizational_unit": null, "dns": ["www.example.net"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "mode": null, "contact_email": null, "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "run_after": null, "run_before": null, "key_size": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472594.53-10129-32961663569772/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item={u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}) => { "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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:49:55 -0500 (0:00:02.479) 0:00:18.119 ***** skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_many_self_signed', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_many_self_signed" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'other-cert', u'dns': u'www.example.org'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.org", "name": "other-cert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'another-cert', u'dns': u'www.example.net'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.net", "name": "another-cert" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:49:55 -0500 (0:00:00.098) 0:00:18.218 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:49:55 -0500 (0:00:00.061) 0:00:18.279 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:49:55 -0500 (0:00:00.062) 0:00:18.341 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Thursday 13 February 2025 13:49:55 -0500 (0:00:00.061) 0:00:18.403 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687 `" && echo ansible-tmp-1739472595.56-10199-13222095377687="` echo /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472595.56-10199-13222095377687=/root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpiyOv8p TO /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/AnsiballZ_setup.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpiyOv8p /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/AnsiballZ_setup.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/ /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 40026 22", "SSH_CONNECTION": "10.31.42.233 40026 10.31.40.119 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:29:31:ac:de:97", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.40.119", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "76eb2972e59f406f96180c0f5268c8d5", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2BA71C-3451-C88F-000D-B29EDFE452E1", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c29:31ff:feac:de97"], "ansible_uptime_seconds": 288, "ansible_kernel": "3.10.0-1160.119.1.el7.x86_64", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "ec2ba71c-3451-c88f-000d-b29edfe452e1", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "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_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:29:31:ac:de:97", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.40.119"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c29:31ff:feac:de97"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.40.119"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 841, "free": 2759}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 180, "free": 3420}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2759, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "ansible_mounts": [{"block_used": 3203480, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287380, "size_available": 251033108480, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65216, "block_size": 4096, "inode_available": 16318784}], "ansible_nodename": "managed-node1", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T134955", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "49", "tz_offset": "-0500", "month": "02", "epoch": "1739472595", "iso8601_micro": "2025-02-13T18:49:55.983509Z", "weekday": "Thursday", "time": "13:49:55", "date": "2025-02-13", "iso8601": "2025-02-13T18:49:55Z", "day": "13", "iso8601_basic": "20250213T134955983509", "second": "55"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["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", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472595.56-10199-13222095377687/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.621) 0:00:19.024 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.198) 0:00:19.223 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.033) 0:00:19.256 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.054) 0:00:19.310 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.051) 0:00:19.362 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961 `" && echo ansible-tmp-1739472596.65-10242-176419629218961="` echo /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472596.65-10242-176419629218961=/root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmp7sa4zj TO /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmp7sa4zj /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/ /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472596.65-10242-176419629218961/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.654) 0:00:20.017 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.139) 0:00:20.156 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666 `" && echo ansible-tmp-1739472597.39-10280-205957461390666="` echo /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472597.39-10280-205957461390666=/root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpvzaJUv TO /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpvzaJUv /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/ /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472593.6226237, "block_size": 4096, "inode": 172743, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256913", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt", "xusr": false, "atime": 1739472593.6256237, "isdir": false, "ctime": 1739472593.6226237, "isblk": false, "wgrp": false, "checksum": "7a19c02bc5c482730156d632ca817cac8e9e10de", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472597.39-10280-205957461390666/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_many_self_signed.crt" } }, "stat": { "atime": 1739472593.6256237, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7a19c02bc5c482730156d632ca817cac8e9e10de", "ctime": 1739472593.6226237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172743, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472593.6226237, "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": "18446744073063256913", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.412) 0:00:20.569 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.049) 0:00:20.619 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.056) 0:00:20.675 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:49:57 -0500 (0:00:00.051) 0:00:20.727 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797 `" && echo ansible-tmp-1739472597.91-10303-28258801430797="` echo /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472597.91-10303-28258801430797=/root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpLzjiKk TO /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpLzjiKk /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/ /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472593.6226237, "block_size": 4096, "inode": 172742, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256900", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "xusr": false, "atime": 1739472593.5826237, "isdir": false, "ctime": 1739472593.6226237, "isblk": false, "wgrp": false, "checksum": "8410d4deb906b25f70c2d73aec06cfd7d710c7d3", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472597.91-10303-28258801430797/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/mycert_many_self_signed.key" } }, "stat": { "atime": 1739472593.5826237, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8410d4deb906b25f70c2d73aec06cfd7d710c7d3", "ctime": 1739472593.6226237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472593.6226237, "nlink": 1, "path": "/etc/pki/tls/private/mycert_many_self_signed.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744073063256900", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:49:58 -0500 (0:00:00.508) 0:00:21.236 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:49:58 -0500 (0:00:00.078) 0:00:21.314 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:49:58 -0500 (0:00:00.073) 0:00:21.388 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771 `" && echo ansible-tmp-1739472598.59-10347-183467201081771="` echo /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472598.59-10347-183467201081771=/root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpbEdzRi TO /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/AnsiballZ_certtojson.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpbEdzRi /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/AnsiballZ_certtojson.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/ /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_many_self_signed.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "2C:82:FB:E3:F2:C9:70:94:11:68:7B:CB:79:6E:50:01:D1:A4:5E:99:4F:3E:92:7E:17:45:7D:82:65:61:1F:F1:39:6F:16:72:A8:84:A4:3C:53:85:AD:19:10:D2:EA:4F:AD:50:11:83:F5:5F:59:78:65:2C:5C:EB:46:93:77:8E:1C:9A:E2:08:7B:4B:62:FF:E2:71:49:93:DA:C2:3D:2B:CD:25:64:BC:FE:86:9F:7A:85:2B:53:9C:88:C6:F5:D4:FD:9E:43:B7:EA:80:5F:E5:EF:34:0B:46:E6:26:C8:9E:D2:CD:48:7E:D1:3C:07:A6:D2:3B:3E:35:E5:4E:B0:13:D2:2D:76:C3:09:E3:A8:40:D9:3F:AF:71:DF:11:56:A9:8D:0C:E7:28:CE:22:11:E4:B9:7E:1F:AC:28:0A:EB:96:7B:97:7E:CB:8E:8C:91:6F:22:94:84:89:E2:6D:77:E1:7B:F2:43:ED:B9:E9:64:B6:6A:F9:EC:CE:60:EE:D0:C5:44:37:4B:06:E5:77:26:D7:79:F8:A8:9A:57:CC:13:D9:4C:CA:7B:CE:60:B6:43:17:B1:15:82:C5:07:1E:6F:DE:6A:A0:FA:2B:C4:F6:74:82:CD:D2:66:B1:23:10:1E:63:36:DB:46:D0:06:55:BF:90:CE:B4:1C:02:A1:9B:E5:13"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "74:48:BF:A8:A6:12:B5:9B:87:80:CE:D7:9E:E6:B4:9D:76:A4:4C:BF"}, "authorityKeyIdentifier": {"critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213184952Z", "not_valid_before": "20250213184953Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472598.59-10347-183467201081771/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:48:BF:A8:A6:12:B5:9B:87:80:CE:D7:9E:E6:B4:9D:76:A4:4C:BF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:82:FB:E3:F2:C9:70:94:11:68:7B:CB:79:6E:50:01:D1:A4:5E:99:4F:3E:92:7E:17:45:7D:82:65:61:1F:F1:39:6F:16:72:A8:84:A4:3C:53:85:AD:19:10:D2:EA:4F:AD:50:11:83:F5:5F:59:78:65:2C:5C:EB:46:93:77:8E:1C:9A:E2:08:7B:4B:62:FF:E2:71:49:93:DA:C2:3D:2B:CD:25:64:BC:FE:86:9F:7A:85:2B:53:9C:88:C6:F5:D4:FD:9E:43:B7:EA:80:5F:E5:EF:34:0B:46:E6:26:C8:9E:D2:CD:48:7E:D1:3C:07:A6:D2:3B:3E:35:E5:4E:B0:13:D2:2D:76:C3:09:E3:A8:40:D9:3F:AF:71:DF:11:56:A9:8D:0C:E7:28:CE:22:11:E4:B9:7E:1F:AC:28:0A:EB:96:7B:97:7E:CB:8E:8C:91:6F:22:94:84:89:E2:6D:77:E1:7B:F2:43:ED:B9:E9:64:B6:6A:F9:EC:CE:60:EE:D0:C5:44:37:4B:06:E5:77:26:D7:79:F8:A8:9A:57:CC:13:D9:4C:CA:7B:CE:60:B6:43:17:B1:15:82:C5:07:1E:6F:DE:6A:A0:FA:2B:C4:F6:74:82:CD:D2:66:B1:23:10:1E:63:36:DB:46:D0:06:55:BF:90:CE:B4:1C:02:A1:9B:E5:13" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184953Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.559) 0:00:21.947 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "74:48:BF:A8:A6:12:B5:9B:87:80:CE:D7:9E:E6:B4:9D:76:A4:4C:BF" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:82:FB:E3:F2:C9:70:94:11:68:7B:CB:79:6E:50:01:D1:A4:5E:99:4F:3E:92:7E:17:45:7D:82:65:61:1F:F1:39:6F:16:72:A8:84:A4:3C:53:85:AD:19:10:D2:EA:4F:AD:50:11:83:F5:5F:59:78:65:2C:5C:EB:46:93:77:8E:1C:9A:E2:08:7B:4B:62:FF:E2:71:49:93:DA:C2:3D:2B:CD:25:64:BC:FE:86:9F:7A:85:2B:53:9C:88:C6:F5:D4:FD:9E:43:B7:EA:80:5F:E5:EF:34:0B:46:E6:26:C8:9E:D2:CD:48:7E:D1:3C:07:A6:D2:3B:3E:35:E5:4E:B0:13:D2:2D:76:C3:09:E3:A8:40:D9:3F:AF:71:DF:11:56:A9:8D:0C:E7:28:CE:22:11:E4:B9:7E:1F:AC:28:0A:EB:96:7B:97:7E:CB:8E:8C:91:6F:22:94:84:89:E2:6D:77:E1:7B:F2:43:ED:B9:E9:64:B6:6A:F9:EC:CE:60:EE:D0:C5:44:37:4B:06:E5:77:26:D7:79:F8:A8:9A:57:CC:13:D9:4C:CA:7B:CE:60:B6:43:17:B1:15:82:C5:07:1E:6F:DE:6A:A0:FA:2B:C4:F6:74:82:CD:D2:66:B1:23:10:1E:63:36:DB:46:D0:06:55:BF:90:CE:B4:1C:02:A1:9B:E5:13" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184953Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.084) 0:00:22.032 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.157) 0:00:22.190 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.099) 0:00:22.289 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.082) 0:00:22.372 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.072) 0:00:22.444 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:49:59 -0500 (0:00:00.065) 0:00:22.510 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867 `" && echo ansible-tmp-1739472599.7-10402-279397688937867="` echo /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472599.7-10402-279397688937867=/root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpW8oFq1 TO /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/AnsiballZ_command.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpW8oFq1 /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/AnsiballZ_command.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/ /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:00.079482", "stdout": "yes", "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\'", "rc": 0, "start": "2025-02-13 13:50:00.035012", "stderr": "", "delta": "0:00:00.044470", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_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\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472599.7-10402-279397688937867/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_many_self_signed.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044470", "end": "2025-02-13 13:50:00.079482", "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, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:00.035012" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.529) 0:00:23.039 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.110) 0:00:23.149 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.047) 0:00:23.196 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.069) 0:00:23.266 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.093) 0:00:23.360 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857 `" && echo ansible-tmp-1739472600.66-10450-249988256184857="` echo /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472600.66-10450-249988256184857=/root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpE9WDSu TO /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpE9WDSu /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/ /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472600.66-10450-249988256184857/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.745) 0:00:24.106 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.150) 0:00:24.257 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747 `" && echo ansible-tmp-1739472601.47-10496-54552415591747="` echo /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472601.47-10496-54552415591747=/root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpaUw8Eh TO /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpaUw8Eh /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/ /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/other-cert.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472594.3076231, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256951", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/other-cert.crt", "xusr": false, "atime": 1739472594.311623, "isdir": false, "ctime": 1739472594.3076231, "isblk": false, "wgrp": false, "checksum": "bbdd85460307bd4ee15b91c79a7b70fc8d1c386c", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472601.47-10496-54552415591747/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/other-cert.crt" } }, "stat": { "atime": 1739472594.311623, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "bbdd85460307bd4ee15b91c79a7b70fc8d1c386c", "ctime": 1739472594.3076231, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472594.3076231, "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": "18446744073063256951", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.537) 0:00:24.794 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.051) 0:00:24.846 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.070) 0:00:24.917 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.077) 0:00:24.994 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034 `" && echo ansible-tmp-1739472602.22-10539-115414023315034="` echo /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472602.22-10539-115414023315034=/root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpjZLPxY TO /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpjZLPxY /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/ /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/other-cert.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472594.3076231, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256938", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/private/other-cert.key", "xusr": false, "atime": 1739472594.2676232, "isdir": false, "ctime": 1739472594.3076231, "isblk": false, "wgrp": false, "checksum": "e480419a62cebb32fe82cb0f9ea94ada364ffb06", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472602.22-10539-115414023315034/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/other-cert.key" } }, "stat": { "atime": 1739472594.2676232, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e480419a62cebb32fe82cb0f9ea94ada364ffb06", "ctime": 1739472594.3076231, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472594.3076231, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "18446744073063256938", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.488) 0:00:25.482 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.064) 0:00:25.547 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.085) 0:00:25.633 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824 `" && echo ansible-tmp-1739472602.84-10583-98620964584824="` echo /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472602.84-10583-98620964584824=/root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpqhz2oP TO /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/AnsiballZ_certtojson.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpqhz2oP /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/AnsiballZ_certtojson.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/ /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "1D:41:43:2F:2B:18:98:0F:B7:F8:D9:B5:0E:3C:53:BE:FD:C3:37:C3:56:20:88:D0:63:17:52:7C:23:ED:26:93:04:D0:F6:3F:91:F6:34:FA:30:41:42:F0:71:1D:D8:E5:E4:27:B5:F3:28:FF:99:C5:76:F1:CA:5A:E2:65:71:D9:1D:3B:30:E8:6A:74:3C:6D:E9:4A:96:01:EE:37:BD:64:F7:02:86:88:19:68:43:C2:B4:12:52:6E:C3:5B:25:BC:DE:20:59:2C:84:E9:30:CA:9C:1B:9A:37:78:21:62:00:7A:3D:A1:59:B2:B3:E5:B1:81:61:06:E7:DB:B5:5F:B8:DD:55:C5:48:53:29:1C:EA:99:70:0A:4D:7F:18:22:E6:4E:96:1E:19:E1:91:C7:43:D8:A0:DF:E1:F3:74:D9:F6:2D:CF:EA:C3:A8:9B:D5:46:B5:0A:60:EA:48:E1:E9:4C:58:2E:79:8C:29:DD:91:FF:7F:95:83:C5:88:BD:54:EC:BC:41:53:90:70:3A:CD:EE:B9:B4:D7:57:FC:85:57:6A:5B:46:F6:F6:30:96:59:D5:35:DC:1C:32:33:14:18:24:42:A3:42:FC:AB:52:97:48:90:AB:A8:1A:6D:9F:55:ED:9B:2E:14:BA:47:F2:0B:AA:14:5E:CB:BA:A3:8A:0D:21"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "18:C6:FC:31:C7:15:FC:1E:39:64:B8:CB:36:D9:93:0B:15:E6:B8:79"}, "authorityKeyIdentifier": {"critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.org"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213184952Z", "not_valid_before": "20250213184954Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.org"}]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472602.84-10583-98620964584824/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "18:C6:FC:31:C7:15:FC:1E:39:64:B8:CB:36:D9:93:0B:15:E6:B8:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:41:43:2F:2B:18:98:0F:B7:F8:D9:B5:0E:3C:53:BE:FD:C3:37:C3:56:20:88:D0:63:17:52:7C:23:ED:26:93:04:D0:F6:3F:91:F6:34:FA:30:41:42:F0:71:1D:D8:E5:E4:27:B5:F3:28:FF:99:C5:76:F1:CA:5A:E2:65:71:D9:1D:3B:30:E8:6A:74:3C:6D:E9:4A:96:01:EE:37:BD:64:F7:02:86:88:19:68:43:C2:B4:12:52:6E:C3:5B:25:BC:DE:20:59:2C:84:E9:30:CA:9C:1B:9A:37:78:21:62:00:7A:3D:A1:59:B2:B3:E5:B1:81:61:06:E7:DB:B5:5F:B8:DD:55:C5:48:53:29:1C:EA:99:70:0A:4D:7F:18:22:E6:4E:96:1E:19:E1:91:C7:43:D8:A0:DF:E1:F3:74:D9:F6:2D:CF:EA:C3:A8:9B:D5:46:B5:0A:60:EA:48:E1:E9:4C:58:2E:79:8C:29:DD:91:FF:7F:95:83:C5:88:BD:54:EC:BC:41:53:90:70:3A:CD:EE:B9:B4:D7:57:FC:85:57:6A:5B:46:F6:F6:30:96:59:D5:35:DC:1C:32:33:14:18:24:42:A3:42:FC:AB:52:97:48:90:AB:A8:1A:6D:9F:55:ED:9B:2E:14:BA:47:F2:0B:AA:14:5E:CB:BA:A3:8A:0D:21" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184954Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.522) 0:00:26.156 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.org" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "18:C6:FC:31:C7:15:FC:1E:39:64:B8:CB:36:D9:93:0B:15:E6:B8:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1D:41:43:2F:2B:18:98:0F:B7:F8:D9:B5:0E:3C:53:BE:FD:C3:37:C3:56:20:88:D0:63:17:52:7C:23:ED:26:93:04:D0:F6:3F:91:F6:34:FA:30:41:42:F0:71:1D:D8:E5:E4:27:B5:F3:28:FF:99:C5:76:F1:CA:5A:E2:65:71:D9:1D:3B:30:E8:6A:74:3C:6D:E9:4A:96:01:EE:37:BD:64:F7:02:86:88:19:68:43:C2:B4:12:52:6E:C3:5B:25:BC:DE:20:59:2C:84:E9:30:CA:9C:1B:9A:37:78:21:62:00:7A:3D:A1:59:B2:B3:E5:B1:81:61:06:E7:DB:B5:5F:B8:DD:55:C5:48:53:29:1C:EA:99:70:0A:4D:7F:18:22:E6:4E:96:1E:19:E1:91:C7:43:D8:A0:DF:E1:F3:74:D9:F6:2D:CF:EA:C3:A8:9B:D5:46:B5:0A:60:EA:48:E1:E9:4C:58:2E:79:8C:29:DD:91:FF:7F:95:83:C5:88:BD:54:EC:BC:41:53:90:70:3A:CD:EE:B9:B4:D7:57:FC:85:57:6A:5B:46:F6:F6:30:96:59:D5:35:DC:1C:32:33:14:18:24:42:A3:42:FC:AB:52:97:48:90:AB:A8:1A:6D:9F:55:ED:9B:2E:14:BA:47:F2:0B:AA:14:5E:CB:BA:A3:8A:0D:21" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184954Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.068) 0:00:26.225 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.071) 0:00:26.296 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.066) 0:00:26.362 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.083) 0:00:26.445 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.103) 0:00:26.549 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.147) 0:00:26.696 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529 `" && echo ansible-tmp-1739472603.92-10710-251428174721529="` echo /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472603.92-10710-251428174721529=/root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpTl8i2s TO /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/AnsiballZ_command.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpTl8i2s /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/AnsiballZ_command.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/ /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:04.333584", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:04.289344", "stderr": "", "delta": "0:00:00.044240", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472603.92-10710-251428174721529/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/other-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044240", "end": "2025-02-13 13:50:04.333584", "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, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:04.289344" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.588) 0:00:27.285 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.078) 0:00:27.364 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.080) 0:00:27.444 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.111) 0:00:27.556 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.132) 0:00:27.688 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088 `" && echo ansible-tmp-1739472605.0-10779-207445272298088="` echo /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472605.0-10779-207445272298088=/root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpx2OOig TO /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpx2OOig /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/ /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472605.0-10779-207445272298088/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.785) 0:00:28.474 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.042) 0:00:28.518 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109 `" && echo ansible-tmp-1739472605.71-10859-106817919939109="` echo /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472605.71-10859-106817919939109=/root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpYhNpem TO /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpYhNpem /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/ /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/another-cert.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472595.1186225, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256989", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/another-cert.crt", "xusr": false, "atime": 1739472595.1216226, "isdir": false, "ctime": 1739472595.1186225, "isblk": false, "wgrp": false, "checksum": "3c571697b05cf42f9d6865bd641ee82a84a92148", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472605.71-10859-106817919939109/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/another-cert.crt" } }, "stat": { "atime": 1739472595.1216226, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3c571697b05cf42f9d6865bd641ee82a84a92148", "ctime": 1739472595.1186225, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472595.1186225, "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": "18446744073063256989", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.497) 0:00:29.015 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.123) 0:00:29.139 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.087) 0:00:29.226 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.077) 0:00:29.304 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047 `" && echo ansible-tmp-1739472606.49-10911-250132380781047="` echo /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472606.49-10911-250132380781047=/root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpOxZsKv TO /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpOxZsKv /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/ /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/another-cert.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472595.1186225, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744073063256976", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/private/another-cert.key", "xusr": false, "atime": 1739472595.0776227, "isdir": false, "ctime": 1739472595.1186225, "isblk": false, "wgrp": false, "checksum": "2c92fcb021b1ca31ea0d15e46d12719e9db7779b", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472606.49-10911-250132380781047/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/another-cert.key" } }, "stat": { "atime": 1739472595.0776227, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2c92fcb021b1ca31ea0d15e46d12719e9db7779b", "ctime": 1739472595.1186225, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472595.1186225, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "18446744073063256976", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.389) 0:00:29.693 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.118) 0:00:29.811 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.085) 0:00:29.897 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998 `" && echo ansible-tmp-1739472607.11-10947-41623348197998="` echo /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472607.11-10947-41623348197998=/root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpwbhLuc TO /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/AnsiballZ_certtojson.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpwbhLuc /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/AnsiballZ_certtojson.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/ /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "92:B9:46:06:CA:70:87:02:25:5A:B6:12:99:FA:41:7F:B5:A4:54:A8:65:63:F3:E6:55:F7:F2:BE:4F:8B:19:BF:0C:73:A0:26:3E:ED:DF:D2:BC:1B:0D:1F:EB:C9:AC:D2:34:F1:8C:68:6A:43:31:B4:30:2D:F9:56:97:0E:8C:0A:DD:86:10:A3:71:5D:76:BF:62:A5:07:12:FA:4D:96:0D:F1:54:F8:30:6F:A6:E4:B7:58:B9:B1:B7:14:01:D7:E4:53:77:4C:89:69:61:45:C6:6E:48:18:7D:B0:BC:B7:BB:E1:F1:83:20:F1:56:C7:DB:A4:DE:0D:FE:1F:44:EC:CA:19:DF:47:6D:78:25:F8:3D:32:2E:9F:12:D8:A2:A8:8E:B8:50:0E:4E:3E:3B:D7:1E:BD:32:11:3E:6E:9E:4B:23:E4:57:9E:A6:0B:BD:F8:AE:3B:6F:B4:C2:E8:6F:76:DD:EF:66:B4:24:30:8B:2E:9F:40:C5:57:F9:58:BE:96:63:DD:AB:00:18:95:53:57:85:72:6B:85:38:83:2C:EA:EB:A2:0E:9C:2E:C7:33:A2:05:6B:70:1A:FD:13:0E:8E:C1:B1:06:92:CB:7E:53:60:92:0F:B4:46:7B:9A:10:70:29:3D:58:61:6D:F3:FA:04:B8:CD:95:13:99:DC:4A:EA:DE"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "ED:E7:BD:76:14:C5:F8:1C:8D:94:62:49:C1:63:6F:B3:65:92:A1:23"}, "authorityKeyIdentifier": {"critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.net"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213184952Z", "not_valid_before": "20250213184955Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.net"}]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472607.11-10947-41623348197998/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "ED:E7:BD:76:14:C5:F8:1C:8D:94:62:49:C1:63:6F:B3:65:92:A1:23" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:B9:46:06:CA:70:87:02:25:5A:B6:12:99:FA:41:7F:B5:A4:54:A8:65:63:F3:E6:55:F7:F2:BE:4F:8B:19:BF:0C:73:A0:26:3E:ED:DF:D2:BC:1B:0D:1F:EB:C9:AC:D2:34:F1:8C:68:6A:43:31:B4:30:2D:F9:56:97:0E:8C:0A:DD:86:10:A3:71:5D:76:BF:62:A5:07:12:FA:4D:96:0D:F1:54:F8:30:6F:A6:E4:B7:58:B9:B1:B7:14:01:D7:E4:53:77:4C:89:69:61:45:C6:6E:48:18:7D:B0:BC:B7:BB:E1:F1:83:20:F1:56:C7:DB:A4:DE:0D:FE:1F:44:EC:CA:19:DF:47:6D:78:25:F8:3D:32:2E:9F:12:D8:A2:A8:8E:B8:50:0E:4E:3E:3B:D7:1E:BD:32:11:3E:6E:9E:4B:23:E4:57:9E:A6:0B:BD:F8:AE:3B:6F:B4:C2:E8:6F:76:DD:EF:66:B4:24:30:8B:2E:9F:40:C5:57:F9:58:BE:96:63:DD:AB:00:18:95:53:57:85:72:6B:85:38:83:2C:EA:EB:A2:0E:9C:2E:C7:33:A2:05:6B:70:1A:FD:13:0E:8E:C1:B1:06:92:CB:7E:53:60:92:0F:B4:46:7B:9A:10:70:29:3D:58:61:6D:F3:FA:04:B8:CD:95:13:99:DC:4A:EA:DE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184955Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.470) 0:00:30.368 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "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": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.net" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "ED:E7:BD:76:14:C5:F8:1C:8D:94:62:49:C1:63:6F:B3:65:92:A1:23" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "92:B9:46:06:CA:70:87:02:25:5A:B6:12:99:FA:41:7F:B5:A4:54:A8:65:63:F3:E6:55:F7:F2:BE:4F:8B:19:BF:0C:73:A0:26:3E:ED:DF:D2:BC:1B:0D:1F:EB:C9:AC:D2:34:F1:8C:68:6A:43:31:B4:30:2D:F9:56:97:0E:8C:0A:DD:86:10:A3:71:5D:76:BF:62:A5:07:12:FA:4D:96:0D:F1:54:F8:30:6F:A6:E4:B7:58:B9:B1:B7:14:01:D7:E4:53:77:4C:89:69:61:45:C6:6E:48:18:7D:B0:BC:B7:BB:E1:F1:83:20:F1:56:C7:DB:A4:DE:0D:FE:1F:44:EC:CA:19:DF:47:6D:78:25:F8:3D:32:2E:9F:12:D8:A2:A8:8E:B8:50:0E:4E:3E:3B:D7:1E:BD:32:11:3E:6E:9E:4B:23:E4:57:9E:A6:0B:BD:F8:AE:3B:6F:B4:C2:E8:6F:76:DD:EF:66:B4:24:30:8B:2E:9F:40:C5:57:F9:58:BE:96:63:DD:AB:00:18:95:53:57:85:72:6B:85:38:83:2C:EA:EB:A2:0E:9C:2E:C7:33:A2:05:6B:70:1A:FD:13:0E:8E:C1:B1:06:92:CB:7E:53:60:92:0F:B4:46:7B:9A:10:70:29:3D:58:61:6D:F3:FA:04:B8:CD:95:13:99:DC:4A:EA:DE" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213184955Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.077) 0:00:30.445 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.067) 0:00:30.513 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.063) 0:00:30.576 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.061) 0:00:30.638 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.075) 0:00:30.713 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.058) 0:00:30.772 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276 `" && echo ansible-tmp-1739472607.96-10998-130606733321276="` echo /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472607.96-10998-130606733321276=/root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-97886crQqZ/tmpdRSHOu TO /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/AnsiballZ_command.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-97886crQqZ/tmpdRSHOu /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/AnsiballZ_command.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/ /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:08.254168", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:08.209725", "stderr": "", "delta": "0:00:00.044443", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472607.96-10998-130606733321276/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/another-cert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.044443", "end": "2025-02-13 13:50:08.254168", "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, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:08.209725" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.411) 0:00:31.184 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=69 changed=6 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.045) 0:00:31.229 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.83s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.08s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.48s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.89s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.79s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.75s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.65s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.62s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.59s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.56s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve certificate file stats ----------------------------------------- 0.54s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve auto-renew flag ------------------------------------------------ 0.53s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.53s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.51s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve certificate file stats ----------------------------------------- 0.50s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.49s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Parse certificate ------------------------------------------------------- 0.47s /tmp/collections-Fh9/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.47s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10