ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method Parsed /tmp/inventory-kuH.yml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Thursday 13 February 2025 13:49:39 -0500 (0:00:00.035) 0:00:00.035 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', "Warning: Permanently added '10.31.42.143' (ECDSA) to the list of known hosts.\r\n") <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392 `" && echo ansible-tmp-1739472579.78-9861-251892920993392="` echo /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472579.78-9861-251892920993392=/root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392\n', '') Attempting python interpreter discovery <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.42.143> (0, 'PLATFORM\nLinux\nFOUND\n/usr/bin/python\n/usr/bin/python2.7\n/usr/libexec/platform-python\n/usr/bin/python\nENDFOUND\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.42.143> (0, '{"osrelease_content": "NAME=\\"CentOS Linux\\"\\nVERSION=\\"7 (Core)\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"7\\"\\nPRETTY_NAME=\\"CentOS Linux 7 (Core)\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:7\\"\\nHOME_URL=\\"https://www.centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugs.centos.org/\\"\\n\\nCENTOS_MANTISBT_PROJECT=\\"CentOS-7\\"\\nCENTOS_MANTISBT_PROJECT_VERSION=\\"7\\"\\nREDHAT_SUPPORT_PRODUCT=\\"centos\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"7\\"\\n\\n", "platform_dist_result": ["centos", "7.9.2009", "Core"]}\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpvTZBah TO /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/AnsiballZ_setup.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpvTZBah /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/AnsiballZ_setup.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/ /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 54490 22", "SSH_CONNECTION": "10.31.42.233 54490 10.31.42.143 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:e9:89:bb:8a:8b", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.143", "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": "382ab5b66b9d490c95705716cf7a0fd6", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2199EA-9AA6-522C-D712-FA192DB1E1D2", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::ce9:89ff:febb:8a8b"], "ansible_uptime_seconds": 272, "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": "ec2199ea-9aa6-522c-d712-fa192db1e1d2", "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:e9:89:bb:8a:8b", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.143"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::ce9:89ff:febb:8a8b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.143"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 711, "free": 2889}, "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": 2889, "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": "20250213T134940", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "49", "tz_offset": "-0500", "month": "02", "epoch": "1739472580", "iso8601_micro": "2025-02-13T18:49:40.536629Z", "weekday": "Thursday", "time": "13:49:40", "date": "2025-02-13", "iso8601": "2025-02-13T18:49:40Z", "day": "13", "iso8601_basic": "20250213T134940536629", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472579.78-9861-251892920993392/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Thursday 13 February 2025 13:49:40 -0500 (0:00:01.189) 0:00:01.225 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182 `" && echo ansible-tmp-1739472580.71-9902-108538826329182="` echo /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472580.71-9902-108538826329182=/root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/user.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4sLujZ TO /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/AnsiballZ_user.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4sLujZ /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/AnsiballZ_user.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/ /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/AnsiballZ_user.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/AnsiballZ_user.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472580.71-9902-108538826329182/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Thursday 13 February 2025 13:49:41 -0500 (0:00:00.707) 0:00:01.932 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845 `" && echo ansible-tmp-1739472581.38-9919-273749859878845="` echo /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472581.38-9919-273749859878845=/root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/group.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpADrblS TO /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/AnsiballZ_group.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpADrblS /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/AnsiballZ_group.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/ /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/AnsiballZ_group.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/AnsiballZ_group.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472581.38-9919-273749859878845/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Thursday 13 February 2025 13:49:41 -0500 (0:00:00.510) 0:00:02.443 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967 `" && echo ansible-tmp-1739472581.89-9938-186351959115967="` echo /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472581.89-9938-186351959115967=/root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpsPPUQK TO /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/AnsiballZ_setup.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpsPPUQK /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/AnsiballZ_setup.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/ /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 54490 22", "SSH_CONNECTION": "10.31.42.233 54490 10.31.42.143 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:e9:89:bb:8a:8b", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.143", "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": "382ab5b66b9d490c95705716cf7a0fd6", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2199EA-9AA6-522C-D712-FA192DB1E1D2", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::ce9:89ff:febb:8a8b"], "ansible_uptime_seconds": 274, "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": "ec2199ea-9aa6-522c-d712-fa192db1e1d2", "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:e9:89:bb:8a:8b", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.143"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::ce9:89ff:febb:8a8b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.143"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 711, "free": 2889}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 171, "free": 3429}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2889, "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": "20250213T134942", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "49", "tz_offset": "-0500", "month": "02", "epoch": "1739472582", "iso8601_micro": "2025-02-13T18:49:42.366130Z", "weekday": "Thursday", "time": "13:49:42", "date": "2025-02-13", "iso8601": "2025-02-13T18:49:42Z", "day": "13", "iso8601_basic": "20250213T134942366130", "second": "42"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472581.89-9938-186351959115967/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:49:42 -0500 (0:00:00.593) 0:00:03.036 ***** included: /tmp/collections-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:49:42 -0500 (0:00:00.030) 0:00:03.066 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:49:42 -0500 (0:00:00.046) 0:00:03.112 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746 `" && echo ansible-tmp-1739472582.59-9957-223156967016746="` echo /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472582.59-9957-223156967016746=/root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmphdVjGw TO /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmphdVjGw /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/ /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/run/ostree-booted", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472582.59-9957-223156967016746/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:49:43 -0500 (0:00:00.495) 0:00:03.607 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:49:43 -0500 (0:00:00.059) 0:00:03.667 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:49:43 -0500 (0:00:00.093) 0:00:03.760 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272 `" && echo ansible-tmp-1739472583.31-9990-130040614196272="` echo /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472583.31-9990-130040614196272=/root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpbGRaFj TO /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpbGRaFj /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/ /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "results": ["dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\\n--> Running transaction check\\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\\n--> Running transaction check\\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\\n--> Running transaction check\\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\\nInstalling for dependencies:\\n python-cffi x86_64 1.6.0-5.el7 base 218 k\\n python-enum34 noarch 1.0.4-1.el7 base 52 k\\n python-idna noarch 2.4-1.el7 base 94 k\\n python-ply noarch 3.4-11.el7 base 123 k\\n python-pycparser noarch 2.14-1.el7 base 104 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 2 Packages (+5 Dependent packages)\\n\\nTotal download size: 1.2 M\\nInstalled size: 6.1 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 3.9 MB/s | 1.2 MB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \\n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \\n Installing : python-ply-3.4-11.el7.noarch 3/7 \\n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \\n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \\n Installing : python-idna-2.4-1.el7.noarch 6/7 \\n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n Verifying : python-idna-2.4-1.el7.noarch 1/7 \\n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \\n Verifying : python-ply-3.4-11.el7.noarch 3/7 \\n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \\n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \\n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \\n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \\n\\nInstalled:\\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\\n\\nDependency Installed:\\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \\n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \\n python-pycparser.noarch 0:2.14-1.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["python-pyasn1", "python-cryptography"]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472583.31-9990-130040614196272/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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 3.9 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:49:51 -0500 (0:00:08.027) 0:00:11.787 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433 `" && echo ansible-tmp-1739472591.37-10091-244452222571433="` echo /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472591.37-10091-244452222571433=/root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkTSMxf TO /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkTSMxf /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/ /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "results": ["Loaded plugins: fastestmirror\\nLoading mirror speeds from cached hostfile\\n * epel: d2lzkl7pfhq30w.cloudfront.net\\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\\nResolving Dependencies\\n--> Running transaction check\\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\\n--> Running transaction check\\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\\n--> Finished Dependency Resolution\\n\\nDependencies Resolved\\n\\n================================================================================\\n Package Arch Version Repository Size\\n================================================================================\\nInstalling:\\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\\nInstalling for dependencies:\\n libtalloc x86_64 2.1.16-1.el7 base 33 k\\n libtevent x86_64 0.9.39-1.el7 base 41 k\\n psmisc x86_64 22.20-17.el7 base 141 k\\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\\n\\nTransaction Summary\\n================================================================================\\nInstall 1 Package (+5 Dependent packages)\\n\\nTotal download size: 984 k\\nInstalled size: 3.7 M\\nDownloading packages:\\n--------------------------------------------------------------------------------\\nTotal 2.6 MB/s | 984 kB 00:00 \\nRunning transaction check\\nRunning transaction test\\nTransaction test succeeded\\nRunning transaction\\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \\n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \\n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Installing : psmisc-22.20-17.el7.x86_64 5/6 \\n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \\n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \\n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \\n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \\n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \\n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \\n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \\n\\nInstalled:\\n certmonger.x86_64 0:0.78.4-17.el7_9 \\n\\nDependency Installed:\\n libtalloc.x86_64 0:2.1.16-1.el7 \\n libtevent.x86_64 0:0.9.39-1.el7 \\n psmisc.x86_64 0:22.20-17.el7 \\n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \\n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \\n\\nComplete!\\n"], "msg": "", "rc": 0, "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changes": {"installed": ["certmonger"]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472591.37-10091-244452222571433/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.6 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:49:55 -0500 (0:00:04.564) 0:00:16.352 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085 `" && echo ansible-tmp-1739472595.85-10213-152052674127085="` echo /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472595.85-10213-152052674127085=/root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpBQh5nm TO /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/AnsiballZ_file.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpBQh5nm /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/AnsiballZ_file.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/ /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472595.85-10213-152052674127085/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.801) 0:00:17.153 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565 `" && echo ansible-tmp-1739472596.65-10246-188206209270565="` echo /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472596.65-10246-188206209270565=/root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp1e1hNh TO /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/AnsiballZ_file.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp1e1hNh /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/AnsiballZ_file.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/ /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472596.65-10246-188206209270565/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:49:56 -0500 (0:00:00.395) 0:00:17.549 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588 `" && echo ansible-tmp-1739472597.04-10265-17177010681588="` echo /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472597.04-10265-17177010681588=/root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmps4rIDt TO /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/AnsiballZ_systemd.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmps4rIDt /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/AnsiballZ_systemd.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/ /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "disabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "0", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "0", "AllowIsolate": "no", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "0", "ExecMainPID": "0", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "SystemCallErrorNumber": "0", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "dead", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "MainPID": "0", "StartupBlockIOWeight": "18446744073709551615", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "inactive", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "Transient": "no", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "StartLimitBurst": "5", "LimitCORE": "18446744073709551615", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "0", "DefaultDependencies": "yes", "Requires": "system.slice basic.target", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "no", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "0", "RefuseManualStop": "no", "LimitNICE": "0", "After": "systemd-journald.socket basic.target system.slice network.target syslog.target dbus.service", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472597.04-10265-17177010681588/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": "systemd-journald.socket basic.target system.slice network.target syslog.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:49:57 -0500 (0:00:01.020) 0:00:18.569 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661 `" && echo ansible-tmp-1739472598.16-10311-135531002101661="` echo /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472598.16-10311-135531002101661=/root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpCPYbdZ TO /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/AnsiballZ_certificate_request.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpCPYbdZ /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/AnsiballZ_certificate_request.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/ /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472598.16-10311-135531002101661/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 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.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504 `" && echo ansible-tmp-1739472599.32-10311-113804366558504="` echo /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472599.32-10311-113804366558504=/root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpj2u2Ok TO /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/AnsiballZ_certificate_request.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpj2u2Ok /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/AnsiballZ_certificate_request.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/ /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472599.32-10311-113804366558504/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:50:00 -0500 (0:00:02.132) 0:00:20.701 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.131) 0:00:20.832 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.064) 0:00:20.897 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.072) 0:00:20.969 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Thursday 13 February 2025 13:50:00 -0500 (0:00:00.093) 0:00:21.063 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405 `" && echo ansible-tmp-1739472600.52-10449-151227004534405="` echo /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472600.52-10449-151227004534405=/root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpujVSbZ TO /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/AnsiballZ_setup.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpujVSbZ /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/AnsiballZ_setup.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/ /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 54490 22", "SSH_CONNECTION": "10.31.42.233 54490 10.31.42.143 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:e9:89:bb:8a:8b", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.143", "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": "382ab5b66b9d490c95705716cf7a0fd6", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2199EA-9AA6-522C-D712-FA192DB1E1D2", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::ce9:89ff:febb:8a8b"], "ansible_uptime_seconds": 293, "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": "ec2199ea-9aa6-522c-d712-fa192db1e1d2", "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:e9:89:bb:8a:8b", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.143"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::ce9:89ff:febb:8a8b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.143"], "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": 182, "free": 3418}}, "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": 3203490, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287370, "size_available": 251033067520, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65218, "block_size": 4096, "inode_available": 16318782}], "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T135001", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472601", "iso8601_micro": "2025-02-13T18:50:01.049601Z", "weekday": "Thursday", "time": "13:50:01", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:01Z", "day": "13", "iso8601_basic": "20250213T135001049601", "second": "01"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472600.52-10449-151227004534405/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.669) 0:00:21.733 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.212) 0:00:21.945 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.042) 0:00:21.987 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.067) 0:00:22.055 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:01 -0500 (0:00:00.085) 0:00:22.141 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580 `" && echo ansible-tmp-1739472601.75-10511-132650317983580="` echo /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472601.75-10511-132650317983580=/root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpY4XbWA TO /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpY4XbWA /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/ /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472601.75-10511-132650317983580/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.685) 0:00:22.826 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.098) 0:00:22.924 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413 `" && echo ansible-tmp-1739472602.44-10553-220025334598413="` echo /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472602.44-10553-220025334598413=/root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpM2E9Ed TO /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpM2E9Ed /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/ /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472598.9509718, "block_size": 4096, "inode": 172745, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1008202239", "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": 1739472598.9539719, "isdir": false, "ctime": 1739472599.069971, "isblk": false, "wgrp": false, "checksum": "5ce4585a286cd43c42363b78cc78481359c49f6d", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472602.44-10553-220025334598413/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472598.9539719, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "5ce4585a286cd43c42363b78cc78481359c49f6d", "ctime": 1739472599.069971, "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": 1739472598.9509718, "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": "1008202239", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.502) 0:00:23.427 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.078) 0:00:23.506 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:02 -0500 (0:00:00.077) 0:00:23.583 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.055) 0:00:23.639 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691 `" && echo ansible-tmp-1739472603.1-10601-192172205181691="` echo /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472603.1-10601-192172205181691=/root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4DIldc TO /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4DIldc /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/ /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472598.9509718, "block_size": 4096, "inode": 172744, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1008202226", "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": 1739472598.9089723, "isdir": false, "ctime": 1739472599.070971, "isblk": false, "wgrp": false, "checksum": "65c0e4370f4a2d707cdfe5b80c12fd716b24c223", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472603.1-10601-192172205181691/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472598.9089723, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "65c0e4370f4a2d707cdfe5b80c12fd716b24c223", "ctime": 1739472599.070971, "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": 1739472598.9509718, "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": "1008202226", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.438) 0:00:24.077 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.069) 0:00:24.146 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:03 -0500 (0:00:00.111) 0:00:24.258 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512 `" && echo ansible-tmp-1739472603.85-10706-113796528284512="` echo /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472603.85-10706-113796528284512=/root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkW2Daj TO /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/AnsiballZ_certtojson.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkW2Daj /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/AnsiballZ_certtojson.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/ /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "53:6A:F3:FA:93:19:7D:8C:56:B8:6A:BF:E6:66:DB:C4:4F:E9:FC:E8:82:A2:C8:C2:85:93:AF:E2:B9:AB:1B:D6:2A:33:B7:E3:4A:96:6D:C0:A7:AB:D1:C1:3E:9F:37:2F:BE:9A:9B:E0:4C:94:DC:BC:F5:07:75:58:E0:90:24:12:10:9A:90:66:C5:24:5D:CC:52:61:25:98:EE:4B:AE:3C:64:DB:FE:29:7D:BC:1E:EA:1F:08:B4:C1:CE:B3:D3:3C:C9:2A:AE:2A:4B:4D:FD:4C:1E:12:7C:28:79:DF:23:DF:1E:E3:36:22:E0:E2:53:47:F3:19:ED:39:82:14:2F:D6:B0:55:41:2D:DB:BA:B1:3F:D9:76:4B:8E:3A:20:CD:57:6B:B0:E2:53:D9:60:6B:27:98:DF:E5:E6:00:E9:10:78:C6:B5:63:D3:4C:20:49:DA:03:8A:BB:E3:0E:FF:8A:0B:DF:A7:12:7C:C6:1D:CE:AC:DE:22:50:8E:0A:45:CA:1C:9A:97:30:B1:46:01:C2:7B:39:D1:19:D0:3B:8F:45:56:10:C4:10:FE:25:FF:25:47:84:EB:9B:07:10:CF:1A:BF:CB:49:78:55:54:B7:A1:28:8E:22:92:DE:8F:5C:4A:26:64:94:42:1B:46:3B:25:F2:47:DA:04:F7:BD:BD:DE:D7"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "40:AE:C2:27:4E:E9:82:27:3F:20:88:98:6F:63:4E:00:BD:5B:F4:70"}, "authorityKeyIdentifier": {"critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90"}, "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": "20260213184958Z", "not_valid_before": "20250213184958Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472603.85-10706-113796528284512/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "40:AE:C2:27:4E:E9:82:27:3F:20:88:98:6F:63:4E:00:BD:5B:F4:70" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "53:6A:F3:FA:93:19:7D:8C:56:B8:6A:BF:E6:66:DB:C4:4F:E9:FC:E8:82:A2:C8:C2:85:93:AF:E2:B9:AB:1B:D6:2A:33:B7:E3:4A:96:6D:C0:A7:AB:D1:C1:3E:9F:37:2F:BE:9A:9B:E0:4C:94:DC:BC:F5:07:75:58:E0:90:24:12:10:9A:90:66:C5:24:5D:CC:52:61:25:98:EE:4B:AE:3C:64:DB:FE:29:7D:BC:1E:EA:1F:08:B4:C1:CE:B3:D3:3C:C9:2A:AE:2A:4B:4D:FD:4C:1E:12:7C:28:79:DF:23:DF:1E:E3:36:22:E0:E2:53:47:F3:19:ED:39:82:14:2F:D6:B0:55:41:2D:DB:BA:B1:3F:D9:76:4B:8E:3A:20:CD:57:6B:B0:E2:53:D9:60:6B:27:98:DF:E5:E6:00:E9:10:78:C6:B5:63:D3:4C:20:49:DA:03:8A:BB:E3:0E:FF:8A:0B:DF:A7:12:7C:C6:1D:CE:AC:DE:22:50:8E:0A:45:CA:1C:9A:97:30:B1:46:01:C2:7B:39:D1:19:D0:3B:8F:45:56:10:C4:10:FE:25:FF:25:47:84:EB:9B:07:10:CF:1A:BF:CB:49:78:55:54:B7:A1:28:8E:22:92:DE:8F:5C:4A:26:64:94:42:1B:46:3B:25:F2:47:DA:04:F7:BD:BD:DE:D7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213184958Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.852) 0:00:25.110 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "40:AE:C2:27:4E:E9:82:27:3F:20:88:98:6F:63:4E:00:BD:5B:F4:70" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "53:6A:F3:FA:93:19:7D:8C:56:B8:6A:BF:E6:66:DB:C4:4F:E9:FC:E8:82:A2:C8:C2:85:93:AF:E2:B9:AB:1B:D6:2A:33:B7:E3:4A:96:6D:C0:A7:AB:D1:C1:3E:9F:37:2F:BE:9A:9B:E0:4C:94:DC:BC:F5:07:75:58:E0:90:24:12:10:9A:90:66:C5:24:5D:CC:52:61:25:98:EE:4B:AE:3C:64:DB:FE:29:7D:BC:1E:EA:1F:08:B4:C1:CE:B3:D3:3C:C9:2A:AE:2A:4B:4D:FD:4C:1E:12:7C:28:79:DF:23:DF:1E:E3:36:22:E0:E2:53:47:F3:19:ED:39:82:14:2F:D6:B0:55:41:2D:DB:BA:B1:3F:D9:76:4B:8E:3A:20:CD:57:6B:B0:E2:53:D9:60:6B:27:98:DF:E5:E6:00:E9:10:78:C6:B5:63:D3:4C:20:49:DA:03:8A:BB:E3:0E:FF:8A:0B:DF:A7:12:7C:C6:1D:CE:AC:DE:22:50:8E:0A:45:CA:1C:9A:97:30:B1:46:01:C2:7B:39:D1:19:D0:3B:8F:45:56:10:C4:10:FE:25:FF:25:47:84:EB:9B:07:10:CF:1A:BF:CB:49:78:55:54:B7:A1:28:8E:22:92:DE:8F:5C:4A:26:64:94:42:1B:46:3B:25:F2:47:DA:04:F7:BD:BD:DE:D7" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213184958Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.115) 0:00:25.225 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.101) 0:00:25.326 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.115) 0:00:25.442 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:04 -0500 (0:00:00.151) 0:00:25.593 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.116) 0:00:25.710 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.112) 0:00:25.822 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926 `" && echo ansible-tmp-1739472605.31-10803-41232084495926="` echo /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472605.31-10803-41232084495926=/root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpS3tMrM TO /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/AnsiballZ_command.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpS3tMrM /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/AnsiballZ_command.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/ /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:05.702372", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:05.659513", "stderr": "", "delta": "0:00:00.042859", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472605.31-10803-41232084495926/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.042859", "end": "2025-02-13 13:50:05.702372", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:05.659513" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.559) 0:00:26.382 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.089) 0:00:26.471 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.042) 0:00:26.514 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:05 -0500 (0:00:00.064) 0:00:26.579 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.057) 0:00:26.636 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732 `" && echo ansible-tmp-1739472606.25-10893-277559829199732="` echo /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472606.25-10893-277559829199732=/root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp3ZMXEW TO /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp3ZMXEW /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/ /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472606.25-10893-277559829199732/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.779) 0:00:27.415 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:06 -0500 (0:00:00.073) 0:00:27.489 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431 `" && echo ansible-tmp-1739472606.99-10940-262096617425431="` echo /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472606.99-10940-262096617425431=/root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpGH8W7x TO /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpGH8W7x /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/ /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472599.952964, "block_size": 4096, "inode": 172747, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1008202278", "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": 1739472599.955964, "isdir": false, "ctime": 1739472600.0079637, "isblk": false, "wgrp": false, "checksum": "e030d325845b083fdcab5d842c2ab516364de5a8", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472606.99-10940-262096617425431/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472599.955964, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e030d325845b083fdcab5d842c2ab516364de5a8", "ctime": 1739472600.0079637, "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": 1739472599.952964, "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": "1008202278", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.471) 0:00:27.961 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.049) 0:00:28.010 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.066) 0:00:28.077 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.073) 0:00:28.150 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735 `" && echo ansible-tmp-1739472607.64-10974-97766246860735="` echo /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472607.64-10974-97766246860735=/root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkio7iU TO /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpkio7iU /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/ /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472599.952964, "block_size": 4096, "inode": 172746, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1008202265", "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": 1739472599.9129643, "isdir": false, "ctime": 1739472600.0089636, "isblk": false, "wgrp": false, "checksum": "e88be41c3327295d1da9868a6d0e92dd315a0d17", "dev": 51713, "roth": false, "isfifo": false, "mode": "0640", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472607.64-10974-97766246860735/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472599.9129643, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "e88be41c3327295d1da9868a6d0e92dd315a0d17", "ctime": 1739472600.0089636, "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": 1739472599.952964, "nlink": 1, "path": "/etc/pki/tls/private/certid.key", "pw_name": "user1", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 1704, "uid": 1040, "version": "1008202265", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:07 -0500 (0:00:00.404) 0:00:28.554 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.062) 0:00:28.616 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.064) 0:00:28.681 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737 `" && echo ansible-tmp-1739472608.15-11010-214600696282737="` echo /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472608.15-11010-214600696282737=/root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpNjXArk TO /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/AnsiballZ_certtojson.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpNjXArk /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/AnsiballZ_certtojson.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/ /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "BA:43:FB:33:5E:52:1C:47:45:8E:D7:8E:7E:90:6B:F5:CC:64:E2:92:DE:B7:B0:75:5D:5A:22:BF:B0:A8:96:64:E9:CE:31:94:5C:75:6F:1A:61:5A:FB:68:E7:82:19:D7:1C:5D:33:07:E0:DF:F3:8F:4B:7D:6D:B1:15:77:69:D2:F1:89:42:AD:15:DF:8E:6F:8F:EA:A8:95:28:1A:35:6D:72:80:5A:2F:30:07:91:D3:76:35:57:23:3B:92:59:75:40:23:7B:A7:C2:DE:AE:F7:98:1D:90:B7:FB:BD:07:FA:2D:64:17:89:31:45:56:33:1B:1C:C4:BC:4C:F2:7A:6F:86:FA:1A:A1:59:C3:C7:43:64:75:77:F8:2D:B2:F8:56:F2:8C:B9:23:59:C2:E7:05:6B:E2:AF:98:A3:EA:F5:9C:0F:02:A0:23:86:0A:0E:D8:5B:C9:3B:57:70:35:4D:75:34:C1:39:E5:70:E3:75:80:F5:AF:6A:61:67:25:07:AE:74:0B:D0:73:A8:BB:5F:2F:03:31:B7:79:B0:B1:53:5E:10:67:4D:EB:18:98:1A:A5:C0:59:2D:EC:50:2F:83:3B:28:77:49:7C:F0:C4:0B:E0:34:A5:C3:62:0E:BB:57:BE:AE:2B:67:86:4C:65:9D:F9:19:EB:AC:50:4A:AE:C9:80"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "3B:26:2D:CD:85:55:89:01:17:48:14:D4:3C:CA:AB:EC:5A:05:17:D8"}, "authorityKeyIdentifier": {"critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90"}, "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": "20260213184958Z", "not_valid_before": "20250213184959Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472608.15-11010-214600696282737/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "3B:26:2D:CD:85:55:89:01:17:48:14:D4:3C:CA:AB:EC:5A:05:17:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:43:FB:33:5E:52:1C:47:45:8E:D7:8E:7E:90:6B:F5:CC:64:E2:92:DE:B7:B0:75:5D:5A:22:BF:B0:A8:96:64:E9:CE:31:94:5C:75:6F:1A:61:5A:FB:68:E7:82:19:D7:1C:5D:33:07:E0:DF:F3:8F:4B:7D:6D:B1:15:77:69:D2:F1:89:42:AD:15:DF:8E:6F:8F:EA:A8:95:28:1A:35:6D:72:80:5A:2F:30:07:91:D3:76:35:57:23:3B:92:59:75:40:23:7B:A7:C2:DE:AE:F7:98:1D:90:B7:FB:BD:07:FA:2D:64:17:89:31:45:56:33:1B:1C:C4:BC:4C:F2:7A:6F:86:FA:1A:A1:59:C3:C7:43:64:75:77:F8:2D:B2:F8:56:F2:8C:B9:23:59:C2:E7:05:6B:E2:AF:98:A3:EA:F5:9C:0F:02:A0:23:86:0A:0E:D8:5B:C9:3B:57:70:35:4D:75:34:C1:39:E5:70:E3:75:80:F5:AF:6A:61:67:25:07:AE:74:0B:D0:73:A8:BB:5F:2F:03:31:B7:79:B0:B1:53:5E:10:67:4D:EB:18:98:1A:A5:C0:59:2D:EC:50:2F:83:3B:28:77:49:7C:F0:C4:0B:E0:34:A5:C3:62:0E:BB:57:BE:AE:2B:67:86:4C:65:9D:F9:19:EB:AC:50:4A:AE:C9:80" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213184959Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.401) 0:00:29.082 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "3B:26:2D:CD:85:55:89:01:17:48:14:D4:3C:CA:AB:EC:5A:05:17:D8" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "BA:43:FB:33:5E:52:1C:47:45:8E:D7:8E:7E:90:6B:F5:CC:64:E2:92:DE:B7:B0:75:5D:5A:22:BF:B0:A8:96:64:E9:CE:31:94:5C:75:6F:1A:61:5A:FB:68:E7:82:19:D7:1C:5D:33:07:E0:DF:F3:8F:4B:7D:6D:B1:15:77:69:D2:F1:89:42:AD:15:DF:8E:6F:8F:EA:A8:95:28:1A:35:6D:72:80:5A:2F:30:07:91:D3:76:35:57:23:3B:92:59:75:40:23:7B:A7:C2:DE:AE:F7:98:1D:90:B7:FB:BD:07:FA:2D:64:17:89:31:45:56:33:1B:1C:C4:BC:4C:F2:7A:6F:86:FA:1A:A1:59:C3:C7:43:64:75:77:F8:2D:B2:F8:56:F2:8C:B9:23:59:C2:E7:05:6B:E2:AF:98:A3:EA:F5:9C:0F:02:A0:23:86:0A:0E:D8:5B:C9:3B:57:70:35:4D:75:34:C1:39:E5:70:E3:75:80:F5:AF:6A:61:67:25:07:AE:74:0B:D0:73:A8:BB:5F:2F:03:31:B7:79:B0:B1:53:5E:10:67:4D:EB:18:98:1A:A5:C0:59:2D:EC:50:2F:83:3B:28:77:49:7C:F0:C4:0B:E0:34:A5:C3:62:0E:BB:57:BE:AE:2B:67:86:4C:65:9D:F9:19:EB:AC:50:4A:AE:C9:80" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213184959Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.072) 0:00:29.155 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.080) 0:00:29.235 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.072) 0:00:29.308 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.074) 0:00:29.382 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.095) 0:00:29.478 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:08 -0500 (0:00:00.119) 0:00:29.597 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388 `" && echo ansible-tmp-1739472609.1-11147-140276008954388="` echo /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472609.1-11147-140276008954388=/root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpY4B4Fo TO /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/AnsiballZ_command.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpY4B4Fo /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/AnsiballZ_command.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/ /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:09.480561", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:09.437092", "stderr": "", "delta": "0:00:00.043469", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472609.1-11147-140276008954388/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.043469", "end": "2025-02-13 13:50:09.480561", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:09.437092" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:09 -0500 (0:00:00.544) 0:00:30.142 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Thursday 13 February 2025 13:50:09 -0500 (0:00:00.124) 0:00:30.267 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616 `" && echo ansible-tmp-1739472609.73-11174-90413031399616="` echo /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472609.73-11174-90413031399616=/root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpXE6Hq0 TO /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/AnsiballZ_setup.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpXE6Hq0 /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/AnsiballZ_setup.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/ /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 54490 22", "SSH_CONNECTION": "10.31.42.233 54490 10.31.42.143 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:e9:89:bb:8a:8b", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.143", "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": "382ab5b66b9d490c95705716cf7a0fd6", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2199EA-9AA6-522C-D712-FA192DB1E1D2", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::ce9:89ff:febb:8a8b"], "ansible_uptime_seconds": 302, "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": "ec2199ea-9aa6-522c-d712-fa192db1e1d2", "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:e9:89:bb:8a:8b", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.143"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::ce9:89ff:febb:8a8b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.143"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 844, "free": 2756}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 183, "free": 3417}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2756, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 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": "20250213T135010", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472610", "iso8601_micro": "2025-02-13T18:50:10.266965Z", "weekday": "Thursday", "time": "13:50:10", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:10Z", "day": "13", "iso8601_basic": "20250213T135010266965", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472609.73-11174-90413031399616/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.683) 0:00:30.950 ***** included: /tmp/collections-Fh9/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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.038) 0:00:30.989 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.048) 0:00:31.037 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.043) 0:00:31.081 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.054) 0:00:31.135 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:50:10 -0500 (0:00:00.135) 0:00:31.271 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657 `" && echo ansible-tmp-1739472610.9-11386-29495488885657="` echo /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472610.9-11386-29495488885657=/root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpQX5KWm TO /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpQX5KWm /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/ /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472610.9-11386-29495488885657/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:50:12 -0500 (0:00:01.878) 0:00:33.149 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553 `" && echo ansible-tmp-1739472612.69-11464-74376716562553="` echo /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472612.69-11464-74376716562553=/root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp9Mj_k6 TO /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp9Mj_k6 /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/ /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472612.69-11464-74376716562553/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:50:13 -0500 (0:00:00.587) 0:00:33.737 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027 `" && echo ansible-tmp-1739472613.22-11480-206034414463027="` echo /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472613.22-11480-206034414463027=/root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmph0RuNN TO /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/AnsiballZ_file.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmph0RuNN /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/AnsiballZ_file.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/ /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts"}, "before": {"path": "/etc/certmonger//pre-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472613.22-11480-206034414463027/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:50:13 -0500 (0:00:00.343) 0:00:34.081 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888 `" && echo ansible-tmp-1739472613.56-11489-125750057710888="` echo /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472613.56-11489-125750057710888=/root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpxc9GbF TO /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/AnsiballZ_file.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpxc9GbF /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/AnsiballZ_file.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/ /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/AnsiballZ_file.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts"}, "before": {"path": "/etc/certmonger//post-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472613.56-11489-125750057710888/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:50:13 -0500 (0:00:00.391) 0:00:34.473 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763 `" && echo ansible-tmp-1739472614.01-11510-120864147490763="` echo /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472614.01-11510-120864147490763=/root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4uQ3lP TO /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/AnsiballZ_systemd.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp4uQ3lP /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/AnsiballZ_systemd.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/ /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:49:57 EST] ; stop_time=[n/a] ; pid=9917 ; 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": "290145050", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "290145104", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 13:49:57 EST", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:57 EST", "WatchdogTimestamp": "Thu 2025-02-13 13:49:57 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "shutdown.target multi-user.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "290121298", "ExecMainPID": "9917", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:57 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": "290120336", "MainPID": "9917", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:57 EST", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "active", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "WantedBy": "multi-user.target", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "ConditionTimestamp": "Thu 2025-02-13 13:49:57 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": "290120338", "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": "290121268", "StandardError": "inherit", "LimitNICE": "0", "After": "dbus.service system.slice network.target syslog.target systemd-journald.socket basic.target", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "Transient": "no", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "ControlPID": "0", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "PrivateDevices": "no", "Id": "certmonger.service"}, "name": "certmonger", "changed": false, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472614.01-11510-120864147490763/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:57 EST", "ActiveEnterTimestampMonotonic": "290145104", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice network.target syslog.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:49:57 EST", "AssertTimestampMonotonic": "290120338", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:49:57 EST", "ConditionTimestampMonotonic": "290120336", "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": "9917", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:57 EST", "ExecMainStartTimestampMonotonic": "290121268", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:49:57 EST] ; stop_time=[n/a] ; pid=9917 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:57 EST", "InactiveExitTimestampMonotonic": "290121298", "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": "9917", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:49:57 EST", "WatchdogTimestampMonotonic": "290145050", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:50:14 -0500 (0:00:00.524) 0:00:34.997 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761 `" && echo ansible-tmp-1739472614.57-11539-199745143537761="` echo /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472614.57-11539-199745143537761=/root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpwqlvUs TO /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/AnsiballZ_certificate_request.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpwqlvUs /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/AnsiballZ_certificate_request.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/ /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472614.57-11539-199745143537761/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873 `" && echo ansible-tmp-1739472615.29-11539-9939433439873="` echo /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472615.29-11539-9939433439873=/root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpG8ICRr TO /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/AnsiballZ_certificate_request.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpG8ICRr /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/AnsiballZ_certificate_request.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/ /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.42.143> (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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472615.29-11539-9939433439873/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:50:16 -0500 (0:00:01.964) 0:00:36.962 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:50:16 -0500 (0:00:00.130) 0:00:37.092 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:50:16 -0500 (0:00:00.078) 0:00:37.171 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:50:16 -0500 (0:00:00.070) 0:00:37.241 ***** 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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Thursday 13 February 2025 13:50:16 -0500 (0:00:00.063) 0:00:37.305 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679 `" && echo ansible-tmp-1739472616.78-11631-81080249336679="` echo /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472616.78-11631-81080249336679=/root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp0JA13_ TO /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/AnsiballZ_setup.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp0JA13_ /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/AnsiballZ_setup.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/ /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 54490 22", "SSH_CONNECTION": "10.31.42.233 54490 10.31.42.143 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:e9:89:bb:8a:8b", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.42.143", "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": "382ab5b66b9d490c95705716cf7a0fd6", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2199EA-9AA6-522C-D712-FA192DB1E1D2", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::ce9:89ff:febb:8a8b"], "ansible_uptime_seconds": 309, "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": "ec2199ea-9aa6-522c-d712-fa192db1e1d2", "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:e9:89:bb:8a:8b", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.42.143"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::ce9:89ff:febb:8a8b"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.42.143"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 844, "free": 2756}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 183, "free": 3417}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2756, "ansible_processor_count": 1, "ansible_hostname": "managed-node2", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node2", "ansible_mounts": [{"block_used": 3203571, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287289, "size_available": 251032735744, "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": "20250213T135017", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472617", "iso8601_micro": "2025-02-13T18:50:17.235716Z", "weekday": "Thursday", "time": "13:50:17", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:17Z", "day": "13", "iso8601_basic": "20250213T135017235716", "second": "17"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472616.78-11631-81080249336679/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.681) 0:00:37.986 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.209) 0:00:38.196 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.044) 0:00:38.241 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.081) 0:00:38.322 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:17 -0500 (0:00:00.072) 0:00:38.395 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385 `" && echo ansible-tmp-1739472618.07-11766-24386090354385="` echo /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472618.07-11766-24386090354385=/root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpypBp0E TO /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpypBp0E /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/ /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472618.07-11766-24386090354385/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:18 -0500 (0:00:00.880) 0:00:39.275 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:18 -0500 (0:00:00.139) 0:00:39.415 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918 `" && echo ansible-tmp-1739472618.93-11853-133997666796918="` echo /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472618.93-11853-133997666796918=/root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmps5mDPO TO /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmps5mDPO /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/ /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472615.0898454, "block_size": 4096, "inode": 172749, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1008202402", "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": 1739472615.0928452, "isdir": false, "ctime": 1739472615.152845, "isblk": false, "wgrp": true, "checksum": "df52f21f9458bf7a9be4365438e656bcd8f7db2e", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472618.93-11853-133997666796918/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472615.0928452, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "df52f21f9458bf7a9be4365438e656bcd8f7db2e", "ctime": 1739472615.152845, "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": 1739472615.0898454, "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": "1008202402", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:19 -0500 (0:00:00.429) 0:00:39.845 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:19 -0500 (0:00:00.073) 0:00:39.918 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:19 -0500 (0:00:00.109) 0:00:40.028 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:19 -0500 (0:00:00.142) 0:00:40.171 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218 `" && echo ansible-tmp-1739472619.69-11894-85784640563218="` echo /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472619.69-11894-85784640563218=/root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpTHib74 TO /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpTHib74 /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/ /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472615.0898454, "block_size": 4096, "inode": 172748, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1008202389", "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": 1739472615.0488455, "isdir": false, "ctime": 1739472615.152845, "isblk": false, "wgrp": true, "checksum": "9fbc9e95fd29c2ec5bfaf19f3a3e43b27d5dd20d", "dev": 51713, "roth": false, "isfifo": false, "mode": "0620", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472619.69-11894-85784640563218/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472615.0488455, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9fbc9e95fd29c2ec5bfaf19f3a3e43b27d5dd20d", "ctime": 1739472615.152845, "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": 1739472615.0898454, "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": "1008202389", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.427) 0:00:40.598 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.072) 0:00:40.671 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.077) 0:00:40.748 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100 `" && echo ansible-tmp-1739472620.24-11922-14292405167100="` echo /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472620.24-11922-14292405167100=/root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpEbkKvf TO /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/AnsiballZ_certtojson.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpEbkKvf /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/AnsiballZ_certtojson.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/ /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "02:BB:79:B0:D2:F6:45:BA:BE:6B:35:D5:AA:EC:AF:63:C4:2E:2F:61:01:14:9D:BF:96:EC:BE:1D:42:24:36:4C:70:46:C5:CF:8A:39:A8:9D:80:9B:67:67:DC:DA:1D:FC:5E:6A:0F:EC:85:54:A0:38:80:8D:B7:B6:B5:12:7F:BF:68:1C:73:DA:BC:27:6F:1E:CF:A2:95:9A:93:F7:A9:88:D1:F0:04:FF:6D:E7:87:65:4E:EC:6D:BE:B5:C9:85:EF:3A:B6:E0:E7:D3:DA:A6:52:F1:5E:E2:C7:8D:94:81:B5:F7:AF:F0:36:D2:53:55:EC:95:0A:66:09:86:64:0E:F1:9C:3E:6A:31:D8:13:8C:80:E4:15:8D:5A:40:A4:37:70:98:72:54:15:4A:E3:0D:1D:20:33:21:E8:8D:B8:6D:8F:D3:46:FF:09:64:BD:2D:5E:3E:76:FB:CA:BA:AE:CE:C0:98:7F:DD:12:75:56:38:A8:A9:B6:56:AD:4A:08:55:EC:07:8D:66:F8:51:CF:55:3F:C5:BC:B1:98:6D:55:1A:A7:F8:6D:1C:24:62:52:C3:05:C0:AF:CF:DC:3A:9C:4E:A9:58:78:1A:E3:27:F3:CE:99:BA:3F:6F:56:30:93:C4:9F:3E:CB:44:DE:44:5F:97:33:41:74:54:43:D2:9C:1D:DD"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "C9:CE:27:2D:44:E6:C7:79:CA:F7:49:97:02:FF:4B:32:4A:20:47:E7"}, "authorityKeyIdentifier": {"critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90"}, "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": "20260213184958Z", "not_valid_before": "20250213185015Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472620.24-11922-14292405167100/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "C9:CE:27:2D:44:E6:C7:79:CA:F7:49:97:02:FF:4B:32:4A:20:47:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "02:BB:79:B0:D2:F6:45:BA:BE:6B:35:D5:AA:EC:AF:63:C4:2E:2F:61:01:14:9D:BF:96:EC:BE:1D:42:24:36:4C:70:46:C5:CF:8A:39:A8:9D:80:9B:67:67:DC:DA:1D:FC:5E:6A:0F:EC:85:54:A0:38:80:8D:B7:B6:B5:12:7F:BF:68:1C:73:DA:BC:27:6F:1E:CF:A2:95:9A:93:F7:A9:88:D1:F0:04:FF:6D:E7:87:65:4E:EC:6D:BE:B5:C9:85:EF:3A:B6:E0:E7:D3:DA:A6:52:F1:5E:E2:C7:8D:94:81:B5:F7:AF:F0:36:D2:53:55:EC:95:0A:66:09:86:64:0E:F1:9C:3E:6A:31:D8:13:8C:80:E4:15:8D:5A:40:A4:37:70:98:72:54:15:4A:E3:0D:1D:20:33:21:E8:8D:B8:6D:8F:D3:46:FF:09:64:BD:2D:5E:3E:76:FB:CA:BA:AE:CE:C0:98:7F:DD:12:75:56:38:A8:A9:B6:56:AD:4A:08:55:EC:07:8D:66:F8:51:CF:55:3F:C5:BC:B1:98:6D:55:1A:A7:F8:6D:1C:24:62:52:C3:05:C0:AF:CF:DC:3A:9C:4E:A9:58:78:1A:E3:27:F3:CE:99:BA:3F:6F:56:30:93:C4:9F:3E:CB:44:DE:44:5F:97:33:41:74:54:43:D2:9C:1D:DD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213185015Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.465) 0:00:41.214 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "C9:CE:27:2D:44:E6:C7:79:CA:F7:49:97:02:FF:4B:32:4A:20:47:E7" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "02:BB:79:B0:D2:F6:45:BA:BE:6B:35:D5:AA:EC:AF:63:C4:2E:2F:61:01:14:9D:BF:96:EC:BE:1D:42:24:36:4C:70:46:C5:CF:8A:39:A8:9D:80:9B:67:67:DC:DA:1D:FC:5E:6A:0F:EC:85:54:A0:38:80:8D:B7:B6:B5:12:7F:BF:68:1C:73:DA:BC:27:6F:1E:CF:A2:95:9A:93:F7:A9:88:D1:F0:04:FF:6D:E7:87:65:4E:EC:6D:BE:B5:C9:85:EF:3A:B6:E0:E7:D3:DA:A6:52:F1:5E:E2:C7:8D:94:81:B5:F7:AF:F0:36:D2:53:55:EC:95:0A:66:09:86:64:0E:F1:9C:3E:6A:31:D8:13:8C:80:E4:15:8D:5A:40:A4:37:70:98:72:54:15:4A:E3:0D:1D:20:33:21:E8:8D:B8:6D:8F:D3:46:FF:09:64:BD:2D:5E:3E:76:FB:CA:BA:AE:CE:C0:98:7F:DD:12:75:56:38:A8:A9:B6:56:AD:4A:08:55:EC:07:8D:66:F8:51:CF:55:3F:C5:BC:B1:98:6D:55:1A:A7:F8:6D:1C:24:62:52:C3:05:C0:AF:CF:DC:3A:9C:4E:A9:58:78:1A:E3:27:F3:CE:99:BA:3F:6F:56:30:93:C4:9F:3E:CB:44:DE:44:5F:97:33:41:74:54:43:D2:9C:1D:DD" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213185015Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.080) 0:00:41.295 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.074) 0:00:41.370 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.078) 0:00:41.448 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.068) 0:00:41.516 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:20 -0500 (0:00:00.059) 0:00:41.575 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.056) 0:00:41.631 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075 `" && echo ansible-tmp-1739472621.1-11968-169942156174075="` echo /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472621.1-11968-169942156174075=/root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpyiYaT5 TO /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/AnsiballZ_command.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpyiYaT5 /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/AnsiballZ_command.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/ /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:21.344002", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:21.297309", "stderr": "", "delta": "0:00:00.046693", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472621.1-11968-169942156174075/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.046693", "end": "2025-02-13 13:50:21.344002", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:21.297309" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.379) 0:00:42.011 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.078) 0:00:42.089 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.036) 0:00:42.126 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.064) 0:00:42.191 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:21 -0500 (0:00:00.073) 0:00:42.264 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095 `" && echo ansible-tmp-1739472621.82-12005-42711230945095="` echo /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472621.82-12005-42711230945095=/root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpfbReyf TO /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/AnsiballZ_yum.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpfbReyf /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/AnsiballZ_yum.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/ /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472621.82-12005-42711230945095/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.656) 0:00:42.920 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.063) 0:00:42.984 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689 `" && echo ansible-tmp-1739472622.47-12043-147855843902689="` echo /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472622.47-12043-147855843902689=/root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpBBPCBl TO /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpBBPCBl /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/ /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472616.1308372, "block_size": 4096, "inode": 172751, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "1008202441", "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": 1739472616.1338372, "isdir": false, "ctime": 1739472616.1308372, "isblk": false, "wgrp": false, "checksum": "2a3c8908536236d91346d0046c7a6cb79923dff8", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472622.47-12043-147855843902689/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472616.1338372, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2a3c8908536236d91346d0046c7a6cb79923dff8", "ctime": 1739472616.1308372, "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": 1739472616.1308372, "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": "1008202441", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.459) 0:00:43.443 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.049) 0:00:43.493 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:50:22 -0500 (0:00:00.056) 0:00:43.549 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.058) 0:00:43.608 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411 `" && echo ansible-tmp-1739472623.08-12074-54006537301411="` echo /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472623.08-12074-54006537301411=/root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpGUnF6h TO /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/AnsiballZ_stat.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpGUnF6h /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/AnsiballZ_stat.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/ /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.42.143> (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": 1739472616.1308372, "block_size": 4096, "inode": 172750, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "1008202428", "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": 1739472616.0908375, "isdir": false, "ctime": 1739472616.1308372, "isblk": false, "wgrp": false, "checksum": "37ac7631958dc2644cbb32e87e320d58e50cfacc", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472623.08-12074-54006537301411/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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": 1739472616.0908375, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "37ac7631958dc2644cbb32e87e320d58e50cfacc", "ctime": 1739472616.1308372, "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": 1739472616.1308372, "nlink": 1, "path": "/etc/pki/tls/private/certid_mode.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "1008202428", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.402) 0:00:44.011 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.065) 0:00:44.076 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:50:23 -0500 (0:00:00.056) 0:00:44.133 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083 `" && echo ansible-tmp-1739472623.62-12113-268156843335083="` echo /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472623.62-12113-268156843335083=/root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmpSHad_X TO /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/AnsiballZ_certtojson.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmpSHad_X /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/AnsiballZ_certtojson.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/ /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "AD:5D:1A:BD:47:C6:FA:85:77:CC:24:E9:A2:98:41:34:C8:2F:7D:ED:F4:E1:1B:90:C6:5E:29:51:C5:9A:4C:F1:67:78:1A:2C:82:74:33:2D:BE:12:6E:C0:A0:9D:B6:D3:7B:D8:A8:0E:CA:CB:D0:D0:8E:BA:45:29:34:DF:01:28:92:A5:EB:7D:0D:ED:87:5F:D4:05:C4:E7:05:F2:F5:79:3A:94:24:51:DC:E5:12:B8:9D:9C:40:87:64:9A:CA:1E:8B:53:FE:C4:10:50:F5:65:E6:67:18:0E:FA:FF:73:92:90:BF:1A:84:FD:F5:0B:D9:B0:68:10:63:92:4D:DF:60:8A:0B:58:02:A4:D8:B8:62:A0:18:35:50:64:6A:75:5A:1B:85:8B:4F:A9:AD:8C:56:62:1E:87:BB:FE:45:EA:D9:92:29:B8:EB:A6:F4:64:4D:DC:23:F9:71:14:4C:44:E1:72:15:CA:84:00:B6:65:B9:3A:1A:26:2E:5D:85:CF:4B:9A:36:FE:87:DB:C5:59:01:9A:E5:13:7E:C1:60:1A:01:D7:11:62:66:0F:D2:85:AF:3A:2D:59:1B:30:C4:CA:83:5A:54:C8:7B:96:6A:C7:D8:85:54:7D:3A:4C:C2:44:25:94:7B:99:B7:51:20:CF:C6:D6:89:F2:C8:42:1E:9B:B2"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "EA:BB:26:88:22:04:AC:F4:01:C1:7A:84:42:01:B2:6E:F8:2B:4F:01"}, "authorityKeyIdentifier": {"critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90"}, "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": "20260213184958Z", "not_valid_before": "20250213185016Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472623.62-12113-268156843335083/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (0, '', '') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "EA:BB:26:88:22:04:AC:F4:01:C1:7A:84:42:01:B2:6E:F8:2B:4F:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AD:5D:1A:BD:47:C6:FA:85:77:CC:24:E9:A2:98:41:34:C8:2F:7D:ED:F4:E1:1B:90:C6:5E:29:51:C5:9A:4C:F1:67:78:1A:2C:82:74:33:2D:BE:12:6E:C0:A0:9D:B6:D3:7B:D8:A8:0E:CA:CB:D0:D0:8E:BA:45:29:34:DF:01:28:92:A5:EB:7D:0D:ED:87:5F:D4:05:C4:E7:05:F2:F5:79:3A:94:24:51:DC:E5:12:B8:9D:9C:40:87:64:9A:CA:1E:8B:53:FE:C4:10:50:F5:65:E6:67:18:0E:FA:FF:73:92:90:BF:1A:84:FD:F5:0B:D9:B0:68:10:63:92:4D:DF:60:8A:0B:58:02:A4:D8:B8:62:A0:18:35:50:64:6A:75:5A:1B:85:8B:4F:A9:AD:8C:56:62:1E:87:BB:FE:45:EA:D9:92:29:B8:EB:A6:F4:64:4D:DC:23:F9:71:14:4C:44:E1:72:15:CA:84:00:B6:65:B9:3A:1A:26:2E:5D:85:CF:4B:9A:36:FE:87:DB:C5:59:01:9A:E5:13:7E:C1:60:1A:01:D7:11:62:66:0F:D2:85:AF:3A:2D:59:1B:30:C4:CA:83:5A:54:C8:7B:96:6A:C7:D8:85:54:7D:3A:4C:C2:44:25:94:7B:99:B7:51:20:CF:C6:D6:89:F2:C8:42:1E:9B:B2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213185016Z" } }, "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-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.559) 0:00:44.692 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "71:1E:58:4A:24:90:87:8F:66:3D:24:B7:95:B6:C3:D9:40:05:ED:90" }, "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": "EA:BB:26:88:22:04:AC:F4:01:C1:7A:84:42:01:B2:6E:F8:2B:4F:01" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "AD:5D:1A:BD:47:C6:FA:85:77:CC:24:E9:A2:98:41:34:C8:2F:7D:ED:F4:E1:1B:90:C6:5E:29:51:C5:9A:4C:F1:67:78:1A:2C:82:74:33:2D:BE:12:6E:C0:A0:9D:B6:D3:7B:D8:A8:0E:CA:CB:D0:D0:8E:BA:45:29:34:DF:01:28:92:A5:EB:7D:0D:ED:87:5F:D4:05:C4:E7:05:F2:F5:79:3A:94:24:51:DC:E5:12:B8:9D:9C:40:87:64:9A:CA:1E:8B:53:FE:C4:10:50:F5:65:E6:67:18:0E:FA:FF:73:92:90:BF:1A:84:FD:F5:0B:D9:B0:68:10:63:92:4D:DF:60:8A:0B:58:02:A4:D8:B8:62:A0:18:35:50:64:6A:75:5A:1B:85:8B:4F:A9:AD:8C:56:62:1E:87:BB:FE:45:EA:D9:92:29:B8:EB:A6:F4:64:4D:DC:23:F9:71:14:4C:44:E1:72:15:CA:84:00:B6:65:B9:3A:1A:26:2E:5D:85:CF:4B:9A:36:FE:87:DB:C5:59:01:9A:E5:13:7E:C1:60:1A:01:D7:11:62:66:0F:D2:85:AF:3A:2D:59:1B:30:C4:CA:83:5A:54:C8:7B:96:6A:C7:D8:85:54:7D:3A:4C:C2:44:25:94:7B:99:B7:51:20:CF:C6:D6:89:F2:C8:42:1E:9B:B2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184958Z", "not_valid_before": "20250213185016Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.065) 0:00:44.758 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.071) 0:00:44.829 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.112) 0:00:44.942 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.085) 0:00:45.027 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.076) 0:00:45.104 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:50:24 -0500 (0:00:00.124) 0:00:45.229 ***** <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.42.143> (0, '/root\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512 `" && echo ansible-tmp-1739472624.81-12183-230459281152512="` echo /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512 `" ) && sleep 0'"'"'' <10.31.42.143> (0, 'ansible-tmp-1739472624.81-12183-230459281152512=/root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.42.143> PUT /root/.ansible/tmp/ansible-local-9839GoVs42/tmp7nTjHs TO /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/AnsiballZ_command.py <10.31.42.143> 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/7bbb3ae84b '[10.31.42.143]' <10.31.42.143> (0, 'sftp> put /root/.ansible/tmp/ansible-local-9839GoVs42/tmp7nTjHs /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/AnsiballZ_command.py\n', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/ /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '', '') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b -tt 10.31.42.143 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/AnsiballZ_command.py && sleep 0'"'"'' <10.31.42.143> (0, '\r\n{"changed": true, "end": "2025-02-13 13:50:25.104875", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:50:25.058716", "stderr": "", "delta": "0:00:00.046159", "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.42.143 closed.\r\n') <10.31.42.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.42.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/7bbb3ae84b 10.31.42.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472624.81-12183-230459281152512/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.42.143> (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.046159", "end": "2025-02-13 13:50:25.104875", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:50:25.058716" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.538) 0:00:45.767 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=101 changed=9 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Thursday 13 February 2025 13:50:25 -0500 (0:00:00.097) 0:00:45.865 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 8.03s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 4.56s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 2.13s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.96s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.88s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 1.02s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Ensure python3 is installed --------------------------------------------- 0.88s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.85s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.80s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Ensure python3 is installed --------------------------------------------- 0.78s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Ensure user exists ------------------------------------------------------ 0.71s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Ensure python3 is installed --------------------------------------------- 0.69s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.68s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.68s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.67s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Ensure python3 is installed --------------------------------------------- 0.66s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Gathering Facts --------------------------------------------------------- 0.59s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.59s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Parse certificate ------------------------------------------------------- 0.56s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86