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-H6N.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-H6N.yml as it did not pass its verify_file() method Parsed /tmp/inventory-H6N.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-GUL/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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Thursday 13 February 2025 14:24:09 -0500 (0:00:00.037) 0:00:00.037 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', "Warning: Permanently added '10.31.41.125' (ECDSA) to the list of known hosts.\r\n") <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003 `" && echo ansible-tmp-1739474649.92-9857-127586808188003="` echo /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474649.92-9857-127586808188003=/root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003\n', '') Attempting python interpreter discovery <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/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.125> (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.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.41.125> (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.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp1VUpFf TO /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/AnsiballZ_setup.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp1VUpFf /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/AnsiballZ_setup.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/ /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (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.13.137 54878 22", "SSH_CONNECTION": "10.31.13.137 54878 10.31.41.125 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:0f:1e:0b:0c:23", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.125", "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": "ec62e0657af143b4bf25e2f4711d3c6b", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC208694-D5A5-F65D-C529-F787290F1CB3", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c0f:1eff:fe0b:c23"], "ansible_uptime_seconds": 388, "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": "ec208694-d5a5-f65d-c529-f787290f1cb3", "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:0f:1e:0b:0c:23", "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.125"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c0f:1eff:fe0b:c23"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.125"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 709, "free": 2891}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 173, "free": 3427}}, "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": 2891, "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": "20250213T142410", "tz": "EST", "weeknumber": "06", "hour": "14", "year": "2025", "minute": "24", "tz_offset": "-0500", "month": "02", "epoch": "1739474650", "iso8601_micro": "2025-02-13T19:24:10.676985Z", "weekday": "Thursday", "time": "14:24:10", "date": "2025-02-13", "iso8601": "2025-02-13T19:24:10Z", "day": "13", "iso8601_basic": "20250213T142410676985", "second": "10"}, "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474649.92-9857-127586808188003/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Thursday 13 February 2025 14:24:10 -0500 (0:00:01.151) 0:00:01.189 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447 `" && echo ansible-tmp-1739474650.8-9878-232612464582447="` echo /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474650.8-9878-232612464582447=/root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpfug9tU TO /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/AnsiballZ_user.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpfug9tU /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/AnsiballZ_user.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/ /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/AnsiballZ_user.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/AnsiballZ_user.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474650.8-9878-232612464582447/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Thursday 13 February 2025 14:24:11 -0500 (0:00:00.672) 0:00:01.862 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022 `" && echo ansible-tmp-1739474651.47-9913-14086862870022="` echo /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474651.47-9913-14086862870022=/root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/group.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpftQ1Sb TO /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/AnsiballZ_group.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpftQ1Sb /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/AnsiballZ_group.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/ /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/AnsiballZ_group.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/AnsiballZ_group.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474651.47-9913-14086862870022/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Thursday 13 February 2025 14:24:11 -0500 (0:00:00.514) 0:00:02.376 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550 `" && echo ansible-tmp-1739474651.99-9932-104598496594550="` echo /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474651.99-9932-104598496594550=/root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpiMg2uy TO /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/AnsiballZ_setup.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpiMg2uy /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/AnsiballZ_setup.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/ /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (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.13.137 54878 22", "SSH_CONNECTION": "10.31.13.137 54878 10.31.41.125 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:0f:1e:0b:0c:23", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.125", "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": "ec62e0657af143b4bf25e2f4711d3c6b", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC208694-D5A5-F65D-C529-F787290F1CB3", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c0f:1eff:fe0b:c23"], "ansible_uptime_seconds": 390, "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": "ec208694-d5a5-f65d-c529-f787290f1cb3", "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:0f:1e:0b:0c:23", "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.125"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c0f:1eff:fe0b:c23"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.125"], "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": 172, "free": 3428}}, "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": 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": "20250213T142412", "tz": "EST", "weeknumber": "06", "hour": "14", "year": "2025", "minute": "24", "tz_offset": "-0500", "month": "02", "epoch": "1739474652", "iso8601_micro": "2025-02-13T19:24:12.456504Z", "weekday": "Thursday", "time": "14:24:12", "date": "2025-02-13", "iso8601": "2025-02-13T19:24:12Z", "day": "13", "iso8601_basic": "20250213T142412456504", "second": "12"}, "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474651.99-9932-104598496594550/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 14:24:12 -0500 (0:00:00.587) 0:00:02.964 ***** included: /tmp/collections-GUL/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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 14:24:12 -0500 (0:00:00.030) 0:00:02.994 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 14:24:12 -0500 (0:00:00.044) 0:00:03.038 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278 `" && echo ansible-tmp-1739474652.67-9951-137855797527278="` echo /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474652.67-9951-137855797527278=/root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpdQvP6k TO /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpdQvP6k /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/ /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474652.67-9951-137855797527278/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 14:24:13 -0500 (0:00:00.404) 0:00:03.443 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 14:24:13 -0500 (0:00:00.048) 0:00:03.492 ***** 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-GUL/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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 14:24:13 -0500 (0:00:00.077) 0:00:03.569 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354 `" && echo ansible-tmp-1739474653.25-9971-272486850685354="` echo /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474653.25-9971-272486850685354=/root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpS1JtWF TO /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpS1JtWF /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/ /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474653.25-9971-272486850685354/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 14:24:21 -0500 (0:00:08.106) 0:00:11.675 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042 `" && echo ansible-tmp-1739474661.42-10076-270787065939042="` echo /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474661.42-10076-270787065939042=/root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp6WWyxB TO /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp6WWyxB /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/ /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.7 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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474661.42-10076-270787065939042/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.7 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 14:24:25 -0500 (0:00:04.748) 0:00:16.424 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796 `" && echo ansible-tmp-1739474666.17-10187-10526877814796="` echo /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474666.17-10187-10526877814796=/root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp5KKje9 TO /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/AnsiballZ_file.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp5KKje9 /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/AnsiballZ_file.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/ /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474666.17-10187-10526877814796/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 14:24:26 -0500 (0:00:00.836) 0:00:17.260 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802 `" && echo ansible-tmp-1739474666.93-10226-81370417831802="` echo /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474666.93-10226-81370417831802=/root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpyxJ1Uu TO /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/AnsiballZ_file.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpyxJ1Uu /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/AnsiballZ_file.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/ /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474666.93-10226-81370417831802/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 14:24:27 -0500 (0:00:00.414) 0:00:17.675 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284 `" && echo ansible-tmp-1739474667.39-10256-17713323836284="` echo /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474667.39-10256-17713323836284=/root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpDGbuJu TO /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/AnsiballZ_systemd.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpDGbuJu /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/AnsiballZ_systemd.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/ /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.125> (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": "dbus.service system.slice syslog.target basic.target systemd-journald.socket network.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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474667.39-10256-17713323836284/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": "dbus.service system.slice syslog.target basic.target systemd-journald.socket network.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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 14:24:28 -0500 (0:00:01.152) 0:00:18.827 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739 `" && echo ansible-tmp-1739474668.55-10308-47753606392739="` echo /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474668.55-10308-47753606392739=/root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpj0ufRt TO /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/AnsiballZ_certificate_request.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpj0ufRt /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/AnsiballZ_certificate_request.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/ /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474668.55-10308-47753606392739/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686 `" && echo ansible-tmp-1739474669.46-10308-65653072139686="` echo /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474669.46-10308-65653072139686=/root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJ65ELg TO /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/AnsiballZ_certificate_request.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJ65ELg /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/AnsiballZ_certificate_request.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/ /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474669.46-10308-65653072139686/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 14:24:30 -0500 (0:00:02.083) 0:00:20.911 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 14:24:30 -0500 (0:00:00.202) 0:00:21.114 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 14:24:30 -0500 (0:00:00.091) 0:00:21.205 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 14:24:30 -0500 (0:00:00.079) 0:00:21.285 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Thursday 13 February 2025 14:24:30 -0500 (0:00:00.073) 0:00:21.358 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921 `" && echo ansible-tmp-1739474670.97-10431-46788269603921="` echo /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474670.97-10431-46788269603921=/root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpOOLHLm TO /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/AnsiballZ_setup.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpOOLHLm /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/AnsiballZ_setup.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/ /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (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.13.137 54878 22", "SSH_CONNECTION": "10.31.13.137 54878 10.31.41.125 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:0f:1e:0b:0c:23", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.125", "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": "ec62e0657af143b4bf25e2f4711d3c6b", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC208694-D5A5-F65D-C529-F787290F1CB3", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c0f:1eff:fe0b:c23"], "ansible_uptime_seconds": 409, "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": "ec208694-d5a5-f65d-c529-f787290f1cb3", "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:0f:1e:0b:0c:23", "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.125"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c0f:1eff:fe0b:c23"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.125"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 843, "free": 2757}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 185, "free": 3415}}, "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": 2757, "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": 3203491, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287369, "size_available": 251033063424, "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": "20250213T142431", "tz": "EST", "weeknumber": "06", "hour": "14", "year": "2025", "minute": "24", "tz_offset": "-0500", "month": "02", "epoch": "1739474671", "iso8601_micro": "2025-02-13T19:24:31.402019Z", "weekday": "Thursday", "time": "14:24:31", "date": "2025-02-13", "iso8601": "2025-02-13T19:24:31Z", "day": "13", "iso8601_basic": "20250213T142431402019", "second": "31"}, "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474670.97-10431-46788269603921/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Thursday 13 February 2025 14:24:31 -0500 (0:00:00.598) 0:00:21.957 ***** included: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:24:31 -0500 (0:00:00.144) 0:00:22.101 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:24:31 -0500 (0:00:00.028) 0:00:22.129 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:24:31 -0500 (0:00:00.059) 0:00:22.189 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:24:31 -0500 (0:00:00.049) 0:00:22.239 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923 `" && echo ansible-tmp-1739474671.97-10484-44512663059923="` echo /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474671.97-10484-44512663059923=/root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpuLYl1x TO /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpuLYl1x /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/ /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474671.97-10484-44512663059923/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:24:32 -0500 (0:00:00.773) 0:00:23.013 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:24:32 -0500 (0:00:00.101) 0:00:23.114 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770 `" && echo ansible-tmp-1739474672.81-10543-102170503206770="` echo /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474672.81-10543-102170503206770=/root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpc8LhCb TO /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpc8LhCb /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/ /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474669.2276258, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072885000925", "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": 1739474669.2316258, "isdir": false, "ctime": 1739474669.2696257, "isblk": false, "wgrp": false, "checksum": "841445a2add78b1cf9e99141e87b77af5b75515c", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474672.81-10543-102170503206770/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474669.2316258, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "841445a2add78b1cf9e99141e87b77af5b75515c", "ctime": 1739474669.2696257, "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": 1739474669.2276258, "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": "18446744072885000925", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.460) 0:00:23.575 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.081) 0:00:23.656 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.091) 0:00:23.747 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.071) 0:00:23.819 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495 `" && echo ansible-tmp-1739474673.47-10582-350369929495="` echo /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474673.47-10582-350369929495=/root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpcMXnfB TO /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpcMXnfB /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/ /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474669.2276258, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744072885000912", "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": 1739474669.186626, "isdir": false, "ctime": 1739474669.2696257, "isblk": false, "wgrp": false, "checksum": "663755e00a38d60bc50b56dd3fcf71dd469fc605", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474673.47-10582-350369929495/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474669.186626, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "663755e00a38d60bc50b56dd3fcf71dd469fc605", "ctime": 1739474669.2696257, "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": 1739474669.2276258, "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": "18446744072885000912", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.471) 0:00:24.290 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:24:33 -0500 (0:00:00.088) 0:00:24.379 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:24:34 -0500 (0:00:00.076) 0:00:24.456 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842 `" && echo ansible-tmp-1739474674.11-10628-99527143187842="` echo /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474674.11-10628-99527143187842=/root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpDbU44r TO /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/AnsiballZ_certtojson.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpDbU44r /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/AnsiballZ_certtojson.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/ /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "7F:57:2C:BF:DA:E2:C9:F9:19:C6:E2:39:2B:DB:0E:46:67:C8:1F:09:2D:E3:42:5B:D1:CD:82:65:88:69:CC:78:1F:A9:A6:3B:56:7C:17:00:CD:3A:99:F5:8D:8A:79:62:71:BB:8E:A1:EF:F2:F4:71:C6:9D:A4:CD:79:1A:98:EB:72:C1:48:9D:F8:96:CE:2D:08:F3:38:50:92:73:D3:E8:AD:D2:E6:2A:5A:51:C3:69:05:F1:B7:5D:80:CB:B5:DD:4B:51:C4:87:5C:CC:EE:A7:32:8E:D3:85:17:A3:99:EA:ED:99:E3:68:FB:6C:C8:DC:E5:34:08:25:AF:F2:68:12:BD:12:A9:7C:9B:38:D6:0B:D4:5D:0C:92:C1:6E:69:B6:23:10:96:90:00:DB:4F:16:F7:9B:45:85:53:24:28:CF:1A:CA:FE:42:2B:13:6A:41:D4:60:F7:A4:36:D0:CF:65:FD:02:00:DF:B9:71:22:DC:12:40:27:B8:A4:96:CE:CF:44:02:25:52:76:53:8E:FB:24:0F:70:09:F1:A8:01:E1:E7:29:29:BD:22:A3:DA:D1:76:99:FB:7A:6B:A2:E3:DD:02:F0:C4:47:CA:4E:29:FA:C0:BB:C6:5D:DC:42:C7:8C:C9:BA:62:44:57:B4:15:55:88:9A:DF:28:A4:BE:6B:45"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "8B:F0:2B:5B:FC:15:EB:72:AE:B2:6B:6E:24:06:E6:AF:92:6D:DE:83"}, "authorityKeyIdentifier": {"critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC"}, "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": "20260213192428Z", "not_valid_before": "20250213192429Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474674.11-10628-99527143187842/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "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": "8B:F0:2B:5B:FC:15:EB:72:AE:B2:6B:6E:24:06:E6:AF:92:6D:DE:83" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:57:2C:BF:DA:E2:C9:F9:19:C6:E2:39:2B:DB:0E:46:67:C8:1F:09:2D:E3:42:5B:D1:CD:82:65:88:69:CC:78:1F:A9:A6:3B:56:7C:17:00:CD:3A:99:F5:8D:8A:79:62:71:BB:8E:A1:EF:F2:F4:71:C6:9D:A4:CD:79:1A:98:EB:72:C1:48:9D:F8:96:CE:2D:08:F3:38:50:92:73:D3:E8:AD:D2:E6:2A:5A:51:C3:69:05:F1:B7:5D:80:CB:B5:DD:4B:51:C4:87:5C:CC:EE:A7:32:8E:D3:85:17:A3:99:EA:ED:99:E3:68:FB:6C:C8:DC:E5:34:08:25:AF:F2:68:12:BD:12:A9:7C:9B:38:D6:0B:D4:5D:0C:92:C1:6E:69:B6:23:10:96:90:00:DB:4F:16:F7:9B:45:85:53:24:28:CF:1A:CA:FE:42:2B:13:6A:41:D4:60:F7:A4:36:D0:CF:65:FD:02:00:DF:B9:71:22:DC:12:40:27:B8:A4:96:CE:CF:44:02:25:52:76:53:8E:FB:24:0F:70:09:F1:A8:01:E1:E7:29:29:BD:22:A3:DA:D1:76:99:FB:7A:6B:A2:E3:DD:02:F0:C4:47:CA:4E:29:FA:C0:BB:C6:5D:DC:42:C7:8C:C9:BA:62:44:57:B4:15:55:88:9A:DF:28:A4:BE:6B:45" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192429Z" } }, "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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:24:34 -0500 (0:00:00.790) 0:00:25.247 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "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": "8B:F0:2B:5B:FC:15:EB:72:AE:B2:6B:6E:24:06:E6:AF:92:6D:DE:83" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7F:57:2C:BF:DA:E2:C9:F9:19:C6:E2:39:2B:DB:0E:46:67:C8:1F:09:2D:E3:42:5B:D1:CD:82:65:88:69:CC:78:1F:A9:A6:3B:56:7C:17:00:CD:3A:99:F5:8D:8A:79:62:71:BB:8E:A1:EF:F2:F4:71:C6:9D:A4:CD:79:1A:98:EB:72:C1:48:9D:F8:96:CE:2D:08:F3:38:50:92:73:D3:E8:AD:D2:E6:2A:5A:51:C3:69:05:F1:B7:5D:80:CB:B5:DD:4B:51:C4:87:5C:CC:EE:A7:32:8E:D3:85:17:A3:99:EA:ED:99:E3:68:FB:6C:C8:DC:E5:34:08:25:AF:F2:68:12:BD:12:A9:7C:9B:38:D6:0B:D4:5D:0C:92:C1:6E:69:B6:23:10:96:90:00:DB:4F:16:F7:9B:45:85:53:24:28:CF:1A:CA:FE:42:2B:13:6A:41:D4:60:F7:A4:36:D0:CF:65:FD:02:00:DF:B9:71:22:DC:12:40:27:B8:A4:96:CE:CF:44:02:25:52:76:53:8E:FB:24:0F:70:09:F1:A8:01:E1:E7:29:29:BD:22:A3:DA:D1:76:99:FB:7A:6B:A2:E3:DD:02:F0:C4:47:CA:4E:29:FA:C0:BB:C6:5D:DC:42:C7:8C:C9:BA:62:44:57:B4:15:55:88:9A:DF:28:A4:BE:6B:45" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192429Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:24:34 -0500 (0:00:00.065) 0:00:25.312 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:24:34 -0500 (0:00:00.065) 0:00:25.377 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.061) 0:00:25.439 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.054) 0:00:25.493 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.073) 0:00:25.566 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.078) 0:00:25.645 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423 `" && echo ansible-tmp-1739474675.28-10744-219722451179423="` echo /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474675.28-10744-219722451179423=/root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpSjouQV TO /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/AnsiballZ_command.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpSjouQV /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/AnsiballZ_command.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/ /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"changed": true, "end": "2025-02-13 14:24:35.679038", "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 14:24:35.637098", "stderr": "", "delta": "0:00:00.041940", "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474675.28-10744-219722451179423/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.041940", "end": "2025-02-13 14:24:35.679038", "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 14:24:35.637098" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.580) 0:00:26.225 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.077) 0:00:26.302 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.036) 0:00:26.339 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:24:35 -0500 (0:00:00.080) 0:00:26.419 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:24:36 -0500 (0:00:00.071) 0:00:26.490 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612 `" && echo ansible-tmp-1739474676.24-10808-42066318380612="` echo /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474676.24-10808-42066318380612=/root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpuOBy2v TO /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpuOBy2v /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/ /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474676.24-10808-42066318380612/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:24:36 -0500 (0:00:00.829) 0:00:27.320 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:24:36 -0500 (0:00:00.061) 0:00:27.382 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955 `" && echo ansible-tmp-1739474677.09-10919-96586504966955="` echo /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474677.09-10919-96586504966955=/root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpkGjI0g TO /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpkGjI0g /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/ /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474670.2366211, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072885000963", "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": 1739474670.2416213, "isdir": false, "ctime": 1739474670.3356209, "isblk": false, "wgrp": false, "checksum": "04c88c899f269242ee44b091584609d9605fd27d", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474677.09-10919-96586504966955/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474670.2416213, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "04c88c899f269242ee44b091584609d9605fd27d", "ctime": 1739474670.3356209, "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": 1739474670.2366211, "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": "18446744072885000963", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:24:37 -0500 (0:00:00.496) 0:00:27.879 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:24:37 -0500 (0:00:00.068) 0:00:27.948 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:24:37 -0500 (0:00:00.067) 0:00:28.015 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:24:37 -0500 (0:00:00.063) 0:00:28.079 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973 `" && echo ansible-tmp-1739474677.73-10961-107338272446973="` echo /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474677.73-10961-107338272446973=/root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpBaDdrs TO /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpBaDdrs /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/ /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474670.2366211, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744072885000950", "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": 1739474670.1956215, "isdir": false, "ctime": 1739474670.3356209, "isblk": false, "wgrp": false, "checksum": "4af952ebd1ebc3f70f267e06953f72a7a4ca2a44", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474677.73-10961-107338272446973/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474670.1956215, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "4af952ebd1ebc3f70f267e06953f72a7a4ca2a44", "ctime": 1739474670.3356209, "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": 1739474670.2366211, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1708, "uid": 1040, "version": "18446744072885000950", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.427) 0:00:28.506 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.074) 0:00:28.580 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.080) 0:00:28.661 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017 `" && echo ansible-tmp-1739474678.29-11048-2828018863017="` echo /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474678.29-11048-2828018863017=/root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp9xdKg6 TO /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/AnsiballZ_certtojson.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp9xdKg6 /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/AnsiballZ_certtojson.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/ /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "AE:90:A6:B9:BE:A1:95:A1:75:BC:72:12:11:24:A2:D8:59:9A:EC:EC:1F:CB:74:29:84:DC:66:F9:9F:B7:45:D9:07:66:E8:71:BD:95:31:A6:29:36:E0:B4:0B:3A:1B:A4:7C:DD:8B:DB:95:FE:83:F0:B1:E3:FA:6B:82:C5:B4:37:11:C5:FD:2A:C6:65:EF:7C:3E:D1:43:90:DD:42:93:28:CA:9D:49:8C:ED:47:D2:21:0A:F0:B7:4C:11:76:AE:D4:E1:1B:9B:FE:19:84:B7:F6:E9:4F:C5:A1:78:95:0E:D0:65:27:AA:98:7E:70:F0:59:7B:C4:26:C4:AF:97:47:6B:41:24:E0:7A:8F:96:15:BC:B2:27:6B:04:99:11:AD:66:E9:CC:BE:CB:5D:7D:26:C9:BF:FE:E6:46:F1:9C:88:97:E8:E9:89:82:BB:56:34:A2:08:EA:5E:65:D1:C4:0E:EE:C1:09:0B:6F:74:FA:77:C8:FC:D4:FF:89:89:B6:FA:24:57:92:27:13:3A:AF:49:54:85:55:23:94:7B:F9:34:9B:E2:A4:51:58:A8:D5:4A:96:BB:E5:A0:C1:40:EF:3E:4B:1A:1E:70:55:D4:A0:D2:7F:18:C9:92:D0:1E:54:09:18:2D:3A:46:57:9F:57:FA:66:24:E6:AC:A4:BC:93:99:70"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "6A:04:83:A1:9F:1F:54:C6:39:4E:FC:CB:8F:80:28:B6:AC:EC:76:79"}, "authorityKeyIdentifier": {"critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC"}, "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": "20260213192428Z", "not_valid_before": "20250213192430Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474678.29-11048-2828018863017/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "6A:04:83:A1:9F:1F:54:C6:39:4E:FC:CB:8F:80:28:B6:AC:EC:76:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AE:90:A6:B9:BE:A1:95:A1:75:BC:72:12:11:24:A2:D8:59:9A:EC:EC:1F:CB:74:29:84:DC:66:F9:9F:B7:45:D9:07:66:E8:71:BD:95:31:A6:29:36:E0:B4:0B:3A:1B:A4:7C:DD:8B:DB:95:FE:83:F0:B1:E3:FA:6B:82:C5:B4:37:11:C5:FD:2A:C6:65:EF:7C:3E:D1:43:90:DD:42:93:28:CA:9D:49:8C:ED:47:D2:21:0A:F0:B7:4C:11:76:AE:D4:E1:1B:9B:FE:19:84:B7:F6:E9:4F:C5:A1:78:95:0E:D0:65:27:AA:98:7E:70:F0:59:7B:C4:26:C4:AF:97:47:6B:41:24:E0:7A:8F:96:15:BC:B2:27:6B:04:99:11:AD:66:E9:CC:BE:CB:5D:7D:26:C9:BF:FE:E6:46:F1:9C:88:97:E8:E9:89:82:BB:56:34:A2:08:EA:5E:65:D1:C4:0E:EE:C1:09:0B:6F:74:FA:77:C8:FC:D4:FF:89:89:B6:FA:24:57:92:27:13:3A:AF:49:54:85:55:23:94:7B:F9:34:9B:E2:A4:51:58:A8:D5:4A:96:BB:E5:A0:C1:40:EF:3E:4B:1A:1E:70:55:D4:A0:D2:7F:18:C9:92:D0:1E:54:09:18:2D:3A:46:57:9F:57:FA:66:24:E6:AC:A4:BC:93:99:70" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192430Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.403) 0:00:29.064 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "6A:04:83:A1:9F:1F:54:C6:39:4E:FC:CB:8F:80:28:B6:AC:EC:76:79" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AE:90:A6:B9:BE:A1:95:A1:75:BC:72:12:11:24:A2:D8:59:9A:EC:EC:1F:CB:74:29:84:DC:66:F9:9F:B7:45:D9:07:66:E8:71:BD:95:31:A6:29:36:E0:B4:0B:3A:1B:A4:7C:DD:8B:DB:95:FE:83:F0:B1:E3:FA:6B:82:C5:B4:37:11:C5:FD:2A:C6:65:EF:7C:3E:D1:43:90:DD:42:93:28:CA:9D:49:8C:ED:47:D2:21:0A:F0:B7:4C:11:76:AE:D4:E1:1B:9B:FE:19:84:B7:F6:E9:4F:C5:A1:78:95:0E:D0:65:27:AA:98:7E:70:F0:59:7B:C4:26:C4:AF:97:47:6B:41:24:E0:7A:8F:96:15:BC:B2:27:6B:04:99:11:AD:66:E9:CC:BE:CB:5D:7D:26:C9:BF:FE:E6:46:F1:9C:88:97:E8:E9:89:82:BB:56:34:A2:08:EA:5E:65:D1:C4:0E:EE:C1:09:0B:6F:74:FA:77:C8:FC:D4:FF:89:89:B6:FA:24:57:92:27:13:3A:AF:49:54:85:55:23:94:7B:F9:34:9B:E2:A4:51:58:A8:D5:4A:96:BB:E5:A0:C1:40:EF:3E:4B:1A:1E:70:55:D4:A0:D2:7F:18:C9:92:D0:1E:54:09:18:2D:3A:46:57:9F:57:FA:66:24:E6:AC:A4:BC:93:99:70" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192430Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.056) 0:00:29.120 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.136) 0:00:29.257 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:24:38 -0500 (0:00:00.159) 0:00:29.416 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:24:39 -0500 (0:00:00.120) 0:00:29.537 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:24:39 -0500 (0:00:00.081) 0:00:29.618 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:24:39 -0500 (0:00:00.076) 0:00:29.695 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126 `" && echo ansible-tmp-1739474679.37-11107-260962343820126="` echo /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474679.37-11107-260962343820126=/root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmphrgyHe TO /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/AnsiballZ_command.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmphrgyHe /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/AnsiballZ_command.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/ /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"changed": true, "end": "2025-02-13 14:24:39.643395", "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 14:24:39.602123", "stderr": "", "delta": "0:00:00.041272", "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474679.37-11107-260962343820126/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.041272", "end": "2025-02-13 14:24:39.643395", "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 14:24:39.602123" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:24:39 -0500 (0:00:00.455) 0:00:30.150 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Thursday 13 February 2025 14:24:39 -0500 (0:00:00.094) 0:00:30.245 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316 `" && echo ansible-tmp-1739474679.86-11181-228520794370316="` echo /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474679.86-11181-228520794370316=/root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmptIqj6_ TO /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/AnsiballZ_setup.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmptIqj6_ /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/AnsiballZ_setup.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/ /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (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.13.137 54878 22", "SSH_CONNECTION": "10.31.13.137 54878 10.31.41.125 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:0f:1e:0b:0c:23", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.125", "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": "ec62e0657af143b4bf25e2f4711d3c6b", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC208694-D5A5-F65D-C529-F787290F1CB3", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c0f:1eff:fe0b:c23"], "ansible_uptime_seconds": 418, "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": "ec208694-d5a5-f65d-c529-f787290f1cb3", "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:0f:1e:0b:0c:23", "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.125"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c0f:1eff:fe0b:c23"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.125"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 843, "free": 2757}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 185, "free": 3415}}, "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": 2757, "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": "20250213T142440", "tz": "EST", "weeknumber": "06", "hour": "14", "year": "2025", "minute": "24", "tz_offset": "-0500", "month": "02", "epoch": "1739474680", "iso8601_micro": "2025-02-13T19:24:40.319092Z", "weekday": "Thursday", "time": "14:24:40", "date": "2025-02-13", "iso8601": "2025-02-13T19:24:40Z", "day": "13", "iso8601_basic": "20250213T142440319092", "second": "40"}, "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474679.86-11181-228520794370316/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.626) 0:00:30.871 ***** included: /tmp/collections-GUL/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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.039) 0:00:30.911 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.076) 0:00:30.987 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.090) 0:00:31.078 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.136) 0:00:31.214 ***** 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-GUL/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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 14:24:40 -0500 (0:00:00.160) 0:00:31.375 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372 `" && echo ansible-tmp-1739474681.13-11251-93411118301372="` echo /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474681.13-11251-93411118301372=/root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJD0pgW TO /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJD0pgW /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/ /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474681.13-11251-93411118301372/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 14:24:42 -0500 (0:00:01.587) 0:00:32.962 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196 `" && echo ansible-tmp-1739474682.71-11378-67632714225196="` echo /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474682.71-11378-67632714225196=/root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpEdcUJo TO /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpEdcUJo /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/ /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474682.71-11378-67632714225196/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 14:24:43 -0500 (0:00:00.641) 0:00:33.604 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743 `" && echo ansible-tmp-1739474683.27-11398-25458574215743="` echo /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474683.27-11398-25458574215743=/root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp6q8ezi TO /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/AnsiballZ_file.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp6q8ezi /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/AnsiballZ_file.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/ /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474683.27-11398-25458574215743/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 14:24:43 -0500 (0:00:00.366) 0:00:33.971 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837 `" && echo ansible-tmp-1739474683.69-11455-8407659734837="` echo /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474683.69-11455-8407659734837=/root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpEmb2Jw TO /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/AnsiballZ_file.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpEmb2Jw /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/AnsiballZ_file.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/ /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/AnsiballZ_file.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474683.69-11455-8407659734837/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 14:24:44 -0500 (0:00:00.522) 0:00:34.493 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742 `" && echo ansible-tmp-1739474684.15-11519-10680949617742="` echo /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474684.15-11519-10680949617742=/root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJ73mbG TO /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/AnsiballZ_systemd.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpJ73mbG /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/AnsiballZ_systemd.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/ /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.41.125> (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 14:24:28 EST] ; stop_time=[n/a] ; pid=9918 ; 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": "406599018", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "406599060", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 14:24:28 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 14:24:28 EST", "WatchdogTimestamp": "Thu 2025-02-13 14:24:28 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target multi-user.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "406572559", "ExecMainPID": "9918", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:28 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": "406571750", "MainPID": "9918", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:28 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 14:24:28 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": "406571751", "DefaultDependencies": "yes", "Requires": "basic.target system.slice", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "406572523", "StandardError": "inherit", "LimitNICE": "0", "After": "dbus.service system.slice systemd-journald.socket network.target basic.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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474684.15-11519-10680949617742/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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 14:24:28 EST", "ActiveEnterTimestampMonotonic": "406599060", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket network.target basic.target syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 14:24:28 EST", "AssertTimestampMonotonic": "406571751", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 14:24:28 EST", "ConditionTimestampMonotonic": "406571750", "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": "9918", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:28 EST", "ExecMainStartTimestampMonotonic": "406572523", "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 14:24:28 EST] ; stop_time=[n/a] ; pid=9918 ; 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 14:24:28 EST", "InactiveExitTimestampMonotonic": "406572559", "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": "9918", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 14:24:28 EST", "WatchdogTimestampMonotonic": "406599018", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 14:24:44 -0500 (0:00:00.521) 0:00:35.014 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891 `" && echo ansible-tmp-1739474684.77-11544-58785765668891="` echo /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474684.77-11544-58785765668891=/root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp94I9hj TO /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/AnsiballZ_certificate_request.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp94I9hj /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/AnsiballZ_certificate_request.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/ /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474684.77-11544-58785765668891/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949 `" && echo ansible-tmp-1739474685.42-11544-144490432915949="` echo /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474685.42-11544-144490432915949=/root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpAV3m_A TO /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/AnsiballZ_certificate_request.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpAV3m_A /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/AnsiballZ_certificate_request.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/ /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474685.42-11544-144490432915949/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 14:24:46 -0500 (0:00:01.826) 0:00:36.841 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.113) 0:00:36.955 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.066) 0:00:37.021 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.071) 0:00:37.093 ***** 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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.077) 0:00:37.171 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734 `" && echo ansible-tmp-1739474686.78-11650-52431740800734="` echo /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474686.78-11650-52431740800734=/root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpARd_IH TO /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/AnsiballZ_setup.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpARd_IH /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/AnsiballZ_setup.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/ /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.41.125> (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.13.137 54878 22", "SSH_CONNECTION": "10.31.13.137 54878 10.31.41.125 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:0f:1e:0b:0c:23", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.41.125", "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": "ec62e0657af143b4bf25e2f4711d3c6b", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC208694-D5A5-F65D-C529-F787290F1CB3", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c0f:1eff:fe0b:c23"], "ansible_uptime_seconds": 425, "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": "ec208694-d5a5-f65d-c529-f787290f1cb3", "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:0f:1e:0b:0c:23", "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.125"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c0f:1eff:fe0b:c23"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.41.125"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 843, "free": 2757}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 185, "free": 3415}}, "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": 2757, "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": 3203570, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287290, "size_available": 251032739840, "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": "20250213T142447", "tz": "EST", "weeknumber": "06", "hour": "14", "year": "2025", "minute": "24", "tz_offset": "-0500", "month": "02", "epoch": "1739474687", "iso8601_micro": "2025-02-13T19:24:47.199599Z", "weekday": "Thursday", "time": "14:24:47", "date": "2025-02-13", "iso8601": "2025-02-13T19:24:47Z", "day": "13", "iso8601_basic": "20250213T142447199599", "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474686.78-11650-52431740800734/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Thursday 13 February 2025 14:24:47 -0500 (0:00:00.610) 0:00:37.781 ***** included: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:24:47 -0500 (0:00:00.208) 0:00:37.989 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:24:47 -0500 (0:00:00.033) 0:00:38.023 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:24:47 -0500 (0:00:00.085) 0:00:38.108 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:24:47 -0500 (0:00:00.065) 0:00:38.174 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467 `" && echo ansible-tmp-1739474687.94-11764-187876490289467="` echo /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474687.94-11764-187876490289467=/root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpUnTMCa TO /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpUnTMCa /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/ /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474687.94-11764-187876490289467/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:24:48 -0500 (0:00:00.767) 0:00:38.941 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:24:48 -0500 (0:00:00.107) 0:00:39.049 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777 `" && echo ansible-tmp-1739474688.71-11798-140061307971777="` echo /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474688.71-11798-140061307971777=/root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpCdZjlQ TO /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpCdZjlQ /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/ /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474685.2425745, "block_size": 4096, "inode": 172749, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072885001088", "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": 1739474685.2525744, "isdir": false, "ctime": 1739474685.2795744, "isblk": false, "wgrp": true, "checksum": "62c0820f6250e114e9800759eef69a098ad39ffc", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474688.71-11798-140061307971777/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474685.2525744, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "62c0820f6250e114e9800759eef69a098ad39ffc", "ctime": 1739474685.2795744, "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": 1739474685.2425745, "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": "18446744072885001088", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.424) 0:00:39.474 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.075) 0:00:39.549 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.077) 0:00:39.626 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.085) 0:00:39.712 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366 `" && echo ansible-tmp-1739474689.44-11837-211445136083366="` echo /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474689.44-11837-211445136083366=/root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpKiZS_k TO /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpKiZS_k /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/ /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474685.2425745, "block_size": 4096, "inode": 172748, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744072885001075", "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": 1739474685.2035747, "isdir": false, "ctime": 1739474685.2795744, "isblk": false, "wgrp": true, "checksum": "60d0523f58732284e04dc690fd21f133e8675a0b", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474689.44-11837-211445136083366/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474685.2035747, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "60d0523f58732284e04dc690fd21f133e8675a0b", "ctime": 1739474685.2795744, "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": 1739474685.2425745, "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": "18446744072885001075", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.496) 0:00:40.208 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.067) 0:00:40.275 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:24:49 -0500 (0:00:00.092) 0:00:40.368 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130 `" && echo ansible-tmp-1739474690.0-11918-24444591635130="` echo /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474690.0-11918-24444591635130=/root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpS3gFsk TO /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/AnsiballZ_certtojson.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpS3gFsk /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/AnsiballZ_certtojson.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/ /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "D7:64:61:DA:A2:37:40:07:D9:EA:48:C8:F2:0F:AB:9C:FA:BC:04:2D:3C:9D:9D:D2:35:4E:23:D9:88:45:FB:85:D0:EB:88:E9:C5:73:DF:39:D8:10:6C:58:30:F2:98:90:B8:2C:F0:9D:CD:8A:BE:EE:B7:6F:CF:36:33:A5:36:C5:B5:16:57:D4:2F:BB:86:03:47:D0:CC:1F:9E:26:AC:BA:EF:BF:A4:7D:AD:51:C1:BE:33:10:03:84:F7:2D:6D:96:6E:66:FB:AB:EE:B8:33:06:C0:29:CC:29:4F:B2:DB:34:89:F5:49:7C:21:23:26:53:E2:37:79:71:35:FC:D9:15:24:69:3D:83:AD:23:6A:8E:FE:10:7F:5D:51:A5:26:AF:56:88:16:D2:16:41:B0:96:0F:24:77:49:9C:3B:20:03:5D:DA:4A:6D:24:04:02:8E:8B:3B:98:8B:41:39:AE:D0:2A:6E:C8:3B:93:B9:3B:32:56:25:B4:5B:E4:38:0A:F4:C9:6F:26:CA:68:35:03:1B:07:09:F1:98:C4:B7:0A:69:DA:FA:8B:9B:28:4F:DA:3E:4F:0D:5E:9C:6C:2A:1D:A3:35:77:70:64:00:72:84:0D:F3:8A:83:37:50:A5:D2:77:92:9E:9C:6D:B5:DE:80:40:FF:47:FD:27:06:C5:AB:F4"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "12:D5:2A:3F:90:8C:76:21:FB:68:EB:9A:C5:84:63:F7:7D:25:4A:81"}, "authorityKeyIdentifier": {"critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC"}, "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": "20260213192428Z", "not_valid_before": "20250213192445Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474690.0-11918-24444591635130/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "12:D5:2A:3F:90:8C:76:21:FB:68:EB:9A:C5:84:63:F7:7D:25:4A:81" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "D7:64:61:DA:A2:37:40:07:D9:EA:48:C8:F2:0F:AB:9C:FA:BC:04:2D:3C:9D:9D:D2:35:4E:23:D9:88:45:FB:85:D0:EB:88:E9:C5:73:DF:39:D8:10:6C:58:30:F2:98:90:B8:2C:F0:9D:CD:8A:BE:EE:B7:6F:CF:36:33:A5:36:C5:B5:16:57:D4:2F:BB:86:03:47:D0:CC:1F:9E:26:AC:BA:EF:BF:A4:7D:AD:51:C1:BE:33:10:03:84:F7:2D:6D:96:6E:66:FB:AB:EE:B8:33:06:C0:29:CC:29:4F:B2:DB:34:89:F5:49:7C:21:23:26:53:E2:37:79:71:35:FC:D9:15:24:69:3D:83:AD:23:6A:8E:FE:10:7F:5D:51:A5:26:AF:56:88:16:D2:16:41:B0:96:0F:24:77:49:9C:3B:20:03:5D:DA:4A:6D:24:04:02:8E:8B:3B:98:8B:41:39:AE:D0:2A:6E:C8:3B:93:B9:3B:32:56:25:B4:5B:E4:38:0A:F4:C9:6F:26:CA:68:35:03:1B:07:09:F1:98:C4:B7:0A:69:DA:FA:8B:9B:28:4F:DA:3E:4F:0D:5E:9C:6C:2A:1D:A3:35:77:70:64:00:72:84:0D:F3:8A:83:37:50:A5:D2:77:92:9E:9C:6D:B5:DE:80:40:FF:47:FD:27:06:C5:AB:F4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192445Z" } }, "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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.410) 0:00:40.778 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "12:D5:2A:3F:90:8C:76:21:FB:68:EB:9A:C5:84:63:F7:7D:25:4A:81" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "D7:64:61:DA:A2:37:40:07:D9:EA:48:C8:F2:0F:AB:9C:FA:BC:04:2D:3C:9D:9D:D2:35:4E:23:D9:88:45:FB:85:D0:EB:88:E9:C5:73:DF:39:D8:10:6C:58:30:F2:98:90:B8:2C:F0:9D:CD:8A:BE:EE:B7:6F:CF:36:33:A5:36:C5:B5:16:57:D4:2F:BB:86:03:47:D0:CC:1F:9E:26:AC:BA:EF:BF:A4:7D:AD:51:C1:BE:33:10:03:84:F7:2D:6D:96:6E:66:FB:AB:EE:B8:33:06:C0:29:CC:29:4F:B2:DB:34:89:F5:49:7C:21:23:26:53:E2:37:79:71:35:FC:D9:15:24:69:3D:83:AD:23:6A:8E:FE:10:7F:5D:51:A5:26:AF:56:88:16:D2:16:41:B0:96:0F:24:77:49:9C:3B:20:03:5D:DA:4A:6D:24:04:02:8E:8B:3B:98:8B:41:39:AE:D0:2A:6E:C8:3B:93:B9:3B:32:56:25:B4:5B:E4:38:0A:F4:C9:6F:26:CA:68:35:03:1B:07:09:F1:98:C4:B7:0A:69:DA:FA:8B:9B:28:4F:DA:3E:4F:0D:5E:9C:6C:2A:1D:A3:35:77:70:64:00:72:84:0D:F3:8A:83:37:50:A5:D2:77:92:9E:9C:6D:B5:DE:80:40:FF:47:FD:27:06:C5:AB:F4" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192445Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.076) 0:00:40.855 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.119) 0:00:40.974 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.083) 0:00:41.057 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.074) 0:00:41.132 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.065) 0:00:41.198 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:24:50 -0500 (0:00:00.058) 0:00:41.256 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580 `" && echo ansible-tmp-1739474690.88-11964-274967110080580="` echo /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474690.88-11964-274967110080580=/root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpcb9vuO TO /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/AnsiballZ_command.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpcb9vuO /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/AnsiballZ_command.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/ /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"changed": true, "end": "2025-02-13 14:24:51.131109", "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 14:24:51.084786", "stderr": "", "delta": "0:00:00.046323", "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474690.88-11964-274967110080580/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.046323", "end": "2025-02-13 14:24:51.131109", "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 14:24:51.084786" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:24:51 -0500 (0:00:00.366) 0:00:41.623 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:24:51 -0500 (0:00:00.056) 0:00:41.679 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:24:51 -0500 (0:00:00.026) 0:00:41.705 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:24:51 -0500 (0:00:00.073) 0:00:41.779 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:24:51 -0500 (0:00:00.063) 0:00:41.843 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748 `" && echo ansible-tmp-1739474691.58-11991-70857907256748="` echo /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474691.58-11991-70857907256748=/root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpONqu1a TO /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/AnsiballZ_yum.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpONqu1a /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/AnsiballZ_yum.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/ /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.41.125> (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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474691.58-11991-70857907256748/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.640) 0:00:42.483 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.053) 0:00:42.536 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721 `" && echo ansible-tmp-1739474692.18-12027-218071646554721="` echo /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474692.18-12027-218071646554721=/root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp4SNyRr TO /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmp4SNyRr /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/ /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474686.2785714, "block_size": 4096, "inode": 172751, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744072885001126", "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": 1739474686.2825713, "isdir": false, "ctime": 1739474686.2785714, "isblk": false, "wgrp": false, "checksum": "93bd486e550cde3079f32addf5e6478cf1975c84", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474692.18-12027-218071646554721/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474686.2825713, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "93bd486e550cde3079f32addf5e6478cf1975c84", "ctime": 1739474686.2785714, "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": 1739474686.2785714, "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": "18446744072885001126", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.476) 0:00:43.013 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.059) 0:00:43.072 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.060) 0:00:43.133 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.070) 0:00:43.204 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445 `" && echo ansible-tmp-1739474692.85-12071-183704610350445="` echo /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474692.85-12071-183704610350445=/root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpFcPwWI TO /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/AnsiballZ_stat.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpFcPwWI /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/AnsiballZ_stat.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/ /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.41.125> (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": 1739474686.2785714, "block_size": 4096, "inode": 172750, "isgid": false, "size": 1708, "executable": false, "isuid": false, "readable": true, "version": "18446744072885001113", "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": 1739474686.2375715, "isdir": false, "ctime": 1739474686.2785714, "isblk": false, "wgrp": false, "checksum": "c4abc257e8161a722f7d60e11e170eb5ffbe36af", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474692.85-12071-183704610350445/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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": 1739474686.2375715, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "c4abc257e8161a722f7d60e11e170eb5ffbe36af", "ctime": 1739474686.2785714, "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": 1739474686.2785714, "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": "18446744072885001113", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.351) 0:00:43.555 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.071) 0:00:43.627 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.085) 0:00:43.713 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495 `" && echo ansible-tmp-1739474693.39-12101-273782003649495="` echo /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474693.39-12101-273782003649495=/root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495\n', '') Using module file /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpHcCdqf TO /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/AnsiballZ_certtojson.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmpHcCdqf /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/AnsiballZ_certtojson.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/ /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "8F:9E:4B:26:08:BF:44:51:E1:AE:FD:17:FF:42:39:94:8D:D0:72:B7:09:1E:7E:1E:5E:66:FA:5F:D0:25:B6:6A:0B:67:AF:FD:13:16:9A:E6:EC:16:CB:67:F9:E0:A0:18:EC:8C:10:9C:C4:CD:6B:53:D6:EB:34:95:91:44:51:8F:9C:D7:C6:48:37:B3:4B:AA:5B:58:BB:08:31:AC:C8:F0:17:00:D5:AC:9E:63:AD:6B:4E:43:28:55:89:F1:18:46:A2:E0:0B:EA:A2:06:28:4C:44:8B:1F:CD:89:65:47:DE:18:8E:A7:D5:50:AD:9A:F3:33:1C:31:D9:20:6E:24:22:00:FD:FB:28:8B:14:6F:BF:51:26:6E:CB:9D:CC:80:C6:63:CD:2C:35:39:B6:9C:D7:EC:CA:FD:E9:EE:CF:29:60:9F:F6:CB:D7:95:0F:71:BC:40:FC:89:C5:1A:42:A7:BD:41:33:3A:33:B4:69:F3:84:25:B6:97:F7:04:28:BB:C2:E9:E6:FD:1C:AF:33:7A:55:70:A6:E4:44:D7:24:A4:3E:D9:CC:98:A9:8C:76:A6:C8:05:14:1B:C0:12:E5:85:8C:B6:E6:E7:E4:F6:29:D0:3D:2D:78:5D:0E:CA:AF:19:58:7D:BE:9C:AF:73:34:95:21:5C:A1:6E:0B:89:EB:BC:B6"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "84:C8:78:EF:94:1B:76:75:16:31:A8:E7:F8:6A:F7:68:E8:02:E0:88"}, "authorityKeyIdentifier": {"critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC"}, "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": "20260213192428Z", "not_valid_before": "20250213192446Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.41.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474693.39-12101-273782003649495/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "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": "84:C8:78:EF:94:1B:76:75:16:31:A8:E7:F8:6A:F7:68:E8:02:E0:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8F:9E:4B:26:08:BF:44:51:E1:AE:FD:17:FF:42:39:94:8D:D0:72:B7:09:1E:7E:1E:5E:66:FA:5F:D0:25:B6:6A:0B:67:AF:FD:13:16:9A:E6:EC:16:CB:67:F9:E0:A0:18:EC:8C:10:9C:C4:CD:6B:53:D6:EB:34:95:91:44:51:8F:9C:D7:C6:48:37:B3:4B:AA:5B:58:BB:08:31:AC:C8:F0:17:00:D5:AC:9E:63:AD:6B:4E:43:28:55:89:F1:18:46:A2:E0:0B:EA:A2:06:28:4C:44:8B:1F:CD:89:65:47:DE:18:8E:A7:D5:50:AD:9A:F3:33:1C:31:D9:20:6E:24:22:00:FD:FB:28:8B:14:6F:BF:51:26:6E:CB:9D:CC:80:C6:63:CD:2C:35:39:B6:9C:D7:EC:CA:FD:E9:EE:CF:29:60:9F:F6:CB:D7:95:0F:71:BC:40:FC:89:C5:1A:42:A7:BD:41:33:3A:33:B4:69:F3:84:25:B6:97:F7:04:28:BB:C2:E9:E6:FD:1C:AF:33:7A:55:70:A6:E4:44:D7:24:A4:3E:D9:CC:98:A9:8C:76:A6:C8:05:14:1B:C0:12:E5:85:8C:B6:E6:E7:E4:F6:29:D0:3D:2D:78:5D:0E:CA:AF:19:58:7D:BE:9C:AF:73:34:95:21:5C:A1:6E:0B:89:EB:BC:B6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192446Z" } }, "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-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.518) 0:00:44.231 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "25:95:4F:E8:54:0E:9E:2E:E2:C9:B3:96:84:9D:9F:75:01:84:66:BC" }, "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": "84:C8:78:EF:94:1B:76:75:16:31:A8:E7:F8:6A:F7:68:E8:02:E0:88" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "8F:9E:4B:26:08:BF:44:51:E1:AE:FD:17:FF:42:39:94:8D:D0:72:B7:09:1E:7E:1E:5E:66:FA:5F:D0:25:B6:6A:0B:67:AF:FD:13:16:9A:E6:EC:16:CB:67:F9:E0:A0:18:EC:8C:10:9C:C4:CD:6B:53:D6:EB:34:95:91:44:51:8F:9C:D7:C6:48:37:B3:4B:AA:5B:58:BB:08:31:AC:C8:F0:17:00:D5:AC:9E:63:AD:6B:4E:43:28:55:89:F1:18:46:A2:E0:0B:EA:A2:06:28:4C:44:8B:1F:CD:89:65:47:DE:18:8E:A7:D5:50:AD:9A:F3:33:1C:31:D9:20:6E:24:22:00:FD:FB:28:8B:14:6F:BF:51:26:6E:CB:9D:CC:80:C6:63:CD:2C:35:39:B6:9C:D7:EC:CA:FD:E9:EE:CF:29:60:9F:F6:CB:D7:95:0F:71:BC:40:FC:89:C5:1A:42:A7:BD:41:33:3A:33:B4:69:F3:84:25:B6:97:F7:04:28:BB:C2:E9:E6:FD:1C:AF:33:7A:55:70:A6:E4:44:D7:24:A4:3E:D9:CC:98:A9:8C:76:A6:C8:05:14:1B:C0:12:E5:85:8C:B6:E6:E7:E4:F6:29:D0:3D:2D:78:5D:0E:CA:AF:19:58:7D:BE:9C:AF:73:34:95:21:5C:A1:6E:0B:89:EB:BC:B6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192428Z", "not_valid_before": "20250213192446Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.124) 0:00:44.355 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.095) 0:00:44.451 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.056) 0:00:44.508 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.061) 0:00:44.569 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.091) 0:00:44.661 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.082) 0:00:44.743 ***** <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.41.125> (0, '/root\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819 `" && echo ansible-tmp-1739474694.44-12165-15447286100819="` echo /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819 `" ) && sleep 0'"'"'' <10.31.41.125> (0, 'ansible-tmp-1739474694.44-12165-15447286100819=/root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.41.125> PUT /root/.ansible/tmp/ansible-local-9836gPZMlY/tmphb3uaW TO /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/AnsiballZ_command.py <10.31.41.125> 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/b14dc9d56b '[10.31.41.125]' <10.31.41.125> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9836gPZMlY/tmphb3uaW /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/AnsiballZ_command.py\n', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/ /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '', '') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b -tt 10.31.41.125 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/AnsiballZ_command.py && sleep 0'"'"'' <10.31.41.125> (0, '\r\n{"changed": true, "end": "2025-02-13 14:24:54.807618", "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 14:24:54.763179", "stderr": "", "delta": "0:00:00.044439", "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.125 closed.\r\n') <10.31.41.125> ESTABLISH SSH CONNECTION FOR USER: None <10.31.41.125> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/b14dc9d56b 10.31.41.125 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474694.44-12165-15447286100819/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.41.125> (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.044439", "end": "2025-02-13 14:24:54.807618", "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 14:24:54.763179" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:24:54 -0500 (0:00:00.572) 0:00:45.316 ***** 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 14:24:54 -0500 (0:00:00.081) 0:00:45.397 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 8.11s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.75s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.08s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.83s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.59s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.15s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.84s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.83s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.79s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Ensure python3 is installed --------------------------------------------- 0.77s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure python3 is installed --------------------------------------------- 0.77s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure user exists ------------------------------------------------------ 0.67s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.64s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 0.64s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.63s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.59s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Retrieve auto-renew flag ------------------------------------------------ 0.58s /tmp/collections-GUL/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143