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-35N.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-35N.yml as it did not pass its verify_file() method Parsed /tmp/inventory-35N.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-RNT/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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:2 Thursday 13 February 2025 15:04:20 -0500 (0:00:00.026) 0:00:00.026 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', "Warning: Permanently added '10.31.8.70' (ECDSA) to the list of known hosts.\r\n") <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861 `" && echo ansible-tmp-1739477060.82-9810-109481749429861="` echo /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477060.82-9810-109481749429861=/root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861\n', '') Attempting python interpreter discovery <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/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.8.70> (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.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.8.70> (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.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpR8QxU7 TO /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/AnsiballZ_setup.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpR8QxU7 /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/AnsiballZ_setup.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/ /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.70> (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": "5", "SSH_CLIENT": "10.31.41.173 53222 22", "SSH_CONNECTION": "10.31.41.173 53222 10.31.8.70 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:41:12:61:18:0b", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.8.70", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "8b55fa6052c84bdc9d728e7b5c04f4f3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2C2040-1705-C882-A630-E18014898F17", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1041:12ff:fe61:180b"], "ansible_uptime_seconds": 477, "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": "ec2c2040-1705-c882-a630-e18014898f17", "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": "12:41:12:61:18:0b", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.8.70"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1041:12ff:fe61:180b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.8.70"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 705, "free": 2895}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 169, "free": 3431}}, "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": 2895, "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": 3195554, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295306, "size_available": 251065573376, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64245, "block_size": 4096, "inode_available": 16319755}], "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": "20250213T150421", "tz": "EST", "weeknumber": "06", "hour": "15", "year": "2025", "minute": "04", "tz_offset": "-0500", "month": "02", "epoch": "1739477061", "iso8601_micro": "2025-02-13T20:04:21.559648Z", "weekday": "Thursday", "time": "15:04:21", "date": "2025-02-13", "iso8601": "2025-02-13T20:04:21Z", "day": "13", "iso8601_basic": "20250213T150421559648", "second": "21"}, "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477060.82-9810-109481749429861/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (0, '', '') ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 15:04:21 -0500 (0:00:01.136) 0:00:01.163 ***** included: /tmp/collections-RNT/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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 15:04:21 -0500 (0:00:00.026) 0:00:01.190 ***** 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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 15:04:21 -0500 (0:00:00.041) 0:00:01.232 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129 `" && echo ansible-tmp-1739477061.76-9829-273831521919129="` echo /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477061.76-9829-273831521919129=/root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpL0vewr TO /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpL0vewr /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/ /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477061.76-9829-273831521919129/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 15:04:22 -0500 (0:00:00.451) 0:00:01.683 ***** 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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 15:04:22 -0500 (0:00:00.147) 0:00:01.831 ***** 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-RNT/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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 15:04:22 -0500 (0:00:00.115) 0:00:01.946 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785 `" && echo ansible-tmp-1739477062.59-9870-74619153295785="` echo /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477062.59-9870-74619153295785=/root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpTFiCPh TO /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/AnsiballZ_yum.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpTFiCPh /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/AnsiballZ_yum.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/ /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (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: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477062.59-9870-74619153295785/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 15:04:29 -0500 (0:00:07.344) 0:00:09.291 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351 `" && echo ansible-tmp-1739477069.89-10046-88069784228351="` echo /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477069.89-10046-88069784228351=/root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpcP09y6 TO /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/AnsiballZ_yum.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpcP09y6 /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/AnsiballZ_yum.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/ /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (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.6 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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477069.89-10046-88069784228351/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.6 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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 15:04:34 -0500 (0:00:04.281) 0:00:13.572 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726 `" && echo ansible-tmp-1739477074.15-10093-268802821429726="` echo /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477074.15-10093-268802821429726=/root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmp2KhB93 TO /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/AnsiballZ_file.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmp2KhB93 /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/AnsiballZ_file.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/ /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/AnsiballZ_file.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/AnsiballZ_file.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477074.15-10093-268802821429726/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 15:04:34 -0500 (0:00:00.572) 0:00:14.144 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576 `" && echo ansible-tmp-1739477074.69-10117-231956166868576="` echo /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477074.69-10117-231956166868576=/root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpZhgiL8 TO /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/AnsiballZ_file.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpZhgiL8 /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/AnsiballZ_file.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/ /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/AnsiballZ_file.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/AnsiballZ_file.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477074.69-10117-231956166868576/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 15:04:34 -0500 (0:00:00.338) 0:00:14.483 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337 `" && echo ansible-tmp-1739477075.03-10126-229910637195337="` echo /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477075.03-10126-229910637195337=/root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpQQtmV1 TO /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/AnsiballZ_systemd.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpQQtmV1 /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/AnsiballZ_systemd.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/ /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.8.70> (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": "basic.target system.slice", "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": "system.slice dbus.service basic.target systemd-journald.socket network.target syslog.target", "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477075.03-10126-229910637195337/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": "system.slice dbus.service basic.target systemd-journald.socket network.target syslog.target", "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": "basic.target system.slice", "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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 15:04:35 -0500 (0:00:00.847) 0:00:15.331 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363 `" && echo ansible-tmp-1739477075.92-10142-238961058644363="` echo /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477075.92-10142-238961058644363=/root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmp07AUKg TO /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/AnsiballZ_certificate_request.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmp07AUKg /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/AnsiballZ_certificate_request.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/ /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477075.92-10142-238961058644363/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251 `" && echo ansible-tmp-1739477076.87-10142-244804015537251="` echo /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477076.87-10142-244804015537251=/root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmp_ACJ_K TO /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/AnsiballZ_certificate_request.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmp_ACJ_K /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/AnsiballZ_certificate_request.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/ /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477076.87-10142-244804015537251/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208 `" && echo ansible-tmp-1739477077.55-10142-43563526796208="` echo /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477077.55-10142-43563526796208=/root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpHxPLwF TO /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/AnsiballZ_certificate_request.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpHxPLwF /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/AnsiballZ_certificate_request.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/ /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477077.55-10142-43563526796208/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 15:04:38 -0500 (0:00:02.588) 0:00:17.919 ***** 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-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 15:04:38 -0500 (0:00:00.112) 0:00:18.032 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 15:04:38 -0500 (0:00:00.064) 0:00:18.096 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 15:04:38 -0500 (0:00:00.055) 0:00:18.152 ***** 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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Thursday 13 February 2025 15:04:38 -0500 (0:00:00.076) 0:00:18.228 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063 `" && echo ansible-tmp-1739477078.76-10215-194424555699063="` echo /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477078.76-10215-194424555699063=/root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpxl89JQ TO /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/AnsiballZ_setup.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpxl89JQ /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/AnsiballZ_setup.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/ /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.70> (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": "5", "SSH_CLIENT": "10.31.41.173 53222 22", "SSH_CONNECTION": "10.31.41.173 53222 10.31.8.70 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "12:41:12:61:18:0b", "network": "10.31.8.0", "mtu": 9001, "broadcast": "10.31.11.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.8.70", "interface": "eth0", "type": "ether", "gateway": "10.31.8.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": "8b55fa6052c84bdc9d728e7b5c04f4f3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2C2040-1705-C882-A630-E18014898F17", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::1041:12ff:fe61:180b"], "ansible_uptime_seconds": 495, "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": "ec2c2040-1705-c882-a630-e18014898f17", "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": "12:41:12:61:18:0b", "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.11.255", "netmask": "255.255.252.0", "network": "10.31.8.0", "address": "10.31.8.70"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::1041:12ff:fe61:180b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.8.70"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 837, "free": 2763}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 179, "free": 3421}}, "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": 2763, "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": 3203477, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287383, "size_available": 251033120768, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65214, "block_size": 4096, "inode_available": 16318786}], "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": "20250213T150439", "tz": "EST", "weeknumber": "06", "hour": "15", "year": "2025", "minute": "04", "tz_offset": "-0500", "month": "02", "epoch": "1739477079", "iso8601_micro": "2025-02-13T20:04:39.222704Z", "weekday": "Thursday", "time": "15:04:39", "date": "2025-02-13", "iso8601": "2025-02-13T20:04:39Z", "day": "13", "iso8601_basic": "20250213T150439222704", "second": "39"}, "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477078.76-10215-194424555699063/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (0, '', '') ok: [managed-node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:50 Thursday 13 February 2025 15:04:39 -0500 (0:00:00.709) 0:00:18.937 ***** included: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 included: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:04:39 -0500 (0:00:00.166) 0:00:19.104 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:04:39 -0500 (0:00:00.029) 0:00:19.134 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:04:39 -0500 (0:00:00.061) 0:00:19.196 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:04:39 -0500 (0:00:00.044) 0:00:19.240 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862 `" && echo ansible-tmp-1739477079.87-10265-177140661875862="` echo /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477079.87-10265-177140661875862=/root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpzLp8wz TO /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/AnsiballZ_yum.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpzLp8wz /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/AnsiballZ_yum.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/ /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477079.87-10265-177140661875862/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:04:40 -0500 (0:00:00.738) 0:00:19.978 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:04:40 -0500 (0:00:00.054) 0:00:20.034 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683 `" && echo ansible-tmp-1739477080.57-10300-69244919769683="` echo /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477080.57-10300-69244919769683=/root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpvD42A4 TO /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpvD42A4 /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/ /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477076.6979096, "block_size": 4096, "inode": 172743, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "770509481", "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": 1739477076.7019095, "isdir": false, "ctime": 1739477076.6979096, "isblk": false, "wgrp": false, "checksum": "21e7f0fd710ccd6247c4a11d4536ecd0347146ce", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477080.57-10300-69244919769683/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477076.7019095, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "21e7f0fd710ccd6247c4a11d4536ecd0347146ce", "ctime": 1739477076.6979096, "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": 1739477076.6979096, "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": "770509481", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:04:40 -0500 (0:00:00.341) 0:00:20.375 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:04:40 -0500 (0:00:00.070) 0:00:20.446 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:04:40 -0500 (0:00:00.070) 0:00:20.517 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:04:41 -0500 (0:00:00.076) 0:00:20.593 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827 `" && echo ansible-tmp-1739477081.19-10322-280994673769827="` echo /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477081.19-10322-280994673769827=/root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpqLd69w TO /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpqLd69w /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/ /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477076.6979096, "block_size": 4096, "inode": 172742, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "770509468", "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": 1739477076.6589093, "isdir": false, "ctime": 1739477076.6979096, "isblk": false, "wgrp": false, "checksum": "06c7f555a5ed1fa9dacbecc941d6444cba523cfe", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477081.19-10322-280994673769827/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477076.6589093, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "06c7f555a5ed1fa9dacbecc941d6444cba523cfe", "ctime": 1739477076.6979096, "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": 1739477076.6979096, "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": "770509468", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:04:41 -0500 (0:00:00.484) 0:00:21.078 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:04:41 -0500 (0:00:00.056) 0:00:21.134 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:04:41 -0500 (0:00:00.056) 0:00:21.190 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016 `" && echo ansible-tmp-1739477081.72-10364-15832064924016="` echo /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477081.72-10364-15832064924016=/root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpUgPlp4 TO /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/AnsiballZ_certtojson.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpUgPlp4 /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/AnsiballZ_certtojson.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/ /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (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:0F:59:B7:7F:2D:17:38:B8:AC:A6:29:6D:B7:7C:33:E4:E1:79:D6:57:7E:03:9B:A7:F0:88:A8:82:C3:12:78:C0:2F:DC:2B:8D:D8:77:B8:B3:8A:F2:E0:CD:F1:BE:DF:B0:02:A9:04:E1:80:75:79:62:84:48:FB:AE:FD:BF:10:3C:3F:6D:90:ED:5F:40:91:BD:25:C3:9C:C7:8C:FD:99:FA:81:76:F9:7A:CD:9A:20:16:4F:C2:D6:A8:51:12:64:33:78:D3:29:1E:34:C2:D1:60:D3:C1:35:E9:52:E0:F4:54:5E:73:C4:E8:B6:BD:AC:28:25:30:E0:A8:9F:53:2B:4A:3F:8A:D6:46:42:F3:44:53:DC:8E:A1:E4:D7:3C:D9:E8:E8:DE:2F:87:F3:E1:B2:EE:71:E2:9C:26:CC:F1:7A:59:A3:8A:1C:55:9B:EA:C1:C6:8E:40:56:6E:35:FD:81:5E:51:4D:CB:88:38:0D:38:69:DC:E8:91:78:DB:F8:63:25:28:4E:3F:FE:67:27:6B:52:11:B3:B4:9D:A5:44:8C:C6:62:17:EB:87:3A:FC:7A:71:0F:55:DD:C9:AA:37:15:96:8A:18:EF:40:F2:E3:06:57:9F:8F:97:50:1E:EF:C9:56:AE:66:E3:8E:97:3B:73:00:C2:34:41:1A:7B:7D:74"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "12:0F:01:85:54:E5:F6:F8:0A:DC:D2:DD:93:29:EE:54:AA:C5:BF:95"}, "authorityKeyIdentifier": {"critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B"}, "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": "20260213200435Z", "not_valid_before": "20250213200436Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477081.72-10364-15832064924016/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "12:0F:01:85:54:E5:F6:F8:0A:DC:D2:DD:93:29:EE:54:AA:C5:BF:95" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:0F:59:B7:7F:2D:17:38:B8:AC:A6:29:6D:B7:7C:33:E4:E1:79:D6:57:7E:03:9B:A7:F0:88:A8:82:C3:12:78:C0:2F:DC:2B:8D:D8:77:B8:B3:8A:F2:E0:CD:F1:BE:DF:B0:02:A9:04:E1:80:75:79:62:84:48:FB:AE:FD:BF:10:3C:3F:6D:90:ED:5F:40:91:BD:25:C3:9C:C7:8C:FD:99:FA:81:76:F9:7A:CD:9A:20:16:4F:C2:D6:A8:51:12:64:33:78:D3:29:1E:34:C2:D1:60:D3:C1:35:E9:52:E0:F4:54:5E:73:C4:E8:B6:BD:AC:28:25:30:E0:A8:9F:53:2B:4A:3F:8A:D6:46:42:F3:44:53:DC:8E:A1:E4:D7:3C:D9:E8:E8:DE:2F:87:F3:E1:B2:EE:71:E2:9C:26:CC:F1:7A:59:A3:8A:1C:55:9B:EA:C1:C6:8E:40:56:6E:35:FD:81:5E:51:4D:CB:88:38:0D:38:69:DC:E8:91:78:DB:F8:63:25:28:4E:3F:FE:67:27:6B:52:11:B3:B4:9D:A5:44:8C:C6:62:17:EB:87:3A:FC:7A:71:0F:55:DD:C9:AA:37:15:96:8A:18:EF:40:F2:E3:06:57:9F:8F:97:50:1E:EF:C9:56:AE:66:E3:8E:97:3B:73:00:C2:34:41:1A:7B:7D:74" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200436Z" } }, "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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.618) 0:00:21.809 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "12:0F:01:85:54:E5:F6:F8:0A:DC:D2:DD:93:29:EE:54:AA:C5:BF:95" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2C:0F:59:B7:7F:2D:17:38:B8:AC:A6:29:6D:B7:7C:33:E4:E1:79:D6:57:7E:03:9B:A7:F0:88:A8:82:C3:12:78:C0:2F:DC:2B:8D:D8:77:B8:B3:8A:F2:E0:CD:F1:BE:DF:B0:02:A9:04:E1:80:75:79:62:84:48:FB:AE:FD:BF:10:3C:3F:6D:90:ED:5F:40:91:BD:25:C3:9C:C7:8C:FD:99:FA:81:76:F9:7A:CD:9A:20:16:4F:C2:D6:A8:51:12:64:33:78:D3:29:1E:34:C2:D1:60:D3:C1:35:E9:52:E0:F4:54:5E:73:C4:E8:B6:BD:AC:28:25:30:E0:A8:9F:53:2B:4A:3F:8A:D6:46:42:F3:44:53:DC:8E:A1:E4:D7:3C:D9:E8:E8:DE:2F:87:F3:E1:B2:EE:71:E2:9C:26:CC:F1:7A:59:A3:8A:1C:55:9B:EA:C1:C6:8E:40:56:6E:35:FD:81:5E:51:4D:CB:88:38:0D:38:69:DC:E8:91:78:DB:F8:63:25:28:4E:3F:FE:67:27:6B:52:11:B3:B4:9D:A5:44:8C:C6:62:17:EB:87:3A:FC:7A:71:0F:55:DD:C9:AA:37:15:96:8A:18:EF:40:F2:E3:06:57:9F:8F:97:50:1E:EF:C9:56:AE:66:E3:8E:97:3B:73:00:C2:34:41:1A:7B:7D:74" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200436Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.075) 0:00:21.885 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.069) 0:00:21.954 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.062) 0:00:22.016 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.063) 0:00:22.079 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.055) 0:00:22.135 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:04:42 -0500 (0:00:00.064) 0:00:22.200 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545 `" && echo ansible-tmp-1739477082.75-10418-255083376711545="` echo /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477082.75-10418-255083376711545=/root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpb7cp6E TO /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/AnsiballZ_command.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpb7cp6E /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/AnsiballZ_command.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/ /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '\r\n{"changed": true, "end": "2025-02-13 15:04:43.337642", "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 15:04:43.293884", "stderr": "", "delta": "0:00:00.043758", "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477082.75-10418-255083376711545/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.043758", "end": "2025-02-13 15:04:43.337642", "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 15:04:43.293884" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:04:43 -0500 (0:00:00.723) 0:00:22.923 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:04:43 -0500 (0:00:00.075) 0:00:22.999 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:04:43 -0500 (0:00:00.031) 0:00:23.030 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:04:43 -0500 (0:00:00.146) 0:00:23.177 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:04:43 -0500 (0:00:00.101) 0:00:23.279 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134 `" && echo ansible-tmp-1739477083.97-10482-130100189691134="` echo /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477083.97-10482-130100189691134=/root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpNa027i TO /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/AnsiballZ_yum.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpNa027i /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/AnsiballZ_yum.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/ /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477083.97-10482-130100189691134/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:04:44 -0500 (0:00:00.718) 0:00:23.997 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:04:44 -0500 (0:00:00.066) 0:00:24.063 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696 `" && echo ansible-tmp-1739477084.62-10521-89134493010696="` echo /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477084.62-10521-89134493010696=/root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpNdVqhc TO /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpNdVqhc /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/ /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477077.310914, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "770509520", "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": 1739477077.313914, "isdir": false, "ctime": 1739477077.310914, "isblk": false, "wgrp": false, "checksum": "958a02791dbba48d14dd8767354058f36fe30e64", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477084.62-10521-89134493010696/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477077.313914, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "958a02791dbba48d14dd8767354058f36fe30e64", "ctime": 1739477077.310914, "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": 1739477077.310914, "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": "770509520", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:04:44 -0500 (0:00:00.411) 0:00:24.475 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.074) 0:00:24.550 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.092) 0:00:24.642 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.082) 0:00:24.724 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890 `" && echo ansible-tmp-1739477085.29-10568-64280988305890="` echo /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477085.29-10568-64280988305890=/root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpN0l1wG TO /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpN0l1wG /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/ /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477077.310914, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1700, "executable": false, "isuid": false, "readable": true, "version": "770509507", "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": 1739477077.2719138, "isdir": false, "ctime": 1739477077.310914, "isblk": false, "wgrp": false, "checksum": "adaa20f8a6576961739d9e23a472cafc2437a592", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477085.29-10568-64280988305890/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477077.2719138, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "adaa20f8a6576961739d9e23a472cafc2437a592", "ctime": 1739477077.310914, "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": 1739477077.310914, "nlink": 1, "path": "/etc/pki/tls/private/other-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1700, "uid": 0, "version": "770509507", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.507) 0:00:25.232 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.118) 0:00:25.351 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:04:45 -0500 (0:00:00.098) 0:00:25.449 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086 `" && echo ansible-tmp-1739477086.02-10616-71577677636086="` echo /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477086.02-10616-71577677636086=/root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpo586r2 TO /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/AnsiballZ_certtojson.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpo586r2 /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/AnsiballZ_certtojson.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/ /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/other-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "79:D6:F3:BE:B1:19:BD:C9:A4:AD:E8:1A:69:C4:0D:20:E9:E0:1F:E2:37:97:35:03:7B:D8:97:99:40:98:98:1D:C2:09:91:D0:D8:25:72:78:DB:78:63:8D:9A:8D:CB:90:EE:DC:92:1B:4A:52:E2:2B:A4:4A:8C:B5:CE:C3:80:54:85:F4:59:E2:25:71:CE:26:B2:0B:86:44:B4:F7:1A:43:C6:78:9F:F3:24:D5:32:87:E4:15:EE:46:94:6C:0B:00:B1:CF:4A:26:C3:2C:1B:3B:72:FE:D6:23:E1:DB:EE:77:98:6D:19:DF:BA:47:A0:EA:F0:1F:86:7E:DE:C7:46:25:63:24:9B:0C:34:3D:AB:81:9D:30:1D:05:A1:08:B7:81:EA:98:97:E8:4D:11:E9:8B:2C:65:D0:00:70:FE:DF:3B:7E:30:64:D7:68:7C:25:64:9A:3F:80:D8:B9:15:4A:45:60:C2:C5:71:DD:37:45:7E:BF:03:E7:BA:34:90:A0:53:F1:31:CC:BD:BA:D0:C4:C5:8C:CC:87:53:52:7C:05:EC:7D:A5:5C:EC:2E:55:89:38:CC:93:77:95:DD:96:47:54:63:15:F2:BB:4A:4C:F5:BB:35:CA:13:01:E9:0C:BF:37:EC:1E:36:65:9D:E1:01:6F:AF:69:81:EF:CF:BC:D8:D3"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "FA:DB:CE:D8:F4:3C:7C:2B:EB:A7:DF:F9:6D:63:1C:B1:6E:EF:D6:A4"}, "authorityKeyIdentifier": {"critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B"}, "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": "20260213200435Z", "not_valid_before": "20250213200437Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.org"}]}}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477086.02-10616-71577677636086/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "FA:DB:CE:D8:F4:3C:7C:2B:EB:A7:DF:F9:6D:63:1C:B1:6E:EF:D6:A4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:D6:F3:BE:B1:19:BD:C9:A4:AD:E8:1A:69:C4:0D:20:E9:E0:1F:E2:37:97:35:03:7B:D8:97:99:40:98:98:1D:C2:09:91:D0:D8:25:72:78:DB:78:63:8D:9A:8D:CB:90:EE:DC:92:1B:4A:52:E2:2B:A4:4A:8C:B5:CE:C3:80:54:85:F4:59:E2:25:71:CE:26:B2:0B:86:44:B4:F7:1A:43:C6:78:9F:F3:24:D5:32:87:E4:15:EE:46:94:6C:0B:00:B1:CF:4A:26:C3:2C:1B:3B:72:FE:D6:23:E1:DB:EE:77:98:6D:19:DF:BA:47:A0:EA:F0:1F:86:7E:DE:C7:46:25:63:24:9B:0C:34:3D:AB:81:9D:30:1D:05:A1:08:B7:81:EA:98:97:E8:4D:11:E9:8B:2C:65:D0:00:70:FE:DF:3B:7E:30:64:D7:68:7C:25:64:9A:3F:80:D8:B9:15:4A:45:60:C2:C5:71:DD:37:45:7E:BF:03:E7:BA:34:90:A0:53:F1:31:CC:BD:BA:D0:C4:C5:8C:CC:87:53:52:7C:05:EC:7D:A5:5C:EC:2E:55:89:38:CC:93:77:95:DD:96:47:54:63:15:F2:BB:4A:4C:F5:BB:35:CA:13:01:E9:0C:BF:37:EC:1E:36:65:9D:E1:01:6F:AF:69:81:EF:CF:BC:D8:D3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200437Z" } }, "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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.471) 0:00:25.921 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "FA:DB:CE:D8:F4:3C:7C:2B:EB:A7:DF:F9:6D:63:1C:B1:6E:EF:D6:A4" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "79:D6:F3:BE:B1:19:BD:C9:A4:AD:E8:1A:69:C4:0D:20:E9:E0:1F:E2:37:97:35:03:7B:D8:97:99:40:98:98:1D:C2:09:91:D0:D8:25:72:78:DB:78:63:8D:9A:8D:CB:90:EE:DC:92:1B:4A:52:E2:2B:A4:4A:8C:B5:CE:C3:80:54:85:F4:59:E2:25:71:CE:26:B2:0B:86:44:B4:F7:1A:43:C6:78:9F:F3:24:D5:32:87:E4:15:EE:46:94:6C:0B:00:B1:CF:4A:26:C3:2C:1B:3B:72:FE:D6:23:E1:DB:EE:77:98:6D:19:DF:BA:47:A0:EA:F0:1F:86:7E:DE:C7:46:25:63:24:9B:0C:34:3D:AB:81:9D:30:1D:05:A1:08:B7:81:EA:98:97:E8:4D:11:E9:8B:2C:65:D0:00:70:FE:DF:3B:7E:30:64:D7:68:7C:25:64:9A:3F:80:D8:B9:15:4A:45:60:C2:C5:71:DD:37:45:7E:BF:03:E7:BA:34:90:A0:53:F1:31:CC:BD:BA:D0:C4:C5:8C:CC:87:53:52:7C:05:EC:7D:A5:5C:EC:2E:55:89:38:CC:93:77:95:DD:96:47:54:63:15:F2:BB:4A:4C:F5:BB:35:CA:13:01:E9:0C:BF:37:EC:1E:36:65:9D:E1:01:6F:AF:69:81:EF:CF:BC:D8:D3" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.org" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200437Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.066) 0:00:25.987 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.060) 0:00:26.048 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.050) 0:00:26.098 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.054) 0:00:26.153 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.072) 0:00:26.226 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:04:46 -0500 (0:00:00.078) 0:00:26.304 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179 `" && echo ansible-tmp-1739477086.89-10711-153286658530179="` echo /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477086.89-10711-153286658530179=/root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpUnp3BX TO /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/AnsiballZ_command.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpUnp3BX /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/AnsiballZ_command.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/ /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '\r\n{"changed": true, "end": "2025-02-13 15:04:47.305018", "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 15:04:47.261495", "stderr": "", "delta": "0:00:00.043523", "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477086.89-10711-153286658530179/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.043523", "end": "2025-02-13 15:04:47.305018", "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 15:04:47.261495" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:04:47 -0500 (0:00:00.666) 0:00:26.971 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 15:04:47 -0500 (0:00:00.136) 0:00:27.107 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 15:04:47 -0500 (0:00:00.063) 0:00:27.170 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 15:04:47 -0500 (0:00:00.082) 0:00:27.253 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 15:04:47 -0500 (0:00:00.069) 0:00:27.322 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610 `" && echo ansible-tmp-1739477087.98-10850-49016418639610="` echo /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477087.98-10850-49016418639610=/root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmph0oEFs TO /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/AnsiballZ_yum.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmph0oEFs /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/AnsiballZ_yum.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/ /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.8.70> (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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477087.98-10850-49016418639610/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 15:04:48 -0500 (0:00:00.721) 0:00:28.043 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 15:04:48 -0500 (0:00:00.063) 0:00:28.107 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425 `" && echo ansible-tmp-1739477088.67-10885-8443310896425="` echo /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477088.67-10885-8443310896425=/root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpvesrfG TO /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpvesrfG /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/ /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477078.221921, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "770509558", "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": 1739477078.224921, "isdir": false, "ctime": 1739477078.221921, "isblk": false, "wgrp": false, "checksum": "e780c6798cdd4e99c4423069594b6d461c4e89a9", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477088.67-10885-8443310896425/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477078.224921, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e780c6798cdd4e99c4423069594b6d461c4e89a9", "ctime": 1739477078.221921, "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": 1739477078.221921, "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": "770509558", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 15:04:48 -0500 (0:00:00.372) 0:00:28.479 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.082) 0:00:28.562 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.120) 0:00:28.683 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.083) 0:00:28.766 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149 `" && echo ansible-tmp-1739477089.33-10923-71961923639149="` echo /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477089.33-10923-71961923639149=/root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmp1kDHhC TO /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/AnsiballZ_stat.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmp1kDHhC /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/AnsiballZ_stat.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/ /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.70> (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": 1739477078.221921, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "770509545", "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": 1739477078.1829207, "isdir": false, "ctime": 1739477078.221921, "isblk": false, "wgrp": false, "checksum": "9c0e5ea7f75fffae4d19c5f65e3421fc17a7189a", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477089.33-10923-71961923639149/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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": 1739477078.1829207, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9c0e5ea7f75fffae4d19c5f65e3421fc17a7189a", "ctime": 1739477078.221921, "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": 1739477078.221921, "nlink": 1, "path": "/etc/pki/tls/private/another-cert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "770509545", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.463) 0:00:29.230 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.078) 0:00:29.308 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 15:04:49 -0500 (0:00:00.100) 0:00:29.409 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195 `" && echo ansible-tmp-1739477089.99-10961-169417491603195="` echo /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477089.99-10961-169417491603195=/root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195\n', '') Using module file /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmpgiZjtX TO /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/AnsiballZ_certtojson.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmpgiZjtX /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/AnsiballZ_certtojson.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/ /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.8.70> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/another-cert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "CB:7D:BC:1D:38:1E:4A:A6:F9:A8:82:06:02:5D:4C:AF:82:56:91:B6:52:40:90:66:35:4B:FB:41:1F:0E:6C:4A:CA:D3:20:DE:4B:9C:2F:3E:D6:5B:FB:37:99:56:28:C6:F9:C4:06:B8:57:D9:E2:DC:6C:E1:F0:12:C0:4E:42:11:9D:3B:85:D7:CD:AF:56:03:56:61:B8:4E:13:5F:FF:04:EF:78:D9:05:23:44:91:0F:BC:92:ED:92:ED:05:29:D4:67:38:FB:0D:56:0A:DF:4E:68:35:DD:6B:C3:48:32:D0:8C:06:6B:DE:1A:FE:8D:84:3E:EC:0C:05:39:5C:36:F4:5C:E2:CC:EC:85:22:6B:EA:B5:DC:04:2B:C9:59:16:A9:06:27:D8:E5:45:D7:0D:EA:A4:39:73:35:78:39:16:30:A5:63:E5:C9:0D:2C:B9:AA:B6:72:56:43:02:78:80:9B:1F:D9:A8:88:3A:EC:0B:1A:DF:38:3F:C1:A7:31:7F:63:B1:8E:E8:74:D6:49:94:48:20:5A:40:BA:42:95:DF:06:29:20:83:F4:3E:3C:13:4E:83:F2:FF:7C:FD:83:9F:B4:ED:0E:FC:6E:1C:1D:5E:62:82:7F:CA:0C:43:25:AD:CE:44:BD:9A:1A:F4:6D:E9:60:87:E2:A5:1D:15:60:88:90"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "F1:C0:3B:4A:0C:DE:47:01:E9:64:0F:22:18:C0:9D:1F:30:8B:8B:55"}, "authorityKeyIdentifier": {"critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B"}, "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": "20260213200435Z", "not_valid_before": "20250213200438Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.net"}]}}\r\n', 'Shared connection to 10.31.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477089.99-10961-169417491603195/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "F1:C0:3B:4A:0C:DE:47:01:E9:64:0F:22:18:C0:9D:1F:30:8B:8B:55" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "CB:7D:BC:1D:38:1E:4A:A6:F9:A8:82:06:02:5D:4C:AF:82:56:91:B6:52:40:90:66:35:4B:FB:41:1F:0E:6C:4A:CA:D3:20:DE:4B:9C:2F:3E:D6:5B:FB:37:99:56:28:C6:F9:C4:06:B8:57:D9:E2:DC:6C:E1:F0:12:C0:4E:42:11:9D:3B:85:D7:CD:AF:56:03:56:61:B8:4E:13:5F:FF:04:EF:78:D9:05:23:44:91:0F:BC:92:ED:92:ED:05:29:D4:67:38:FB:0D:56:0A:DF:4E:68:35:DD:6B:C3:48:32:D0:8C:06:6B:DE:1A:FE:8D:84:3E:EC:0C:05:39:5C:36:F4:5C:E2:CC:EC:85:22:6B:EA:B5:DC:04:2B:C9:59:16:A9:06:27:D8:E5:45:D7:0D:EA:A4:39:73:35:78:39:16:30:A5:63:E5:C9:0D:2C:B9:AA:B6:72:56:43:02:78:80:9B:1F:D9:A8:88:3A:EC:0B:1A:DF:38:3F:C1:A7:31:7F:63:B1:8E:E8:74:D6:49:94:48:20:5A:40:BA:42:95:DF:06:29:20:83:F4:3E:3C:13:4E:83:F2:FF:7C:FD:83:9F:B4:ED:0E:FC:6E:1C:1D:5E:62:82:7F:CA:0C:43:25:AD:CE:44:BD:9A:1A:F4:6D:E9:60:87:E2:A5:1D:15:60:88:90" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200438Z" } }, "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-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.531) 0:00:29.941 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "A9:76:83:B6:0F:E6:2B:15:F2:44:BE:5A:A8:87:70:83:4D:CB:63:5B" }, "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": "F1:C0:3B:4A:0C:DE:47:01:E9:64:0F:22:18:C0:9D:1F:30:8B:8B:55" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "CB:7D:BC:1D:38:1E:4A:A6:F9:A8:82:06:02:5D:4C:AF:82:56:91:B6:52:40:90:66:35:4B:FB:41:1F:0E:6C:4A:CA:D3:20:DE:4B:9C:2F:3E:D6:5B:FB:37:99:56:28:C6:F9:C4:06:B8:57:D9:E2:DC:6C:E1:F0:12:C0:4E:42:11:9D:3B:85:D7:CD:AF:56:03:56:61:B8:4E:13:5F:FF:04:EF:78:D9:05:23:44:91:0F:BC:92:ED:92:ED:05:29:D4:67:38:FB:0D:56:0A:DF:4E:68:35:DD:6B:C3:48:32:D0:8C:06:6B:DE:1A:FE:8D:84:3E:EC:0C:05:39:5C:36:F4:5C:E2:CC:EC:85:22:6B:EA:B5:DC:04:2B:C9:59:16:A9:06:27:D8:E5:45:D7:0D:EA:A4:39:73:35:78:39:16:30:A5:63:E5:C9:0D:2C:B9:AA:B6:72:56:43:02:78:80:9B:1F:D9:A8:88:3A:EC:0B:1A:DF:38:3F:C1:A7:31:7F:63:B1:8E:E8:74:D6:49:94:48:20:5A:40:BA:42:95:DF:06:29:20:83:F4:3E:3C:13:4E:83:F2:FF:7C:FD:83:9F:B4:ED:0E:FC:6E:1C:1D:5E:62:82:7F:CA:0C:43:25:AD:CE:44:BD:9A:1A:F4:6D:E9:60:87:E2:A5:1D:15:60:88:90" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.net" } ], "validity": { "not_valid_after": "20260213200435Z", "not_valid_before": "20250213200438Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.075) 0:00:30.016 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.075) 0:00:30.091 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.073) 0:00:30.165 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.078) 0:00:30.244 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.060) 0:00:30.305 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 15:04:50 -0500 (0:00:00.057) 0:00:30.363 ***** <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.70> (0, '/root\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481 `" && echo ansible-tmp-1739477090.9-11017-216910358228481="` echo /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481 `" ) && sleep 0'"'"'' <10.31.8.70> (0, 'ansible-tmp-1739477090.9-11017-216910358228481=/root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.8.70> PUT /root/.ansible/tmp/ansible-local-9801R19pPz/tmp90RDHk TO /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/AnsiballZ_command.py <10.31.8.70> 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/0cdc44c49b '[10.31.8.70]' <10.31.8.70> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9801R19pPz/tmp90RDHk /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/AnsiballZ_command.py\n', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/ /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '', '') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b -tt 10.31.8.70 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.70> (0, '\r\n{"changed": true, "end": "2025-02-13 15:04:51.168206", "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 15:04:51.125431", "stderr": "", "delta": "0:00:00.042775", "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.8.70 closed.\r\n') <10.31.8.70> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.70> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/0cdc44c49b 10.31.8.70 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739477090.9-11017-216910358228481/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.70> (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.042775", "end": "2025-02-13 15:04:51.168206", "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 15:04:51.125431" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 15:04:51 -0500 (0:00:00.400) 0:00:30.763 ***** 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 15:04:51 -0500 (0:00:00.063) 0:00:30.827 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.34s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.28s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.59s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.14s /tmp/collections-RNT/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.85s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.74s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.72s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Ensure python3 is installed --------------------------------------------- 0.72s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.72s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.71s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_many_self_signed.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.67s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Parse certificate ------------------------------------------------------- 0.62s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.57s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.51s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve key file stats ------------------------------------------------- 0.48s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Parse certificate ------------------------------------------------------- 0.47s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve key file stats ------------------------------------------------- 0.46s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.45s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve certificate file stats ----------------------------------------- 0.41s /tmp/collections-RNT/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38