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-Zkj.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-Zkj.yml as it did not pass its verify_file() method Parsed /tmp/inventory-Zkj.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_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml PLAY [Ensure UID and GID exists] *********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Thursday 13 February 2025 13:30:18 -0500 (0:00:00.031) 0:00:00.031 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', "Warning: Permanently added '10.31.41.116' (ECDSA) to the list of known hosts.\r\n") <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545 `" && echo ansible-tmp-1739471419.0-9863-197121036322545="` echo /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471419.0-9863-197121036322545=/root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545\n', '') Attempting python interpreter discovery <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/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.41.116> (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.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.41.116> (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.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUvcGvG TO /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/AnsiballZ_setup.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUvcGvG /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/AnsiballZ_setup.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/ /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (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.47.125 44092 22", "SSH_CONNECTION": "10.31.47.125 44092 10.31.41.116 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:66:94:1a:91:b9", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.116", "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": "8bb888dfaae7491ebb8dfab67ce66ab3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC25498E-F1AD-A547-18AE-F351301579BD", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c66:94ff:fe1a:91b9"], "ansible_uptime_seconds": 247, "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": "ec25498e-f1ad-a547-18ae-f351301579bd", "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:66:94:1a:91:b9", "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.41.116"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c66:94ff:fe1a:91b9"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.116"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 710, "free": 2890}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 171, "free": 3429}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2890, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3195554, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295306, "size_available": 251065573376, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64245, "block_size": 4096, "inode_available": 16319755}], "ansible_nodename": "managed-node2", "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": "20250213T133019", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "30", "tz_offset": "-0500", "month": "02", "epoch": "1739471419", "iso8601_micro": "2025-02-13T18:30:19.750969Z", "weekday": "Thursday", "time": "13:30:19", "date": "2025-02-13", "iso8601": "2025-02-13T18:30:19Z", "day": "13", "iso8601_basic": "20250213T133019750969", "second": "19"}, "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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471419.0-9863-197121036322545/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Thursday 13 February 2025 13:30:19 -0500 (0:00:01.146) 0:00:01.178 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566 `" && echo ansible-tmp-1739471419.86-9879-77412008018566="` echo /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471419.86-9879-77412008018566=/root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp21YzAI TO /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/AnsiballZ_user.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp21YzAI /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/AnsiballZ_user.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/ /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/AnsiballZ_user.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/AnsiballZ_user.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"comment": "", "shell": "/bin/bash", "group": 1040, "uid": 1040, "changed": true, "create_home": true, "system": false, "state": "present", "invocation": {"module_args": {"comment": null, "ssh_key_bits": 0, "update_password": "always", "non_unique": false, "force": false, "ssh_key_type": "rsa", "create_home": true, "password_lock": null, "ssh_key_passphrase": null, "home": null, "skeleton": null, "append": false, "uid": 1040, "ssh_key_comment": "ansible-generated on managed-node2", "group": null, "system": false, "state": "present", "role": null, "hidden": null, "local": null, "authorization": null, "profile": null, "shell": null, "expires": null, "ssh_key_file": null, "groups": null, "move_home": false, "password": null, "name": "user1", "seuser": null, "remove": false, "login_class": null, "generate_ssh_key": null}}, "home": "/home/user1", "name": "user1"}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471419.86-9879-77412008018566/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => { "changed": true, "comment": "", "create_home": true, "group": 1040, "home": "/home/user1", "invocation": { "module_args": { "append": false, "authorization": null, "comment": null, "create_home": true, "expires": null, "force": false, "generate_ssh_key": null, "group": null, "groups": null, "hidden": null, "home": null, "local": null, "login_class": null, "move_home": false, "name": "user1", "non_unique": false, "password": null, "password_lock": null, "profile": null, "remove": false, "role": null, "seuser": null, "shell": null, "skeleton": null, "ssh_key_bits": 0, "ssh_key_comment": "ansible-generated on managed-node2", "ssh_key_file": null, "ssh_key_passphrase": null, "ssh_key_type": "rsa", "state": "present", "system": false, "uid": 1040, "update_password": "always" } }, "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Thursday 13 February 2025 13:30:20 -0500 (0:00:00.630) 0:00:01.809 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199 `" && echo ansible-tmp-1739471420.49-9918-91783363792199="` echo /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471420.49-9918-91783363792199=/root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/group.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpwQCq7b TO /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/AnsiballZ_group.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpwQCq7b /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/AnsiballZ_group.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/ /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/AnsiballZ_group.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/AnsiballZ_group.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"name": "somegroup", "changed": true, "system": false, "state": "present", "gid": 1041, "invocation": {"module_args": {"non_unique": false, "name": "somegroup", "system": false, "state": "present", "gid": 1041, "local": false}}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471420.49-9918-91783363792199/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => { "changed": true, "gid": 1041, "invocation": { "module_args": { "gid": 1041, "local": false, "name": "somegroup", "non_unique": false, "state": "present", "system": false } }, "name": "somegroup", "state": "present", "system": false } META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Thursday 13 February 2025 13:30:20 -0500 (0:00:00.484) 0:00:02.293 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979 `" && echo ansible-tmp-1739471420.97-9936-95743762275979="` echo /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471420.97-9936-95743762275979=/root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUO9pzq TO /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/AnsiballZ_setup.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUO9pzq /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/AnsiballZ_setup.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/ /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (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.47.125 44092 22", "SSH_CONNECTION": "10.31.47.125 44092 10.31.41.116 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:66:94:1a:91:b9", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.116", "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": "8bb888dfaae7491ebb8dfab67ce66ab3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC25498E-F1AD-A547-18AE-F351301579BD", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c66:94ff:fe1a:91b9"], "ansible_uptime_seconds": 249, "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": "ec25498e-f1ad-a547-18ae-f351301579bd", "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:66:94:1a:91:b9", "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.41.116"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c66:94ff:fe1a:91b9"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.116"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 712, "free": 2888}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 171, "free": 3429}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2888, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3195573, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61295287, "size_available": 251065495552, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 64252, "block_size": 4096, "inode_available": 16319748}], "ansible_nodename": "managed-node2", "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": "20250213T133021", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "30", "tz_offset": "-0500", "month": "02", "epoch": "1739471421", "iso8601_micro": "2025-02-13T18:30:21.419447Z", "weekday": "Thursday", "time": "13:30:21", "date": "2025-02-13", "iso8601": "2025-02-13T18:30:21Z", "day": "13", "iso8601_basic": "20250213T133021419447", "second": "21"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471420.97-9936-95743762275979/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.555) 0:00:02.849 ***** included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.028) 0:00:02.878 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.044) 0:00:02.922 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294 `" && echo ansible-tmp-1739471421.62-9956-3095051339294="` echo /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471421.62-9956-3095051339294=/root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpdvSpwm TO /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpdvSpwm /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/ /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471421.62-9956-3095051339294/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:30:21 -0500 (0:00:00.428) 0:00:03.350 ***** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.068) 0:00:03.418 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:30:22 -0500 (0:00:00.104) 0:00:03.522 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404 `" && echo ansible-tmp-1739471422.29-9987-77459591878404="` echo /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471422.29-9987-77459591878404=/root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpMDTN5H TO /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpMDTN5H /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/ /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\\n--> Running transaction check\\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\\n--> Running transaction check\\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\\n--> Running transaction check\\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\\nInstalling for dependencies:\\n python-cffi x86_64 1.6.0-5.el7 base 218 k\\n python-enum34 noarch 1.0.4-1.el7 base 52 k\\n python-idna noarch 2.4-1.el7 base 94 k\\n python-ply noarch 3.4-11.el7 base 123 k\\n python-pycparser noarch 2.14-1.el7 base 104 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 2 Packages (+5 Dependent packages)\\n\\nTotal download size: 1.2 M\\nInstalled size: 6.1 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 4.0 MB/s | 1.2 MB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \\n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \\n Installing : python-ply-3.4-11.el7.noarch 3/7 \\n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \\n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \\n Installing : python-idna-2.4-1.el7.noarch 6/7 \\n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n Verifying : python-idna-2.4-1.el7.noarch 1/7 \\n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \\n Verifying : python-ply-3.4-11.el7.noarch 3/7 \\n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \\n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \\n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \\n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n\\nInstalled:\\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\\n\\nDependency Installed:\\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \\n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \\n python-pycparser.noarch 0:2.14-1.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["python-pyasn1", "python-cryptography"]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471422.29-9987-77459591878404/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python-pyasn1", "python-cryptography", "python-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.0 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:30:29 -0500 (0:00:07.282) 0:00:10.805 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066 `" && echo ansible-tmp-1739471429.66-10071-17648715594066="` echo /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471429.66-10071-17648715594066=/root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBKHgDC TO /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBKHgDC /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/ /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "results": ["Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Running transaction check\\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\\nInstalling for dependencies:\\n libtalloc x86_64 2.1.16-1.el7 base 33 k\\n libtevent x86_64 0.9.39-1.el7 base 41 k\\n psmisc x86_64 22.20-17.el7 base 141 k\\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 1 Package (+5 Dependent packages)\\n\\nTotal download size: 984 k\\nInstalled size: 3.7 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 2.8 MB/s | 984 kB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \\n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \\n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Installing : psmisc-22.20-17.el7.x86_64 5/6 \\n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \\n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \\n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \\n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \\n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \\n\\nInstalled:\\n certmonger.x86_64 0:0.78.4-17.el7_9 \\n\\nDependency Installed:\\n libtalloc.x86_64 0:2.1.16-1.el7 \\n libtevent.x86_64 0:0.9.39-1.el7 \\n psmisc.x86_64 0:22.20-17.el7 \\n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \\n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["certmonger"]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471429.66-10071-17648715594066/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.8 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:30:33 -0500 (0:00:04.540) 0:00:15.346 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616 `" && echo ansible-tmp-1739471434.07-10193-82383098869616="` echo /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471434.07-10193-82383098869616=/root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp3Uub9G TO /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/AnsiballZ_file.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp3Uub9G /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/AnsiballZ_file.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/ /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//pre-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471434.07-10193-82383098869616/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//pre-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//pre-scripts", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:30:34 -0500 (0:00:00.615) 0:00:15.961 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142 `" && echo ansible-tmp-1739471434.74-10232-164798056983142="` echo /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471434.74-10232-164798056983142=/root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBpBuyr TO /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/AnsiballZ_file.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBpBuyr /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/AnsiballZ_file.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/ /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"group": "root", "uid": 0, "changed": true, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts", "state": "directory", "mode": "0700"}, "before": {"path": "/etc/certmonger//post-scripts", "state": "absent", "mode": "0755"}}, "size": 4096}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471434.74-10232-164798056983142/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "diff": { "after": { "mode": "0700", "path": "/etc/certmonger//post-scripts", "state": "directory" }, "before": { "mode": "0755", "path": "/etc/certmonger//post-scripts", "state": "absent" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:30:35 -0500 (0:00:00.461) 0:00:16.423 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603 `" && echo ansible-tmp-1739471435.15-10251-231547492287603="` echo /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471435.15-10251-231547492287603=/root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmphFE5a6 TO /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/AnsiballZ_systemd.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmphFE5a6 /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/AnsiballZ_systemd.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/ /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "disabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "0", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "0", "AllowIsolate": "no", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "0", "ExecMainPID": "0", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "SystemCallErrorNumber": "0", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "dead", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "MainPID": "0", "StartupBlockIOWeight": "18446744073709551615", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "inactive", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "Transient": "no", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "StartLimitBurst": "5", "LimitCORE": "18446744073709551615", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "0", "DefaultDependencies": "yes", "Requires": "basic.target system.slice", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "no", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "0", "RefuseManualStop": "no", "LimitNICE": "0", "After": "syslog.target dbus.service network.target systemd-journald.socket system.slice basic.target", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "StandardError": "inherit", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "PrivateDevices": "no", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "ControlPID": "0", "Id": "certmonger.service"}, "name": "certmonger", "changed": true, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471435.15-10251-231547492287603/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target dbus.service network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:30:36 -0500 (0:00:00.999) 0:00:17.422 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335 `" && echo ansible-tmp-1739471436.18-10300-257431941635335="` echo /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471436.18-10300-257431941635335=/root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpxkJiLa TO /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/AnsiballZ_certificate_request.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpxkJiLa /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/AnsiballZ_certificate_request.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/ /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "ftp", "principal": null, "group": "ftp", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "mycert_fs_attrs", "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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471436.18-10300-257431941635335/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item={u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', 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": "ftp", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_fs_attrs", "organization": null, "organizational_unit": null, "owner": "ftp", "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", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772 `" && echo ansible-tmp-1739471437.04-10300-188313833502772="` echo /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471437.04-10300-188313833502772=/root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpHgVQlh TO /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/AnsiballZ_certificate_request.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpHgVQlh /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/AnsiballZ_certificate_request.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/ /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "1040", "principal": null, "group": "1041", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "certid", "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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471437.04-10300-188313833502772/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item={u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', 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": "1041", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "certid", "organization": null, "organizational_unit": null, "owner": "1040", "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", "group": 1041, "name": "certid", "owner": 1040 } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:30:37 -0500 (0:00:01.526) 0:00:18.948 ***** skipping: [managed-node2] => (item=[u'cert', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'cert', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': u'ftp', u'ca': u'self-sign', u'group': u'ftp', u'name': u'mycert_fs_attrs', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "name": "mycert_fs_attrs", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': 1040, u'ca': u'self-sign', u'group': 1041, u'name': u'certid', u'dns': u'www.example.com'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:30:37 -0500 (0:00:00.189) 0:00:19.137 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:30:37 -0500 (0:00:00.066) 0:00:19.204 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:30:37 -0500 (0:00:00.055) 0:00:19.260 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Thursday 13 February 2025 13:30:37 -0500 (0:00:00.063) 0:00:19.324 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551 `" && echo ansible-tmp-1739471438.0-10413-57578164985551="` echo /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471438.0-10413-57578164985551=/root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp7Ml8rQ TO /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/AnsiballZ_setup.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp7Ml8rQ /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/AnsiballZ_setup.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/ /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (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.47.125 44092 22", "SSH_CONNECTION": "10.31.47.125 44092 10.31.41.116 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:66:94:1a:91:b9", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.116", "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": "8bb888dfaae7491ebb8dfab67ce66ab3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC25498E-F1AD-A547-18AE-F351301579BD", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c66:94ff:fe1a:91b9"], "ansible_uptime_seconds": 266, "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": "ec25498e-f1ad-a547-18ae-f351301579bd", "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:66:94:1a:91:b9", "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.41.116"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c66:94ff:fe1a:91b9"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.116"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 844, "free": 2756}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 183, "free": 3417}}, "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": 2756, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203490, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287370, "size_available": 251033067520, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65218, "block_size": 4096, "inode_available": 16318782}], "ansible_nodename": "managed-node2", "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": "20250213T133038", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "30", "tz_offset": "-0500", "month": "02", "epoch": "1739471438", "iso8601_micro": "2025-02-13T18:30:38.425522Z", "weekday": "Thursday", "time": "13:30:38", "date": "2025-02-13", "iso8601": "2025-02-13T18:30:38Z", "day": "13", "iso8601_basic": "20250213T133038425522", "second": "38"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471438.0-10413-57578164985551/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Thursday 13 February 2025 13:30:38 -0500 (0:00:00.559) 0:00:19.884 ***** included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:38 -0500 (0:00:00.123) 0:00:20.008 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:38 -0500 (0:00:00.020) 0:00:20.028 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:38 -0500 (0:00:00.046) 0:00:20.075 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:38 -0500 (0:00:00.056) 0:00:20.132 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389 `" && echo ansible-tmp-1739471438.95-10468-166823769392389="` echo /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471438.95-10468-166823769392389=/root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBniXj0 TO /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBniXj0 /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/ /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471438.95-10468-166823769392389/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:39 -0500 (0:00:00.725) 0:00:20.858 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:39 -0500 (0:00:00.085) 0:00:20.943 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161 `" && echo ansible-tmp-1739471439.69-10525-52813607129161="` echo /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471439.69-10525-52813607129161=/root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpf_Bf30 TO /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpf_Bf30 /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/ /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471436.881807, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032607", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "ftp", "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "xusr": false, "atime": 1739471436.884807, "isdir": false, "ctime": 1739471436.9258072, "isblk": false, "wgrp": false, "checksum": "40fece27757709588c8713d32534a82707fdf467", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471439.69-10525-52813607129161/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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_fs_attrs.crt" } }, "stat": { "atime": 1739471436.884807, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "40fece27757709588c8713d32534a82707fdf467", "ctime": 1739471436.9258072, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172745, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739471436.881807, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "18446744072995032607", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.419) 0:00:21.363 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.056) 0:00:21.420 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.092) 0:00:21.513 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.071) 0:00:21.584 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214 `" && echo ansible-tmp-1739471440.31-10560-167639299143214="` echo /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471440.31-10560-167639299143214=/root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp2cQiHj TO /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp2cQiHj /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/ /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471436.881807, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032594", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "ftp", "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "xusr": false, "atime": 1739471436.8418071, "isdir": false, "ctime": 1739471436.9258072, "isblk": false, "wgrp": false, "checksum": "6af96d004963107da4ff38d716b977e6dfb5e2cd", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471440.31-10560-167639299143214/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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_fs_attrs.key" } }, "stat": { "atime": 1739471436.8418071, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6af96d004963107da4ff38d716b977e6dfb5e2cd", "ctime": 1739471436.9258072, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172744, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739471436.881807, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "pw_name": "ftp", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "18446744072995032594", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.434) 0:00:22.018 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.066) 0:00:22.084 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:40 -0500 (0:00:00.083) 0:00:22.168 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911 `" && echo ansible-tmp-1739471440.97-10605-103102628722911="` echo /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471440.97-10605-103102628722911=/root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpXvjv3i TO /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/AnsiballZ_certtojson.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpXvjv3i /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/AnsiballZ_certtojson.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/ /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "5A:9A:65:AF:E4:1B:CA:F7:05:24:40:57:B1:03:5A:C8:FD:B7:15:66:EF:5A:69:E8:2B:CC:9B:56:9B:58:5A:0B:C6:85:A6:D9:D6:93:38:92:A8:A0:14:6D:78:E7:AD:06:84:5A:13:25:38:6B:AD:96:AA:3A:1E:0F:39:CE:4C:F6:DA:E1:F9:E6:BF:93:80:8F:A2:06:9C:96:E0:CA:94:0A:FE:8D:9C:9D:77:B1:7C:DC:6B:4D:C6:70:73:69:95:5A:E6:71:B4:A5:CC:C0:0B:A3:73:79:E4:8A:12:86:F5:D9:DB:A2:DE:38:C3:CF:F2:81:4F:2A:9D:88:22:EE:6A:4D:94:4B:38:97:EE:D7:39:E1:06:F3:41:51:08:CC:ED:C7:65:12:F3:CA:5A:F5:65:D1:CF:D2:96:A1:77:C5:FD:27:FA:96:8D:77:E1:81:4E:B9:0A:0D:7D:AE:09:86:D2:A6:C0:09:B1:AF:38:29:F3:2C:40:6F:0F:35:4D:F3:59:38:49:C9:57:89:2F:4C:12:87:36:DD:B6:A2:4A:4B:05:AD:36:96:71:0A:F0:0B:F4:72:F3:46:EE:38:F5:5A:06:BC:D5:ED:52:59:3B:6C:E2:AD:BB:84:5A:A9:54:5C:FE:AC:4B:E7:9F:AA:73:15:A1:49:45:99:01:08:48:02:16:DC"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "F4:66:C6:FC:1C:F3:9E:1F:D3:7B:F5:DA:CD:BB:62:9C:C7:39:01:09"}, "authorityKeyIdentifier": {"critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C"}, "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": "20260213183036Z", "not_valid_before": "20250213183036Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471440.97-10605-103102628722911/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "F4:66:C6:FC:1C:F3:9E:1F:D3:7B:F5:DA:CD:BB:62:9C:C7:39:01:09" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5A:9A:65:AF:E4:1B:CA:F7:05:24:40:57:B1:03:5A:C8:FD:B7:15:66:EF:5A:69:E8:2B:CC:9B:56:9B:58:5A:0B:C6:85:A6:D9:D6:93:38:92:A8:A0:14:6D:78:E7:AD:06:84:5A:13:25:38:6B:AD:96:AA:3A:1E:0F:39:CE:4C:F6:DA:E1:F9:E6:BF:93:80:8F:A2:06:9C:96:E0:CA:94:0A:FE:8D:9C:9D:77:B1:7C:DC:6B:4D:C6:70:73:69:95:5A:E6:71:B4:A5:CC:C0:0B:A3:73:79:E4:8A:12:86:F5:D9:DB:A2:DE:38:C3:CF:F2:81:4F:2A:9D:88:22:EE:6A:4D:94:4B:38:97:EE:D7:39:E1:06:F3:41:51:08:CC:ED:C7:65:12:F3:CA:5A:F5:65:D1:CF:D2:96:A1:77:C5:FD:27:FA:96:8D:77:E1:81:4E:B9:0A:0D:7D:AE:09:86:D2:A6:C0:09:B1:AF:38:29:F3:2C:40:6F:0F:35:4D:F3:59:38:49:C9:57:89:2F:4C:12:87:36:DD:B6:A2:4A:4B:05:AD:36:96:71:0A:F0:0B:F4:72:F3:46:EE:38:F5:5A:06:BC:D5:ED:52:59:3B:6C:E2:AD:BB:84:5A:A9:54:5C:FE:AC:4B:E7:9F:AA:73:15:A1:49:45:99:01:08:48:02:16:DC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183036Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:41 -0500 (0:00:00.726) 0:00:22.894 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "F4:66:C6:FC:1C:F3:9E:1F:D3:7B:F5:DA:CD:BB:62:9C:C7:39:01:09" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "5A:9A:65:AF:E4:1B:CA:F7:05:24:40:57:B1:03:5A:C8:FD:B7:15:66:EF:5A:69:E8:2B:CC:9B:56:9B:58:5A:0B:C6:85:A6:D9:D6:93:38:92:A8:A0:14:6D:78:E7:AD:06:84:5A:13:25:38:6B:AD:96:AA:3A:1E:0F:39:CE:4C:F6:DA:E1:F9:E6:BF:93:80:8F:A2:06:9C:96:E0:CA:94:0A:FE:8D:9C:9D:77:B1:7C:DC:6B:4D:C6:70:73:69:95:5A:E6:71:B4:A5:CC:C0:0B:A3:73:79:E4:8A:12:86:F5:D9:DB:A2:DE:38:C3:CF:F2:81:4F:2A:9D:88:22:EE:6A:4D:94:4B:38:97:EE:D7:39:E1:06:F3:41:51:08:CC:ED:C7:65:12:F3:CA:5A:F5:65:D1:CF:D2:96:A1:77:C5:FD:27:FA:96:8D:77:E1:81:4E:B9:0A:0D:7D:AE:09:86:D2:A6:C0:09:B1:AF:38:29:F3:2C:40:6F:0F:35:4D:F3:59:38:49:C9:57:89:2F:4C:12:87:36:DD:B6:A2:4A:4B:05:AD:36:96:71:0A:F0:0B:F4:72:F3:46:EE:38:F5:5A:06:BC:D5:ED:52:59:3B:6C:E2:AD:BB:84:5A:A9:54:5C:FE:AC:4B:E7:9F:AA:73:15:A1:49:45:99:01:08:48:02:16:DC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183036Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:41 -0500 (0:00:00.075) 0:00:22.970 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:41 -0500 (0:00:00.101) 0:00:23.072 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:41 -0500 (0:00:00.148) 0:00:23.221 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:41 -0500 (0:00:00.104) 0:00:23.325 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:42 -0500 (0:00:00.184) 0:00:23.510 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:42 -0500 (0:00:00.099) 0:00:23.609 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463 `" && echo ansible-tmp-1739471442.33-10773-98845171540463="` echo /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471442.33-10773-98845171540463=/root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpnuxEWU TO /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/AnsiballZ_command.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpnuxEWU /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/AnsiballZ_command.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/ /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "end": "2025-02-13 13:30:42.802351", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:30:42.759612", "stderr": "", "delta": "0:00:00.042739", "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_fs_attrs.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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471442.33-10773-98845171540463/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.042739", "end": "2025-02-13 13:30:42.802351", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.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:30:42.759612" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:42 -0500 (0:00:00.666) 0:00:24.275 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.084) 0:00:24.360 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.046) 0:00:24.407 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.063) 0:00:24.470 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.061) 0:00:24.531 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414 `" && echo ansible-tmp-1739471443.32-10862-128005237870414="` echo /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471443.32-10862-128005237870414=/root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpSTnIQH TO /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpSTnIQH /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/ /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471443.32-10862-128005237870414/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.602) 0:00:25.134 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:43 -0500 (0:00:00.065) 0:00:25.199 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782 `" && echo ansible-tmp-1739471443.94-10909-77526691329782="` echo /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471443.94-10909-77526691329782=/root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpWTY8bX TO /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpWTY8bX /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/ /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/certid.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 1040, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471437.4588075, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032645", "pw_name": "user1", "gid": 1041, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "somegroup", "path": "/etc/pki/tls/certs/certid.crt", "xusr": false, "atime": 1739471437.4618075, "isdir": false, "ctime": 1739471437.5018077, "isblk": false, "wgrp": false, "checksum": "c5d79a9029d9575918bd82958b86af4b9a9ce25f", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471443.94-10909-77526691329782/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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/certid.crt" } }, "stat": { "atime": 1739471437.4618075, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c5d79a9029d9575918bd82958b86af4b9a9ce25f", "ctime": 1739471437.5018077, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 172747, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739471437.4588075, "nlink": 1, "path": "/etc/pki/tls/certs/certid.crt", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1294, "uid": 1040, "version": "18446744072995032645", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:44 -0500 (0:00:00.476) 0:00:25.676 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:44 -0500 (0:00:00.061) 0:00:25.738 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:44 -0500 (0:00:00.086) 0:00:25.824 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:44 -0500 (0:00:00.093) 0:00:25.918 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998 `" && echo ansible-tmp-1739471444.68-10952-273206384842998="` echo /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471444.68-10952-273206384842998=/root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpNer5lR TO /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpNer5lR /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/ /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/certid.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 1040, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471437.4588075, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032632", "pw_name": "user1", "gid": 1041, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "somegroup", "path": "/etc/pki/tls/private/certid.key", "xusr": false, "atime": 1739471437.4198074, "isdir": false, "ctime": 1739471437.5018077, "isblk": false, "wgrp": false, "checksum": "902f54055bc16e39e8257028a680e37ffffa8873", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471444.68-10952-273206384842998/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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/certid.key" } }, "stat": { "atime": 1739471437.4198074, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "902f54055bc16e39e8257028a680e37ffffa8873", "ctime": 1739471437.5018077, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 172746, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739471437.4588075, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "18446744072995032632", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.550) 0:00:26.469 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.060) 0:00:26.529 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.070) 0:00:26.599 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839 `" && echo ansible-tmp-1739471445.31-10995-2703065455839="` echo /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471445.31-10995-2703065455839=/root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp7OS6kI TO /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/AnsiballZ_certtojson.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp7OS6kI /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/AnsiballZ_certtojson.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/ /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "1B:07:83:5A:CB:33:A9:BD:2E:33:AB:F7:E1:C4:65:4B:21:CC:D0:43:0D:86:21:2E:7E:F2:85:15:1D:90:12:B1:CE:01:A6:04:71:D0:94:4F:1F:DD:31:87:53:94:5A:80:F3:DF:E4:0D:1D:60:C2:F3:F4:F8:74:2D:2A:78:22:DB:28:5F:74:7A:3B:F6:5C:E7:A2:7C:2C:41:66:15:EF:C0:23:FA:50:91:12:D0:B8:11:9E:3A:EA:50:66:3D:E8:DF:25:A3:81:D4:95:D6:63:FE:4C:E3:E9:7A:6A:44:22:79:74:D0:25:AB:47:42:D3:9E:38:A8:11:67:B3:DD:24:27:BA:06:31:40:2D:BA:42:CC:45:D5:EF:BF:84:43:71:3D:0C:1C:5C:FC:84:4B:9E:95:CF:D5:6A:FB:60:21:72:B5:2A:42:48:1D:B3:58:88:D4:EA:0A:DD:64:5D:14:D6:C5:CD:22:E1:02:4D:97:13:B0:EC:84:14:86:70:73:CC:1D:31:F9:85:3D:8E:86:D8:98:F9:64:CB:B7:BB:BD:B1:EA:DE:49:DC:F4:8F:ED:29:B6:6C:08:B8:FB:8F:60:30:A9:C6:53:06:25:E1:94:C0:57:C6:BD:10:9C:29:1E:E5:F1:15:39:B2:E2:6E:BD:D3:1C:56:AF:45:8E:C4:9A:27:D0"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "B6:AB:22:58:A8:85:DC:0F:70:FF:FB:75:16:78:52:B7:69:B4:55:0A"}, "authorityKeyIdentifier": {"critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C"}, "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": "20260213183036Z", "not_valid_before": "20250213183037Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471445.31-10995-2703065455839/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "B6:AB:22:58:A8:85:DC:0F:70:FF:FB:75:16:78:52:B7:69:B4:55:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1B:07:83:5A:CB:33:A9:BD:2E:33:AB:F7:E1:C4:65:4B:21:CC:D0:43:0D:86:21:2E:7E:F2:85:15:1D:90:12:B1:CE:01:A6:04:71:D0:94:4F:1F:DD:31:87:53:94:5A:80:F3:DF:E4:0D:1D:60:C2:F3:F4:F8:74:2D:2A:78:22:DB:28:5F:74:7A:3B:F6:5C:E7:A2:7C:2C:41:66:15:EF:C0:23:FA:50:91:12:D0:B8:11:9E:3A:EA:50:66:3D:E8:DF:25:A3:81:D4:95:D6:63:FE:4C:E3:E9:7A:6A:44:22:79:74:D0:25:AB:47:42:D3:9E:38:A8:11:67:B3:DD:24:27:BA:06:31:40:2D:BA:42:CC:45:D5:EF:BF:84:43:71:3D:0C:1C:5C:FC:84:4B:9E:95:CF:D5:6A:FB:60:21:72:B5:2A:42:48:1D:B3:58:88:D4:EA:0A:DD:64:5D:14:D6:C5:CD:22:E1:02:4D:97:13:B0:EC:84:14:86:70:73:CC:1D:31:F9:85:3D:8E:86:D8:98:F9:64:CB:B7:BB:BD:B1:EA:DE:49:DC:F4:8F:ED:29:B6:6C:08:B8:FB:8F:60:30:A9:C6:53:06:25:E1:94:C0:57:C6:BD:10:9C:29:1E:E5:F1:15:39:B2:E2:6E:BD:D3:1C:56:AF:45:8E:C4:9A:27:D0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183037Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.387) 0:00:26.987 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "B6:AB:22:58:A8:85:DC:0F:70:FF:FB:75:16:78:52:B7:69:B4:55:0A" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1B:07:83:5A:CB:33:A9:BD:2E:33:AB:F7:E1:C4:65:4B:21:CC:D0:43:0D:86:21:2E:7E:F2:85:15:1D:90:12:B1:CE:01:A6:04:71:D0:94:4F:1F:DD:31:87:53:94:5A:80:F3:DF:E4:0D:1D:60:C2:F3:F4:F8:74:2D:2A:78:22:DB:28:5F:74:7A:3B:F6:5C:E7:A2:7C:2C:41:66:15:EF:C0:23:FA:50:91:12:D0:B8:11:9E:3A:EA:50:66:3D:E8:DF:25:A3:81:D4:95:D6:63:FE:4C:E3:E9:7A:6A:44:22:79:74:D0:25:AB:47:42:D3:9E:38:A8:11:67:B3:DD:24:27:BA:06:31:40:2D:BA:42:CC:45:D5:EF:BF:84:43:71:3D:0C:1C:5C:FC:84:4B:9E:95:CF:D5:6A:FB:60:21:72:B5:2A:42:48:1D:B3:58:88:D4:EA:0A:DD:64:5D:14:D6:C5:CD:22:E1:02:4D:97:13:B0:EC:84:14:86:70:73:CC:1D:31:F9:85:3D:8E:86:D8:98:F9:64:CB:B7:BB:BD:B1:EA:DE:49:DC:F4:8F:ED:29:B6:6C:08:B8:FB:8F:60:30:A9:C6:53:06:25:E1:94:C0:57:C6:BD:10:9C:29:1E:E5:F1:15:39:B2:E2:6E:BD:D3:1C:56:AF:45:8E:C4:9A:27:D0" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183037Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.056) 0:00:27.044 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.078) 0:00:27.122 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.071) 0:00:27.194 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.068) 0:00:27.262 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:45 -0500 (0:00:00.076) 0:00:27.338 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:46 -0500 (0:00:00.077) 0:00:27.416 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640 `" && echo ansible-tmp-1739471446.13-11097-246842083204640="` echo /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471446.13-11097-246842083204640=/root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpQbQuSv TO /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/AnsiballZ_command.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpQbQuSv /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/AnsiballZ_command.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/ /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "end": "2025-02-13 13:30:46.491248", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:30:46.448856", "stderr": "", "delta": "0:00:00.042392", "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/certid.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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471446.13-11097-246842083204640/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.042392", "end": "2025-02-13 13:30:46.491248", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.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:30:46.448856" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:46 -0500 (0:00:00.523) 0:00:27.939 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Thursday 13 February 2025 13:30:46 -0500 (0:00:00.137) 0:00:28.077 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991 `" && echo ansible-tmp-1739471446.83-11186-236689844604991="` echo /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471446.83-11186-236689844604991=/root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmplcvcBO TO /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/AnsiballZ_setup.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmplcvcBO /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/AnsiballZ_setup.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/ /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (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.47.125 44092 22", "SSH_CONNECTION": "10.31.47.125 44092 10.31.41.116 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:66:94:1a:91:b9", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.116", "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": "8bb888dfaae7491ebb8dfab67ce66ab3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC25498E-F1AD-A547-18AE-F351301579BD", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c66:94ff:fe1a:91b9"], "ansible_uptime_seconds": 275, "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": "ec25498e-f1ad-a547-18ae-f351301579bd", "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:66:94:1a:91:b9", "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.41.116"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c66:94ff:fe1a:91b9"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.116"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 845, "free": 2755}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 184, "free": 3416}}, "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": 2755, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203532, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287328, "size_available": 251032895488, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65218, "block_size": 4096, "inode_available": 16318782}], "ansible_nodename": "managed-node2", "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": "20250213T133047", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "30", "tz_offset": "-0500", "month": "02", "epoch": "1739471447", "iso8601_micro": "2025-02-13T18:30:47.368880Z", "weekday": "Thursday", "time": "13:30:47", "date": "2025-02-13", "iso8601": "2025-02-13T18:30:47Z", "day": "13", "iso8601_basic": "20250213T133047368880", "second": "47"}, "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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471446.83-11186-236689844604991/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.750) 0:00:28.828 ***** included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.038) 0:00:28.866 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.052) 0:00:28.919 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.043) 0:00:28.962 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.038) 0:00:29.001 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:30:47 -0500 (0:00:00.091) 0:00:29.092 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567 `" && echo ansible-tmp-1739471447.9-11316-198689493081567="` echo /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471447.9-11316-198689493081567=/root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpusZE7I TO /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpusZE7I /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/ /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471447.9-11316-198689493081567/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:30:50 -0500 (0:00:02.354) 0:00:31.446 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512 `" && echo ansible-tmp-1739471450.27-11474-206524269890512="` echo /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471450.27-11474-206524269890512=/root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpbNPSiu TO /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpbNPSiu /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/ /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471450.27-11474-206524269890512/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => (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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:30:50 -0500 (0:00:00.629) 0:00:32.076 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848 `" && echo ansible-tmp-1739471450.79-11491-32098579947848="` echo /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471450.79-11491-32098579947848=/root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUVTUTK TO /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/AnsiballZ_file.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUVTUTK /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/AnsiballZ_file.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/ /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471450.79-11491-32098579947848/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:30:51 -0500 (0:00:00.335) 0:00:32.411 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397 `" && echo ansible-tmp-1739471451.14-11507-71475672917397="` echo /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471451.14-11507-71475672917397=/root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp9UZVKL TO /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/AnsiballZ_file.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp9UZVKL /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/AnsiballZ_file.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/ /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471451.14-11507-71475672917397/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "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-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:30:51 -0500 (0:00:00.366) 0:00:32.778 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260 `" && echo ansible-tmp-1739471451.49-11525-44591322035260="` echo /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471451.49-11525-44591322035260=/root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp1aTBzh TO /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/AnsiballZ_systemd.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmp1aTBzh /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/AnsiballZ_systemd.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/ /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.116> (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:30:35 EST] ; stop_time=[n/a] ; pid=9913 ; 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": "264197028", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "264197067", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 13:30:35 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:30:35 EST", "WatchdogTimestamp": "Thu 2025-02-13 13:30:35 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "multi-user.target shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "264175037", "ExecMainPID": "9913", "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:30:35 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": "264174383", "MainPID": "9913", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 13:30:35 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:30:35 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": "264174385", "DefaultDependencies": "yes", "Requires": "system.slice basic.target", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "264174996", "StandardError": "inherit", "LimitNICE": "0", "After": "dbus.service basic.target system.slice systemd-journald.socket network.target 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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471451.49-11525-44591322035260/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:30:35 EST", "ActiveEnterTimestampMonotonic": "264197067", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target system.slice systemd-journald.socket network.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:30:35 EST", "AssertTimestampMonotonic": "264174385", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:30:35 EST", "ConditionTimestampMonotonic": "264174383", "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": "9913", "ExecMainStartTimestamp": "Thu 2025-02-13 13:30:35 EST", "ExecMainStartTimestampMonotonic": "264174996", "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:30:35 EST] ; stop_time=[n/a] ; pid=9913 ; 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:30:35 EST", "InactiveExitTimestampMonotonic": "264175037", "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": "9913", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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:30:35 EST", "WatchdogTimestampMonotonic": "264197028", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:30:51 -0500 (0:00:00.423) 0:00:33.202 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405 `" && echo ansible-tmp-1739471452.04-11544-47686132244405="` echo /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471452.04-11544-47686132244405=/root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpgFjx8T TO /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/AnsiballZ_certificate_request.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpgFjx8T /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/AnsiballZ_certificate_request.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/ /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "common_name": null, "key_usage": ["digitalSignature", "keyEncipherment"], "owner": "ftp", "principal": null, "group": "ftp", "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "mycert_fs_attrs_mode", "run_after": null, "country": null, "key_size": null, "mode": "0620", "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471452.04-11544-47686132244405/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item={u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}) => { "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": "ftp", "ip": null, "key_size": null, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": "0620", "name": "mycert_fs_attrs_mode", "organization": null, "organizational_unit": null, "owner": "ftp", "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", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } } MSG: Certificate requested (new). File attributes updated. <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854 `" && echo ansible-tmp-1739471452.77-11544-203438895070854="` echo /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471452.77-11544-203438895070854=/root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBS9sDF TO /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/AnsiballZ_certificate_request.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpBS9sDF /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/AnsiballZ_certificate_request.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/ /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.116> (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, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "certid_mode", "run_after": null, "country": null, "key_size": null, "mode": "0600", "run_before": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471452.77-11544-203438895070854/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') changed: [managed-node2] => (item={u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}) => { "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": "0600", "name": "certid_mode", "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", "mode": "0600", "name": "certid_mode" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:30:53 -0500 (0:00:01.528) 0:00:34.730 ***** skipping: [managed-node2] => (item=[u'cert', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'cert', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'group': u'ftp', u'name': u'mycert_fs_attrs_mode', u'dns': u'www.example.com', u'owner': u'ftp', u'ca': u'self-sign', u'mode': u'0620'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": "ftp", "mode": "0620", "name": "mycert_fs_attrs_mode", "owner": "ftp" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'ca': u'self-sign', u'name': u'certid_mode', u'dns': u'www.example.com', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:30:53 -0500 (0:00:00.114) 0:00:34.845 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:30:53 -0500 (0:00:00.062) 0:00:34.907 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:30:53 -0500 (0:00:00.064) 0:00:34.972 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Thursday 13 February 2025 13:30:53 -0500 (0:00:00.089) 0:00:35.061 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975 `" && echo ansible-tmp-1739471453.77-11637-37308651706975="` echo /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471453.77-11637-37308651706975=/root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmptiVeli TO /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/AnsiballZ_setup.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmptiVeli /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/AnsiballZ_setup.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/ /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.116> (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.47.125 44092 22", "SSH_CONNECTION": "10.31.47.125 44092 10.31.41.116 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:66:94:1a:91:b9", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.116", "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": "8bb888dfaae7491ebb8dfab67ce66ab3", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC25498E-F1AD-A547-18AE-F351301579BD", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c66:94ff:fe1a:91b9"], "ansible_uptime_seconds": 282, "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": "ec25498e-f1ad-a547-18ae-f351301579bd", "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:66:94:1a:91:b9", "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.41.116"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c66:94ff:fe1a:91b9"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.116"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 845, "free": 2755}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 184, "free": 3416}}, "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": 2755, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203572, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287288, "size_available": 251032731648, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65224, "block_size": 4096, "inode_available": 16318776}], "ansible_nodename": "managed-node2", "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": "20250213T133054", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "30", "tz_offset": "-0500", "month": "02", "epoch": "1739471454", "iso8601_micro": "2025-02-13T18:30:54.277869Z", "weekday": "Thursday", "time": "13:30:54", "date": "2025-02-13", "iso8601": "2025-02-13T18:30:54Z", "day": "13", "iso8601_basic": "20250213T133054277869", "second": "54"}, "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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471453.77-11637-37308651706975/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Thursday 13 February 2025 13:30:54 -0500 (0:00:00.696) 0:00:35.757 ***** included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:54 -0500 (0:00:00.143) 0:00:35.901 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:54 -0500 (0:00:00.032) 0:00:35.933 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:54 -0500 (0:00:00.061) 0:00:35.995 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:54 -0500 (0:00:00.058) 0:00:36.054 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063 `" && echo ansible-tmp-1739471454.82-11734-143752178962063="` echo /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471454.82-11734-143752178962063=/root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUruz0I TO /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpUruz0I /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/ /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471454.82-11734-143752178962063/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:55 -0500 (0:00:00.602) 0:00:36.656 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:55 -0500 (0:00:00.081) 0:00:36.737 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436 `" && echo ansible-tmp-1739471455.48-11849-215828120929436="` echo /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471455.48-11849-215828120929436=/root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpMdqW26 TO /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpMdqW26 /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/ /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471452.451818, "block_size": 4096, "inode": 172749, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032770", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "ftp", "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "xusr": false, "atime": 1739471452.454818, "isdir": false, "ctime": 1739471452.604818, "isblk": false, "wgrp": true, "checksum": "e0aaea4ec7fc35273b0181191dc65ccc027677ed", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471455.48-11849-215828120929436/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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_fs_attrs_mode.crt" } }, "stat": { "atime": 1739471452.454818, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e0aaea4ec7fc35273b0181191dc65ccc027677ed", "ctime": 1739471452.604818, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172749, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739471452.451818, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 14, "version": "18446744072995032770", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:55 -0500 (0:00:00.406) 0:00:37.143 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:55 -0500 (0:00:00.070) 0:00:37.214 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:55 -0500 (0:00:00.092) 0:00:37.306 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:56 -0500 (0:00:00.133) 0:00:37.440 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356 `" && echo ansible-tmp-1739471456.16-11882-185164889695356="` echo /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471456.16-11882-185164889695356=/root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpdFfhPD TO /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpdFfhPD /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/ /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 14, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739471452.451818, "block_size": 4096, "inode": 172748, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032757", "pw_name": "ftp", "gid": 50, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "ftp", "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "xusr": false, "atime": 1739471452.4108179, "isdir": false, "ctime": 1739471452.604818, "isblk": false, "wgrp": true, "checksum": "ddab8743f5d6fe35fd135d6cc751c6d65042a991", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471456.16-11882-185164889695356/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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_fs_attrs_mode.key" } }, "stat": { "atime": 1739471452.4108179, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ddab8743f5d6fe35fd135d6cc751c6d65042a991", "ctime": 1739471452.604818, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 172748, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739471452.451818, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 14, "version": "18446744072995032757", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:56 -0500 (0:00:00.453) 0:00:37.893 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:56 -0500 (0:00:00.055) 0:00:37.949 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:56 -0500 (0:00:00.065) 0:00:38.015 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340 `" && echo ansible-tmp-1739471456.72-11917-143832836811340="` echo /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471456.72-11917-143832836811340=/root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpc89ztt TO /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/AnsiballZ_certtojson.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpc89ztt /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/AnsiballZ_certtojson.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/ /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "2B:6D:0B:25:23:06:A4:BC:E5:42:D6:BA:3A:F8:0B:C9:65:65:BB:58:19:6F:09:68:7E:F2:00:65:0E:2F:21:82:F5:19:05:6A:B2:63:8B:BA:CC:F7:78:EF:1C:2A:46:7D:C8:56:2F:35:48:AB:49:B7:CF:D9:1E:22:1C:E2:87:66:5E:EF:13:16:EF:8A:69:22:B7:4F:2D:28:0A:2F:4B:33:D2:23:B3:6F:50:D1:75:BA:86:9C:9F:AC:76:98:89:F6:A2:DC:84:31:1F:2B:84:4A:5F:12:C9:EB:FA:B0:F1:75:25:2F:06:96:10:79:27:87:2E:FF:56:40:60:F3:B1:F9:32:D2:48:83:38:70:B3:DD:03:6F:C4:0C:C7:33:36:74:B8:D2:01:8C:12:80:05:C9:38:EE:4F:EC:0A:4B:7E:B4:34:33:D0:AA:03:CE:15:26:9B:3C:D1:FD:EA:79:06:0A:F8:DE:AB:BF:62:FB:FF:58:C2:93:01:58:06:64:6F:A7:94:07:8A:53:01:E7:D1:A0:14:8D:B5:78:A7:E7:A9:B2:15:0B:D6:2C:7C:77:3B:2F:B4:16:AA:2F:1C:96:1F:06:6B:AE:3A:CC:E8:F4:20:A6:9B:54:F4:DA:19:43:A4:20:2F:31:13:40:26:49:2E:A1:65:1D:8D:3D:62:26:B0:DC"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "FF:36:81:66:48:32:19:D7:B8:80:39:40:38:9D:1C:5E:4C:35:61:51"}, "authorityKeyIdentifier": {"critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C"}, "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": "20260213183036Z", "not_valid_before": "20250213183052Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471456.72-11917-143832836811340/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "FF:36:81:66:48:32:19:D7:B8:80:39:40:38:9D:1C:5E:4C:35:61:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:6D:0B:25:23:06:A4:BC:E5:42:D6:BA:3A:F8:0B:C9:65:65:BB:58:19:6F:09:68:7E:F2:00:65:0E:2F:21:82:F5:19:05:6A:B2:63:8B:BA:CC:F7:78:EF:1C:2A:46:7D:C8:56:2F:35:48:AB:49:B7:CF:D9:1E:22:1C:E2:87:66:5E:EF:13:16:EF:8A:69:22:B7:4F:2D:28:0A:2F:4B:33:D2:23:B3:6F:50:D1:75:BA:86:9C:9F:AC:76:98:89:F6:A2:DC:84:31:1F:2B:84:4A:5F:12:C9:EB:FA:B0:F1:75:25:2F:06:96:10:79:27:87:2E:FF:56:40:60:F3:B1:F9:32:D2:48:83:38:70:B3:DD:03:6F:C4:0C:C7:33:36:74:B8:D2:01:8C:12:80:05:C9:38:EE:4F:EC:0A:4B:7E:B4:34:33:D0:AA:03:CE:15:26:9B:3C:D1:FD:EA:79:06:0A:F8:DE:AB:BF:62:FB:FF:58:C2:93:01:58:06:64:6F:A7:94:07:8A:53:01:E7:D1:A0:14:8D:B5:78:A7:E7:A9:B2:15:0B:D6:2C:7C:77:3B:2F:B4:16:AA:2F:1C:96:1F:06:6B:AE:3A:CC:E8:F4:20:A6:9B:54:F4:DA:19:43:A4:20:2F:31:13:40:26:49:2E:A1:65:1D:8D:3D:62:26:B0:DC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183052Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.461) 0:00:38.477 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "FF:36:81:66:48:32:19:D7:B8:80:39:40:38:9D:1C:5E:4C:35:61:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2B:6D:0B:25:23:06:A4:BC:E5:42:D6:BA:3A:F8:0B:C9:65:65:BB:58:19:6F:09:68:7E:F2:00:65:0E:2F:21:82:F5:19:05:6A:B2:63:8B:BA:CC:F7:78:EF:1C:2A:46:7D:C8:56:2F:35:48:AB:49:B7:CF:D9:1E:22:1C:E2:87:66:5E:EF:13:16:EF:8A:69:22:B7:4F:2D:28:0A:2F:4B:33:D2:23:B3:6F:50:D1:75:BA:86:9C:9F:AC:76:98:89:F6:A2:DC:84:31:1F:2B:84:4A:5F:12:C9:EB:FA:B0:F1:75:25:2F:06:96:10:79:27:87:2E:FF:56:40:60:F3:B1:F9:32:D2:48:83:38:70:B3:DD:03:6F:C4:0C:C7:33:36:74:B8:D2:01:8C:12:80:05:C9:38:EE:4F:EC:0A:4B:7E:B4:34:33:D0:AA:03:CE:15:26:9B:3C:D1:FD:EA:79:06:0A:F8:DE:AB:BF:62:FB:FF:58:C2:93:01:58:06:64:6F:A7:94:07:8A:53:01:E7:D1:A0:14:8D:B5:78:A7:E7:A9:B2:15:0B:D6:2C:7C:77:3B:2F:B4:16:AA:2F:1C:96:1F:06:6B:AE:3A:CC:E8:F4:20:A6:9B:54:F4:DA:19:43:A4:20:2F:31:13:40:26:49:2E:A1:65:1D:8D:3D:62:26:B0:DC" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183052Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.074) 0:00:38.552 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.078) 0:00:38.630 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.074) 0:00:38.704 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.070) 0:00:38.774 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.069) 0:00:38.844 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.080) 0:00:38.925 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709 `" && echo ansible-tmp-1739471457.65-11974-94965077572709="` echo /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471457.65-11974-94965077572709=/root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmptzDoGZ TO /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/AnsiballZ_command.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmptzDoGZ /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/AnsiballZ_command.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/ /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "end": "2025-02-13 13:30:57.911849", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:30:57.866589", "stderr": "", "delta": "0:00:00.045260", "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_fs_attrs_mode.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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471457.65-11974-94965077572709/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045260", "end": "2025-02-13 13:30:57.911849", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.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:30:57.866589" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:30:57 -0500 (0:00:00.415) 0:00:39.341 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.063) 0:00:39.405 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.031) 0:00:39.437 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.079) 0:00:39.516 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.067) 0:00:39.583 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246 `" && echo ansible-tmp-1739471458.42-12013-224068331341246="` echo /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471458.42-12013-224068331341246=/root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpZ_zYpN TO /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/AnsiballZ_yum.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpZ_zYpN /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/AnsiballZ_yum.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/ /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.116> (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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471458.42-12013-224068331341246/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.668) 0:00:40.252 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:30:58 -0500 (0:00:00.058) 0:00:40.310 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017 `" && echo ansible-tmp-1739471459.03-12052-43277740576017="` echo /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471459.03-12052-43277740576017=/root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpK55ap2 TO /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpK55ap2 /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/ /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/certid_mode.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": 1739471453.2468185, "block_size": 4096, "inode": 172751, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032808", "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/certid_mode.crt", "xusr": false, "atime": 1739471453.2498186, "isdir": false, "ctime": 1739471453.2468185, "isblk": false, "wgrp": false, "checksum": "4246a6c880976fb5ed0ffd62ce231d8a3bb63503", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471459.03-12052-43277740576017/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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/certid_mode.crt" } }, "stat": { "atime": 1739471453.2498186, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4246a6c880976fb5ed0ffd62ce231d8a3bb63503", "ctime": 1739471453.2468185, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471453.2468185, "nlink": 1, "path": "/etc/pki/tls/certs/certid_mode.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744072995032808", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.362) 0:00:40.673 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.066) 0:00:40.740 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.052) 0:00:40.792 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.047) 0:00:40.839 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177 `" && echo ansible-tmp-1739471459.54-12084-108324010021177="` echo /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471459.54-12084-108324010021177=/root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpyn9p8Q TO /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/AnsiballZ_stat.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpyn9p8Q /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/AnsiballZ_stat.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/ /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/certid_mode.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": 1739471453.2468185, "block_size": 4096, "inode": 172750, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744072995032795", "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/certid_mode.key", "xusr": false, "atime": 1739471453.2078185, "isdir": false, "ctime": 1739471453.2468185, "isblk": false, "wgrp": false, "checksum": "e081b8dfe22c347b8307f9e355096fe0695a9bea", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471459.54-12084-108324010021177/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "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/certid_mode.key" } }, "stat": { "atime": 1739471453.2078185, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e081b8dfe22c347b8307f9e355096fe0695a9bea", "ctime": 1739471453.2468185, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172750, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739471453.2468185, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 0, "version": "18446744072995032795", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.365) 0:00:41.205 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.071) 0:00:41.276 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:30:59 -0500 (0:00:00.073) 0:00:41.349 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514 `" && echo ansible-tmp-1739471460.07-12118-265815993084514="` echo /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471460.07-12118-265815993084514=/root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514\n', '') Using module file /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpQLZFh_ TO /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/AnsiballZ_certtojson.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpQLZFh_ /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/AnsiballZ_certtojson.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/ /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "A1:5D:45:D3:36:C4:D4:3F:B5:18:EA:E0:EA:02:6A:27:93:28:B2:5D:27:84:54:E4:B2:EB:4C:57:37:6A:4D:96:FA:BD:49:F8:C9:FF:FE:FC:EC:B7:86:69:11:7D:61:A1:5A:D9:70:D4:23:76:79:F0:F7:C8:B6:A4:CD:09:AD:2A:46:09:A6:5C:37:F9:37:E6:13:B7:DF:E8:90:3C:C2:36:F4:A3:37:61:0B:30:B6:EF:72:B4:5D:00:E6:5D:51:6A:00:C5:68:0C:2B:23:F5:C2:23:66:CE:A9:95:20:30:62:24:8A:31:3D:30:06:A5:1E:C5:E5:F0:7B:C5:F2:64:63:AD:FD:94:8B:BD:CC:27:30:F5:DA:01:31:45:C2:7C:F8:87:0A:A0:FA:98:20:B3:F0:B1:00:AA:1E:52:81:0A:1F:DE:4A:BA:18:BA:16:EC:DC:2C:43:89:9A:80:E8:BB:10:BB:D3:3B:45:F3:57:AF:AF:32:97:6A:96:18:CB:E8:49:5D:71:02:D2:30:93:53:90:7C:3C:1C:BE:40:0B:6B:FF:E6:07:29:1C:43:39:62:E0:8D:EA:61:0F:27:60:75:60:D8:E5:C0:E5:F6:BC:85:76:51:D4:A2:94:4B:8E:F9:DF:D2:CE:F4:3F:1B:8B:E5:2D:41:FC:BA:06:13:94:D6:8C"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "82:E5:99:17:41:93:A5:E2:1E:55:CA:DC:ED:AE:8B:3C:C0:80:03:CB"}, "authorityKeyIdentifier": {"critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C"}, "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": "20260213183036Z", "not_valid_before": "20250213183053Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471460.07-12118-265815993084514/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "82:E5:99:17:41:93:A5:E2:1E:55:CA:DC:ED:AE:8B:3C:C0:80:03:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:5D:45:D3:36:C4:D4:3F:B5:18:EA:E0:EA:02:6A:27:93:28:B2:5D:27:84:54:E4:B2:EB:4C:57:37:6A:4D:96:FA:BD:49:F8:C9:FF:FE:FC:EC:B7:86:69:11:7D:61:A1:5A:D9:70:D4:23:76:79:F0:F7:C8:B6:A4:CD:09:AD:2A:46:09:A6:5C:37:F9:37:E6:13:B7:DF:E8:90:3C:C2:36:F4:A3:37:61:0B:30:B6:EF:72:B4:5D:00:E6:5D:51:6A:00:C5:68:0C:2B:23:F5:C2:23:66:CE:A9:95:20:30:62:24:8A:31:3D:30:06:A5:1E:C5:E5:F0:7B:C5:F2:64:63:AD:FD:94:8B:BD:CC:27:30:F5:DA:01:31:45:C2:7C:F8:87:0A:A0:FA:98:20:B3:F0:B1:00:AA:1E:52:81:0A:1F:DE:4A:BA:18:BA:16:EC:DC:2C:43:89:9A:80:E8:BB:10:BB:D3:3B:45:F3:57:AF:AF:32:97:6A:96:18:CB:E8:49:5D:71:02:D2:30:93:53:90:7C:3C:1C:BE:40:0B:6B:FF:E6:07:29:1C:43:39:62:E0:8D:EA:61:0F:27:60:75:60:D8:E5:C0:E5:F6:BC:85:76:51:D4:A2:94:4B:8E:F9:DF:D2:CE:F4:3F:1B:8B:E5:2D:41:FC:BA:06:13:94:D6:8C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183053Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid_mode.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.432) 0:00:41.782 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "77:33:58:82:8A:CE:0D:BB:8D:9D:99:1B:51:1B:9E:4C:D7:B4:44:4C" }, "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": "82:E5:99:17:41:93:A5:E2:1E:55:CA:DC:ED:AE:8B:3C:C0:80:03:CB" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "A1:5D:45:D3:36:C4:D4:3F:B5:18:EA:E0:EA:02:6A:27:93:28:B2:5D:27:84:54:E4:B2:EB:4C:57:37:6A:4D:96:FA:BD:49:F8:C9:FF:FE:FC:EC:B7:86:69:11:7D:61:A1:5A:D9:70:D4:23:76:79:F0:F7:C8:B6:A4:CD:09:AD:2A:46:09:A6:5C:37:F9:37:E6:13:B7:DF:E8:90:3C:C2:36:F4:A3:37:61:0B:30:B6:EF:72:B4:5D:00:E6:5D:51:6A:00:C5:68:0C:2B:23:F5:C2:23:66:CE:A9:95:20:30:62:24:8A:31:3D:30:06:A5:1E:C5:E5:F0:7B:C5:F2:64:63:AD:FD:94:8B:BD:CC:27:30:F5:DA:01:31:45:C2:7C:F8:87:0A:A0:FA:98:20:B3:F0:B1:00:AA:1E:52:81:0A:1F:DE:4A:BA:18:BA:16:EC:DC:2C:43:89:9A:80:E8:BB:10:BB:D3:3B:45:F3:57:AF:AF:32:97:6A:96:18:CB:E8:49:5D:71:02:D2:30:93:53:90:7C:3C:1C:BE:40:0B:6B:FF:E6:07:29:1C:43:39:62:E0:8D:EA:61:0F:27:60:75:60:D8:E5:C0:E5:F6:BC:85:76:51:D4:A2:94:4B:8E:F9:DF:D2:CE:F4:3F:1B:8B:E5:2D:41:FC:BA:06:13:94:D6:8C" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213183036Z", "not_valid_before": "20250213183053Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.047) 0:00:41.829 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.048) 0:00:41.877 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.051) 0:00:41.928 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.065) 0:00:41.993 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.077) 0:00:42.071 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:31:00 -0500 (0:00:00.129) 0:00:42.201 ***** <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.116> (0, '/root\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413 `" && echo ansible-tmp-1739471460.98-12171-237466000130413="` echo /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413 `" ) && sleep 0'"'"'' <10.31.41.116> (0, 'ansible-tmp-1739471460.98-12171-237466000130413=/root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.116> PUT /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpkU52cR TO /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/AnsiballZ_command.py <10.31.41.116> 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/a249ab710c '[10.31.41.116]' <10.31.41.116> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9842UyVsKB/tmpkU52cR /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/AnsiballZ_command.py\n', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/ /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '', '') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c -tt 10.31.41.116 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.116> (0, '\r\n{"changed": true, "end": "2025-02-13 13:31:01.285225", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:31:01.238320", "stderr": "", "delta": "0:00:00.046905", "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/certid_mode.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.41.116 closed.\r\n') <10.31.41.116> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.116> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a249ab710c 10.31.41.116 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739471460.98-12171-237466000130413/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.116> (0, '', '') ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.046905", "end": "2025-02-13 13:31:01.285225", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.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:31:01.238320" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:31:01 -0500 (0:00:00.498) 0:00:42.699 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Thursday 13 February 2025 13:31:01 -0500 (0:00:00.062) 0:00:42.762 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 7.28s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.54s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.35s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.53s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.53s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.00s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.75s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Parse certificate ------------------------------------------------------- 0.73s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.73s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.70s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Ensure python3 is installed --------------------------------------------- 0.67s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Retrieve auto-renew flag ------------------------------------------------ 0.67s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Ensure user exists ------------------------------------------------------ 0.63s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.63s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.62s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.60s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.60s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.56s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.56s /tmp/collections-dv9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14