ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method Parsed /tmp/inventory-kuH.yml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_no_auto_renew.yml ********************************************** 2 plays in /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 Thursday 13 February 2025 13:50:11 -0500 (0:00:00.040) 0:00:00.040 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588 `" && echo ansible-tmp-1739472611.86-11442-24052150842588="` echo /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472611.86-11442-24052150842588=/root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588\n', '') Attempting python interpreter discovery <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/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.42.98> (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.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.42.98> (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.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpnqBYxT TO /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/AnsiballZ_setup.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpnqBYxT /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/AnsiballZ_setup.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/ /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 33792 22", "SSH_CONNECTION": "10.31.42.233 33792 10.31.42.98 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:ef:88:be:98:e1", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.98", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "545e8685ceae44ea8916479c0a8ad7b1", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2D701A-8B99-E6F7-9127-2B326A6E7FE0", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::cef:88ff:febe:98e1"], "ansible_uptime_seconds": 294, "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": "ec2d701a-8b99-e6f7-9127-2b326a6e7fe0", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:ef:88:be:98:e1", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.98"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::cef:88ff:febe:98e1"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.98"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 839, "free": 2761}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 178, "free": 3422}}, "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": 2761, "ansible_processor_count": 1, "ansible_hostname": "managed-node3", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node3", "ansible_mounts": [{"block_used": 3203503, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287357, "size_available": 251033014272, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65208, "block_size": 4096, "inode_available": 16318792}], "ansible_nodename": "managed-node3", "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": "20250213T135013", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472613", "iso8601_micro": "2025-02-13T18:50:13.710875Z", "weekday": "Thursday", "time": "13:50:13", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:13Z", "day": "13", "iso8601_basic": "20250213T135013710875", "second": "13"}, "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472611.86-11442-24052150842588/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:50:13 -0500 (0:00:01.980) 0:00:02.020 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:50:13 -0500 (0:00:00.047) 0:00:02.068 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:50:13 -0500 (0:00:00.068) 0:00:02.137 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833 `" && echo ansible-tmp-1739472614.06-11512-238059469490833="` echo /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472614.06-11512-238059469490833=/root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpI0ukvs TO /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpI0ukvs /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/ /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472614.06-11512-238059469490833/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:50:14 -0500 (0:00:00.582) 0:00:02.719 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:50:14 -0500 (0:00:00.092) 0:00:02.812 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node3] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:50:14 -0500 (0:00:00.121) 0:00:02.933 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171 `" && echo ansible-tmp-1739472614.86-11553-267214944109171="` echo /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472614.86-11553-267214944109171=/root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmp8T1cnS TO /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmp8T1cnS /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/ /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (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": "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}}, "changed": false, "results": ["python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472614.86-11553-267214944109171/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "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": [ "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": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:50:16 -0500 (0:00:01.720) 0:00:04.653 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616 `" && echo ansible-tmp-1739472616.62-11617-266467898192616="` echo /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472616.62-11617-266467898192616=/root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpFv7zTj TO /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpFv7zTj /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/ /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (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": "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}}, "changed": false, "results": ["certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472616.62-11617-266467898192616/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "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": [ "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": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.654) 0:00:05.308 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236 `" && echo ansible-tmp-1739472617.16-11698-107542648322236="` echo /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472617.16-11698-107542648322236=/root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpfmSIs0 TO /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/AnsiballZ_file.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpfmSIs0 /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/AnsiballZ_file.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/ /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "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"}, "before": {"path": "/etc/certmonger//pre-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472617.16-11698-107542648322236/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.858) 0:00:06.167 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938 `" && echo ansible-tmp-1739472618.1-11771-19518336418938="` echo /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472618.1-11771-19518336418938=/root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpJZs5Dv TO /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/AnsiballZ_file.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpJZs5Dv /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/AnsiballZ_file.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/ /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "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"}, "before": {"path": "/etc/certmonger//post-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472618.1-11771-19518336418938/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:50:18 -0500 (0:00:00.520) 0:00:06.687 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832 `" && echo ansible-tmp-1739472618.56-11845-107161085554832="` echo /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472618.56-11845-107161085554832=/root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpbmfWy1 TO /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/AnsiballZ_systemd.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpbmfWy1 /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/AnsiballZ_systemd.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/ /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.98> (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=[Thu 2025-02-13 13:49:56 EST] ; stop_time=[n/a] ; pid=9737 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "ControlGroup": "/system.slice/certmonger.service", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "enabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "279055349", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "279055492", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 13:49:56 EST", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:56 EST", "WatchdogTimestamp": "Thu 2025-02-13 13:49:56 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target multi-user.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "279030706", "ExecMainPID": "9737", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:56 EST", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "StartLimitBurst": "5", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "LimitCORE": "18446744073709551615", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "running", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestampMonotonic": "279030057", "MainPID": "9737", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:56 EST", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "active", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "WantedBy": "multi-user.target", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "ConditionTimestamp": "Thu 2025-02-13 13:49:56 EST", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "RefuseManualStop": "no", "SystemCallErrorNumber": "0", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "279030058", "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": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "279030660", "StandardError": "inherit", "LimitNICE": "0", "After": "network.target system.slice systemd-journald.socket basic.target dbus.service syslog.target", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "Transient": "no", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "ControlPID": "0", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "PrivateDevices": "no", "Id": "certmonger.service"}, "name": "certmonger", "changed": false, "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472618.56-11845-107161085554832/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:56 EST", "ActiveEnterTimestampMonotonic": "279055492", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice systemd-journald.socket basic.target dbus.service syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:49:56 EST", "AssertTimestampMonotonic": "279030058", "Before": "shutdown.target multi-user.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": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:49:56 EST", "ConditionTimestampMonotonic": "279030057", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "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": "9737", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:56 EST", "ExecMainStartTimestampMonotonic": "279030660", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:49:56 EST] ; stop_time=[n/a] ; pid=9737 ; 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", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:56 EST", "InactiveExitTimestampMonotonic": "279030706", "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": "9737", "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": "running", "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": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:49:56 EST", "WatchdogTimestampMonotonic": "279055349", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:50:19 -0500 (0:00:00.928) 0:00:07.616 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315 `" && echo ansible-tmp-1739472619.57-11888-22369421034315="` echo /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472619.57-11888-22369421034315=/root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpME1yuj TO /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/AnsiballZ_certificate_request.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpME1yuj /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/AnsiballZ_certificate_request.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/ /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"msg": "Certificate requested (new).", "invocation": {"module_args": {"auto_renew": false, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "name": "mycert_no_auto_renew", "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "wait": true, "run_after": null, "country": null, "key_size": null, "mode": null, "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472619.57-11888-22369421034315/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') changed: [managed-node3] => (item={u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}) => { "ansible_loop_var": "item", "changed": true, "invocation": { "module_args": { "__header": "#\n# Ansible managed\n#\n# system_role:certificate\n", "auto_renew": false, "ca": "self-sign", "common_name": null, "contact_email": null, "country": null, "directory": "/etc/pki/tls", "dns": [ "www.example.com" ], "email": null, "extended_key_usage": [ "id-kp-serverAuth", "id-kp-clientAuth" ], "group": null, "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_no_auto_renew", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } } MSG: Certificate requested (new). <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274 `" && echo ansible-tmp-1739472620.5-11888-131652664818274="` echo /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472620.5-11888-131652664818274=/root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpoPB6Jl TO /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/AnsiballZ_certificate_request.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpoPB6Jl /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/AnsiballZ_certificate_request.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/ /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.98> (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": "defaultcert", "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472620.5-11888-131652664818274/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') changed: [managed-node3] => (item={u'ca': u'self-sign', u'name': u'defaultcert', 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": "defaultcert", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:50:21 -0500 (0:00:01.927) 0:00:09.543 ***** skipping: [managed-node3] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'key', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'key', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'mycert_no_auto_renew', u'dns': u'www.example.com', u'auto_renew': False}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "auto_renew": false, "ca": "self-sign", "dns": "www.example.com", "name": "mycert_no_auto_renew" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'defaultcert', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "defaultcert" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.088) 0:00:09.632 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.062) 0:00:09.695 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.061) 0:00:09.756 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.081) 0:00:09.837 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705 `" && echo ansible-tmp-1739472621.68-12002-213018745204705="` echo /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472621.68-12002-213018745204705=/root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmptI9vIW TO /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/AnsiballZ_setup.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmptI9vIW /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/AnsiballZ_setup.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/ /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 33792 22", "SSH_CONNECTION": "10.31.42.233 33792 10.31.42.98 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:ef:88:be:98:e1", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.98", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "545e8685ceae44ea8916479c0a8ad7b1", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2D701A-8B99-E6F7-9127-2B326A6E7FE0", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::cef:88ff:febe:98e1"], "ansible_uptime_seconds": 304, "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": "ec2d701a-8b99-e6f7-9127-2b326a6e7fe0", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:ef:88:be:98:e1", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.98"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::cef:88ff:febe:98e1"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.98"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 840, "free": 2760}, "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": 2760, "ansible_processor_count": 1, "ansible_hostname": "managed-node3", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node3", "ansible_mounts": [{"block_used": 3203546, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287314, "size_available": 251032838144, "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-node3", "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": "20250213T135022", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472622", "iso8601_micro": "2025-02-13T18:50:22.123004Z", "weekday": "Thursday", "time": "13:50:22", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:22Z", "day": "13", "iso8601_basic": "20250213T135022123004", "second": "22"}, "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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472621.68-12002-213018745204705/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:42 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.595) 0:00:10.433 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.160) 0:00:10.594 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.035) 0:00:10.629 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.055) 0:00:10.684 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.068) 0:00:10.753 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525 `" && echo ansible-tmp-1739472622.72-12050-162505642257525="` echo /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472622.72-12050-162505642257525=/root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmp2i9BB3 TO /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmp2i9BB3 /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/ /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472622.72-12050-162505642257525/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.629) 0:00:11.382 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.065) 0:00:11.448 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514 `" && echo ansible-tmp-1739472623.32-12089-138248371572514="` echo /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472623.32-12089-138248371572514=/root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpVWPUGM TO /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpVWPUGM /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/ /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.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": 1739472620.2431812, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "501215047", "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_no_auto_renew.crt", "xusr": false, "atime": 1739472620.2471812, "isdir": false, "ctime": 1739472620.2431812, "isblk": false, "wgrp": false, "checksum": "954cebd29ce2013006f1244ba50b119960f09090", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472623.32-12089-138248371572514/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "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_no_auto_renew.crt" } }, "stat": { "atime": 1739472620.2471812, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "954cebd29ce2013006f1244ba50b119960f09090", "ctime": 1739472620.2431812, "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": 1739472620.2431812, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_no_auto_renew.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "501215047", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.416) 0:00:11.864 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.068) 0:00:11.933 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.084) 0:00:12.017 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.069) 0:00:12.087 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335 `" && echo ansible-tmp-1739472623.93-12136-163017917494335="` echo /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472623.93-12136-163017917494335=/root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpJPjAG6 TO /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpJPjAG6 /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/ /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_no_auto_renew.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": 1739472620.2431812, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "501215034", "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_no_auto_renew.key", "xusr": false, "atime": 1739472620.2031808, "isdir": false, "ctime": 1739472620.2431812, "isblk": false, "wgrp": false, "checksum": "616dbc5a41127f6edd682a3ca9546309bdb866f2", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472623.93-12136-163017917494335/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "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_no_auto_renew.key" } }, "stat": { "atime": 1739472620.2031808, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "616dbc5a41127f6edd682a3ca9546309bdb866f2", "ctime": 1739472620.2431812, "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": 1739472620.2431812, "nlink": 1, "path": "/etc/pki/tls/private/mycert_no_auto_renew.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "501215034", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.377) 0:00:12.465 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.070) 0:00:12.536 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.097) 0:00:12.633 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507 `" && echo ansible-tmp-1739472624.51-12172-189885282529507="` echo /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472624.51-12172-189885282529507=/root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpQ7Cmfk TO /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/AnsiballZ_certtojson.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpQ7Cmfk /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/AnsiballZ_certtojson.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/ /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_no_auto_renew.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "31:95:CF:C8:FF:C0:DD:C3:A9:5E:07:20:7E:0C:89:C5:8B:1F:12:27:21:41:FE:EB:6A:72:E5:29:9E:C8:94:2D:F4:69:9D:0A:75:08:A2:53:2D:B3:AA:96:E2:CD:7A:03:9C:AF:25:07:7C:85:3F:AC:7A:CC:22:AD:81:1A:FF:26:21:30:18:52:69:24:29:EF:83:16:FB:33:D8:09:52:86:DE:16:FB:3C:F7:D4:AD:C0:E7:7E:CA:D8:A6:AC:22:DA:A8:48:E8:A9:EA:E4:D1:39:CB:1D:B4:CA:BC:DE:24:32:C8:EA:20:EA:78:B6:A4:5F:4F:BC:33:55:D7:13:5C:DE:29:AE:32:6A:8B:CC:3A:F4:3F:C1:61:B4:3E:04:CA:A3:B5:2F:B6:54:21:45:DF:44:61:B8:E4:43:93:7C:7F:75:7F:C2:00:7B:CE:AF:10:A0:8F:6B:25:6C:71:65:49:59:AB:1C:52:85:22:CC:A9:09:4E:87:CA:70:9C:44:15:D3:B3:86:47:C6:44:B3:2B:35:49:CE:B5:D7:F3:A0:87:CA:BD:81:C5:3E:AF:59:BD:BE:2B:9B:ED:CE:C0:73:4D:32:8E:91:48:31:05:65:80:45:DA:A5:43:AC:5A:B1:56:C4:E2:16:F6:B8:43:1D:C8:4D:8D:51:CE:EC:C5:42:B4:6F"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "20:11:F0:4B:1B:6A:80:6B:E3:FC:03:3E:2C:1B:A4:74:F7:8D:BB:A6"}, "authorityKeyIdentifier": {"critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED"}, "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": "20260213184956Z", "not_valid_before": "20250213185020Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472624.51-12172-189885282529507/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED" }, "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": "20:11:F0:4B:1B:6A:80:6B:E3:FC:03:3E:2C:1B:A4:74:F7:8D:BB:A6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:95:CF:C8:FF:C0:DD:C3:A9:5E:07:20:7E:0C:89:C5:8B:1F:12:27:21:41:FE:EB:6A:72:E5:29:9E:C8:94:2D:F4:69:9D:0A:75:08:A2:53:2D:B3:AA:96:E2:CD:7A:03:9C:AF:25:07:7C:85:3F:AC:7A:CC:22:AD:81:1A:FF:26:21:30:18:52:69:24:29:EF:83:16:FB:33:D8:09:52:86:DE:16:FB:3C:F7:D4:AD:C0:E7:7E:CA:D8:A6:AC:22:DA:A8:48:E8:A9:EA:E4:D1:39:CB:1D:B4:CA:BC:DE:24:32:C8:EA:20:EA:78:B6:A4:5F:4F:BC:33:55:D7:13:5C:DE:29:AE:32:6A:8B:CC:3A:F4:3F:C1:61:B4:3E:04:CA:A3:B5:2F:B6:54:21:45:DF:44:61:B8:E4:43:93:7C:7F:75:7F:C2:00:7B:CE:AF:10:A0:8F:6B:25:6C:71:65:49:59:AB:1C:52:85:22:CC:A9:09:4E:87:CA:70:9C:44:15:D3:B3:86:47:C6:44:B3:2B:35:49:CE:B5:D7:F3:A0:87:CA:BD:81:C5:3E:AF:59:BD:BE:2B:9B:ED:CE:C0:73:4D:32:8E:91:48:31:05:65:80:45:DA:A5:43:AC:5A:B1:56:C4:E2:16:F6:B8:43:1D:C8:4D:8D:51:CE:EC:C5:42:B4:6F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184956Z", "not_valid_before": "20250213185020Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_no_auto_renew.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.724) 0:00:13.358 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED" }, "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": "20:11:F0:4B:1B:6A:80:6B:E3:FC:03:3E:2C:1B:A4:74:F7:8D:BB:A6" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "31:95:CF:C8:FF:C0:DD:C3:A9:5E:07:20:7E:0C:89:C5:8B:1F:12:27:21:41:FE:EB:6A:72:E5:29:9E:C8:94:2D:F4:69:9D:0A:75:08:A2:53:2D:B3:AA:96:E2:CD:7A:03:9C:AF:25:07:7C:85:3F:AC:7A:CC:22:AD:81:1A:FF:26:21:30:18:52:69:24:29:EF:83:16:FB:33:D8:09:52:86:DE:16:FB:3C:F7:D4:AD:C0:E7:7E:CA:D8:A6:AC:22:DA:A8:48:E8:A9:EA:E4:D1:39:CB:1D:B4:CA:BC:DE:24:32:C8:EA:20:EA:78:B6:A4:5F:4F:BC:33:55:D7:13:5C:DE:29:AE:32:6A:8B:CC:3A:F4:3F:C1:61:B4:3E:04:CA:A3:B5:2F:B6:54:21:45:DF:44:61:B8:E4:43:93:7C:7F:75:7F:C2:00:7B:CE:AF:10:A0:8F:6B:25:6C:71:65:49:59:AB:1C:52:85:22:CC:A9:09:4E:87:CA:70:9C:44:15:D3:B3:86:47:C6:44:B3:2B:35:49:CE:B5:D7:F3:A0:87:CA:BD:81:C5:3E:AF:59:BD:BE:2B:9B:ED:CE:C0:73:4D:32:8E:91:48:31:05:65:80:45:DA:A5:43:AC:5A:B1:56:C4:E2:16:F6:B8:43:1D:C8:4D:8D:51:CE:EC:C5:42:B4:6F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184956Z", "not_valid_before": "20250213185020Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.064) 0:00:13.423 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.137) 0:00:13.561 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.113) 0:00:13.674 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.090) 0:00:13.765 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.173) 0:00:13.939 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.145) 0:00:14.084 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345 `" && echo ansible-tmp-1739472625.94-12301-214192368459345="` echo /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472625.94-12301-214192368459345=/root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpO0Ei0y TO /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/AnsiballZ_command.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpO0Ei0y /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/AnsiballZ_command.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/ /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:26.448171", "stdout": "no", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:26.404747", "stderr": "", "delta": "0:00:00.043424", "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_no_auto_renew.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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472625.94-12301-214192368459345/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043424", "end": "2025-02-13 13:50:26.448171", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_no_auto_renew.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:26.404747" } STDOUT: no TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:26 -0500 (0:00:00.658) 0:00:14.742 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:26 -0500 (0:00:00.086) 0:00:14.829 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:26 -0500 (0:00:00.059) 0:00:14.889 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:26 -0500 (0:00:00.058) 0:00:14.947 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:26 -0500 (0:00:00.073) 0:00:15.020 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032 `" && echo ansible-tmp-1739472627.0-12436-235554602339032="` echo /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472627.0-12436-235554602339032=/root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpjnYPYW TO /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/AnsiballZ_yum.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpjnYPYW /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/AnsiballZ_yum.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/ /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.98> (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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472627.0-12436-235554602339032/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:27 -0500 (0:00:00.675) 0:00:15.695 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:27 -0500 (0:00:00.061) 0:00:15.757 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770 `" && echo ansible-tmp-1739472627.62-12561-146160159670770="` echo /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472627.62-12561-146160159670770=/root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpFLt52T TO /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpFLt52T /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/ /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/defaultcert.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": 1739472621.129191, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "501215085", "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/defaultcert.crt", "xusr": false, "atime": 1739472621.133191, "isdir": false, "ctime": 1739472621.129191, "isblk": false, "wgrp": false, "checksum": "31a205ab86db742fb14029818cdb2575df0c81a6", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472627.62-12561-146160159670770/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "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/defaultcert.crt" } }, "stat": { "atime": 1739472621.133191, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "31a205ab86db742fb14029818cdb2575df0c81a6", "ctime": 1739472621.129191, "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": 1739472621.129191, "nlink": 1, "path": "/etc/pki/tls/certs/defaultcert.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "501215085", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.514) 0:00:16.272 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.086) 0:00:16.359 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.144) 0:00:16.503 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.094) 0:00:16.597 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688 `" && echo ansible-tmp-1739472628.46-12614-147991265774688="` echo /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472628.46-12614-147991265774688=/root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmporn67B TO /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/AnsiballZ_stat.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmporn67B /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/AnsiballZ_stat.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/ /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/defaultcert.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": 1739472621.129191, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "501215072", "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/defaultcert.key", "xusr": false, "atime": 1739472621.0901906, "isdir": false, "ctime": 1739472621.129191, "isblk": false, "wgrp": false, "checksum": "176af026df0fcf895d4b4fbd3616ccdcd02f725b", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472628.46-12614-147991265774688/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "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/defaultcert.key" } }, "stat": { "atime": 1739472621.0901906, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "176af026df0fcf895d4b4fbd3616ccdcd02f725b", "ctime": 1739472621.129191, "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": 1739472621.129191, "nlink": 1, "path": "/etc/pki/tls/private/defaultcert.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "501215072", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.415) 0:00:17.013 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.071) 0:00:17.084 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:28 -0500 (0:00:00.085) 0:00:17.169 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440 `" && echo ansible-tmp-1739472629.05-12639-5747624601440="` echo /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472629.05-12639-5747624601440=/root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpRcIrxv TO /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/AnsiballZ_certtojson.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpRcIrxv /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/AnsiballZ_certtojson.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/ /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/defaultcert.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "0F:5A:1E:81:ED:AB:54:F4:6E:18:F4:8B:7C:57:00:09:62:C2:73:B6:BD:5C:63:63:25:D7:BA:21:85:58:76:C2:47:3F:30:B0:5F:DC:48:58:5C:06:3F:5A:1E:CA:42:72:3C:2F:B9:B2:55:AC:BA:22:7D:C4:28:EA:43:B5:6C:22:1A:CF:1D:83:EB:04:40:C8:5E:CA:CA:D2:B6:99:57:AB:46:DF:5B:82:2D:E3:BE:4B:F4:15:E0:DA:1D:1B:45:75:D6:75:13:23:48:64:82:82:AE:EC:92:AC:88:F2:12:2E:96:CF:E8:4C:49:8D:7F:2E:43:FE:77:28:1C:A7:69:09:D1:46:C2:A4:6A:14:6C:5A:62:47:A2:9F:DA:27:2F:03:62:25:0A:DB:C0:BB:FE:77:90:A7:B1:13:1A:82:C6:FF:9F:5E:C0:9A:E6:5C:9C:A3:A5:4C:15:03:EE:96:73:7A:4A:A3:E5:6D:1A:AA:6B:FF:A7:D4:2B:D7:10:70:90:C8:38:EF:11:47:E9:97:38:88:F1:AD:44:90:95:E1:21:FE:E7:76:54:39:D5:2A:7D:00:10:36:8B:81:50:C0:B3:22:FE:FF:9D:5E:CF:AB:65:52:C5:F5:6F:7B:00:3F:3C:80:98:C9:17:00:DF:22:5A:2B:AD:57:82:29:47:73:56:79"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "6A:68:D4:4F:C0:A2:6E:30:61:EA:8C:6E:92:B9:8F:AF:5D:E7:CB:0E"}, "authorityKeyIdentifier": {"critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED"}, "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": "20260213184956Z", "not_valid_before": "20250213185021Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472629.05-12639-5747624601440/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED" }, "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": "6A:68:D4:4F:C0:A2:6E:30:61:EA:8C:6E:92:B9:8F:AF:5D:E7:CB:0E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0F:5A:1E:81:ED:AB:54:F4:6E:18:F4:8B:7C:57:00:09:62:C2:73:B6:BD:5C:63:63:25:D7:BA:21:85:58:76:C2:47:3F:30:B0:5F:DC:48:58:5C:06:3F:5A:1E:CA:42:72:3C:2F:B9:B2:55:AC:BA:22:7D:C4:28:EA:43:B5:6C:22:1A:CF:1D:83:EB:04:40:C8:5E:CA:CA:D2:B6:99:57:AB:46:DF:5B:82:2D:E3:BE:4B:F4:15:E0:DA:1D:1B:45:75:D6:75:13:23:48:64:82:82:AE:EC:92:AC:88:F2:12:2E:96:CF:E8:4C:49:8D:7F:2E:43:FE:77:28:1C:A7:69:09:D1:46:C2:A4:6A:14:6C:5A:62:47:A2:9F:DA:27:2F:03:62:25:0A:DB:C0:BB:FE:77:90:A7:B1:13:1A:82:C6:FF:9F:5E:C0:9A:E6:5C:9C:A3:A5:4C:15:03:EE:96:73:7A:4A:A3:E5:6D:1A:AA:6B:FF:A7:D4:2B:D7:10:70:90:C8:38:EF:11:47:E9:97:38:88:F1:AD:44:90:95:E1:21:FE:E7:76:54:39:D5:2A:7D:00:10:36:8B:81:50:C0:B3:22:FE:FF:9D:5E:CF:AB:65:52:C5:F5:6F:7B:00:3F:3C:80:98:C9:17:00:DF:22:5A:2B:AD:57:82:29:47:73:56:79" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184956Z", "not_valid_before": "20250213185021Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/defaultcert.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.524) 0:00:17.694 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "BC:80:82:C7:16:99:38:C2:1F:C5:6C:E7:E9:3B:B2:3A:F0:F0:39:ED" }, "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": "6A:68:D4:4F:C0:A2:6E:30:61:EA:8C:6E:92:B9:8F:AF:5D:E7:CB:0E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0F:5A:1E:81:ED:AB:54:F4:6E:18:F4:8B:7C:57:00:09:62:C2:73:B6:BD:5C:63:63:25:D7:BA:21:85:58:76:C2:47:3F:30:B0:5F:DC:48:58:5C:06:3F:5A:1E:CA:42:72:3C:2F:B9:B2:55:AC:BA:22:7D:C4:28:EA:43:B5:6C:22:1A:CF:1D:83:EB:04:40:C8:5E:CA:CA:D2:B6:99:57:AB:46:DF:5B:82:2D:E3:BE:4B:F4:15:E0:DA:1D:1B:45:75:D6:75:13:23:48:64:82:82:AE:EC:92:AC:88:F2:12:2E:96:CF:E8:4C:49:8D:7F:2E:43:FE:77:28:1C:A7:69:09:D1:46:C2:A4:6A:14:6C:5A:62:47:A2:9F:DA:27:2F:03:62:25:0A:DB:C0:BB:FE:77:90:A7:B1:13:1A:82:C6:FF:9F:5E:C0:9A:E6:5C:9C:A3:A5:4C:15:03:EE:96:73:7A:4A:A3:E5:6D:1A:AA:6B:FF:A7:D4:2B:D7:10:70:90:C8:38:EF:11:47:E9:97:38:88:F1:AD:44:90:95:E1:21:FE:E7:76:54:39:D5:2A:7D:00:10:36:8B:81:50:C0:B3:22:FE:FF:9D:5E:CF:AB:65:52:C5:F5:6F:7B:00:3F:3C:80:98:C9:17:00:DF:22:5A:2B:AD:57:82:29:47:73:56:79" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184956Z", "not_valid_before": "20250213185021Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.049) 0:00:17.744 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.051) 0:00:17.795 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.064) 0:00:17.860 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.051) 0:00:17.911 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.069) 0:00:17.981 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:29 -0500 (0:00:00.081) 0:00:18.062 ***** <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.98> (0, '/root\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612 `" && echo ansible-tmp-1739472629.93-12682-120314413588612="` echo /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612 `" ) && sleep 0'"'"'' <10.31.42.98> (0, 'ansible-tmp-1739472629.93-12682-120314413588612=/root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.98> PUT /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpHCnPoX TO /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/AnsiballZ_command.py <10.31.42.98> 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/a92cb34a4e '[10.31.42.98]' <10.31.42.98> (0, 'sftp> put /root/.ansible/tmp/ansible-local-11416lGWvRf/tmpHCnPoX /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/AnsiballZ_command.py\n', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/ /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '', '') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e -tt 10.31.42.98 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.98> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:30.189482", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:30.146280", "stderr": "", "delta": "0:00:00.043202", "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/defaultcert.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.42.98 closed.\r\n') <10.31.42.98> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.98> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a92cb34a4e 10.31.42.98 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472629.93-12682-120314413588612/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.98> (0, '', '') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.043202", "end": "2025-02-13 13:50:30.189482", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/defaultcert.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:30.146280" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:30 -0500 (0:00:00.395) 0:00:18.458 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=50 changed=1 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Thursday 13 February 2025 13:50:30 -0500 (0:00:00.046) 0:00:18.504 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 1.98s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.93s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.72s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.93s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.86s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.72s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.68s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.66s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.65s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.63s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_no_auto_renew.yml:17 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.58s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.52s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.52s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve certificate file stats ----------------------------------------- 0.42s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.42s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Retrieve auto-renew flag ------------------------------------------------ 0.40s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Retrieve key file stats ------------------------------------------------- 0.38s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Verify certificate Key Usage -------------------------------------------- 0.17s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119