ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-NUj.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-NUj.yml as it did not pass its verify_file() method Parsed /tmp/inventory-NUj.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-Wys/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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Tuesday 11 February 2025 17:23:40 -0500 (0:00:00.020) 0:00:00.020 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810 `" && echo ansible-tmp-1739312620.0435436-8958-130262998717810="` echo /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312620.0435436-8958-130262998717810=/root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810\n', b'') Attempting python interpreter discovery <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/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.40.153> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.40.153> (0, b'{"platform_dist_result": ["centos", "8", ""], "osrelease_content": "NAME=\\"CentOS Stream\\"\\nVERSION=\\"8\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"8\\"\\nPLATFORM_ID=\\"platform:el8\\"\\nPRETTY_NAME=\\"CentOS Stream 8\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:8\\"\\nHOME_URL=\\"https://centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugzilla.redhat.com/\\"\\nREDHAT_SUPPORT_PRODUCT=\\"Red Hat Enterprise Linux 8\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"CentOS Stream\\"\\n"}\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpvafsf0qm TO /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpvafsf0qm /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/ /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_iscsi_iqn": "", "ansible_is_chroot": false, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_lsb": {}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "23", "second": "40", "epoch": "1739312620", "date": "2025-02-11", "time": "17:23:40", "iso8601_micro": "2025-02-11T22:23:40.782988Z", "iso8601": "2025-02-11T22:23:40Z", "iso8601_basic": "20250211T172340782988", "iso8601_basic_short": "20250211T172340", "tz": "EST", "tz_offset": "-0500"}, "ansible_fips": false, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_apparmor": {"status": "disabled"}, "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2763, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 776, "free": 2763}, "nocache": {"free": 3310, "used": 229}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 291, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263553974272, "block_size": 4096, "block_total": 65533179, "block_available": 64344232, "block_used": 1188947, "inode_total": 131071472, "inode_available": 130995967, "inode_used": 75505, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_local": {}, "ansible_pkg_mgr": "dnf", "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_hostnqn": "", "ansible_fibre_channel_wwn": [], "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.46.166 55142 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_interfaces": ["lo", "eth0"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312620.0435436-8958-130262998717810/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Tuesday 11 February 2025 17:23:40 -0500 (0:00:00.986) 0:00:01.006 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580 `" && echo ansible-tmp-1739312621.025359-8989-111431904367580="` echo /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312621.025359-8989-111431904367580=/root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/user.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsx9rjd56 TO /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/AnsiballZ_user.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsx9rjd56 /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/AnsiballZ_user.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/ /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/AnsiballZ_user.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/AnsiballZ_user.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"name": "user1", "state": "present", "system": false, "create_home": true, "changed": true, "uid": 1040, "group": 1040, "comment": "", "home": "/home/user1", "shell": "/bin/bash", "invocation": {"module_args": {"name": "user1", "uid": 1040, "state": "present", "non_unique": false, "force": false, "remove": false, "create_home": true, "system": false, "move_home": false, "append": false, "ssh_key_bits": 0, "ssh_key_type": "rsa", "ssh_key_comment": "ansible-generated on managed-node2", "update_password": "always", "group": null, "groups": null, "comment": null, "home": null, "shell": null, "password": null, "login_class": null, "hidden": null, "seuser": null, "skeleton": null, "generate_ssh_key": null, "ssh_key_file": null, "ssh_key_passphrase": null, "expires": null, "password_lock": null, "local": null, "profile": null, "authorization": null, "role": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312621.025359-8989-111431904367580/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Tuesday 11 February 2025 17:23:41 -0500 (0:00:00.570) 0:00:01.576 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655 `" && echo ansible-tmp-1739312621.5982862-9005-85680507265655="` echo /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312621.5982862-9005-85680507265655=/root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/group.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp3e2g4tjw TO /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/AnsiballZ_group.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp3e2g4tjw /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/AnsiballZ_group.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/ /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/AnsiballZ_group.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/AnsiballZ_group.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"name": "somegroup", "state": "present", "changed": true, "system": false, "gid": 1041, "invocation": {"module_args": {"name": "somegroup", "gid": 1041, "state": "present", "system": false, "local": false, "non_unique": false}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312621.5982862-9005-85680507265655/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Tuesday 11 February 2025 17:23:42 -0500 (0:00:00.475) 0:00:02.052 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203 `" && echo ansible-tmp-1739312622.070371-9016-259709895538203="` echo /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312622.070371-9016-259709895538203=/root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpr4aror55 TO /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpr4aror55 /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/ /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_fibre_channel_wwn": [], "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.46.166 55142 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "23", "second": "42", "epoch": "1739312622", "date": "2025-02-11", "time": "17:23:42", "iso8601_micro": "2025-02-11T22:23:42.423654Z", "iso8601": "2025-02-11T22:23:42Z", "iso8601_basic": "20250211T172342423654", "iso8601_basic_short": "20250211T172342", "tz": "EST", "tz_offset": "-0500"}, "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_is_chroot": false, "ansible_lsb": {}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_apparmor": {"status": "disabled"}, "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2760, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 779, "free": 2760}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 293, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263553830912, "block_size": 4096, "block_total": 65533179, "block_available": 64344197, "block_used": 1188982, "inode_total": 131071472, "inode_available": 130995960, "inode_used": 75512, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_local": {}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_hostnqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_interfaces": ["lo", "eth0"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_iscsi_iqn": "", "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_pkg_mgr": "dnf", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312622.070371-9016-259709895538203/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 11 February 2025 17:23:42 -0500 (0:00:00.598) 0:00:02.650 ****** included: /tmp/collections-Wys/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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 11 February 2025 17:23:42 -0500 (0:00:00.020) 0:00:02.670 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 11 February 2025 17:23:42 -0500 (0:00:00.035) 0:00:02.706 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873 `" && echo ansible-tmp-1739312622.748259-9036-104203884825873="` echo /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312622.748259-9036-104203884825873=/root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp9puk6gw7 TO /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp9puk6gw7 /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/ /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312622.748259-9036-104203884825873/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 11 February 2025 17:23:43 -0500 (0:00:00.431) 0:00:03.138 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Tuesday 11 February 2025 17:23:43 -0500 (0:00:00.054) 0:00:03.192 ****** 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" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 11 February 2025 17:23:43 -0500 (0:00:00.060) 0:00:03.253 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922 `" && echo ansible-tmp-1739312623.3472147-9054-8065834925922="` echo /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312623.3472147-9054-8065834925922=/root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpgee6xgvk TO /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpgee6xgvk /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/ /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-pyasn1", "python3-cryptography", "python3-dbus"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312623.3472147-9054-8065834925922/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Tuesday 11 February 2025 17:23:46 -0500 (0:00:02.988) 0:00:06.241 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394 `" && echo ansible-tmp-1739312626.375219-9294-176216988707394="` echo /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312626.375219-9294-176216988707394=/root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsrk31856 TO /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsrk31856 /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/ /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["certmonger"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312626.375219-9294-176216988707394/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Tuesday 11 February 2025 17:23:49 -0500 (0:00:02.918) 0:00:09.160 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233 `" && echo ansible-tmp-1739312629.2187588-9432-18605556411233="` echo /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312629.2187588-9432-18605556411233=/root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4r4c0aih TO /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4r4c0aih /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/ /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"path": "/etc/certmonger//pre-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//pre-scripts"}, "after": {"path": "/etc/certmonger//pre-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//pre-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//pre-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312629.2187588-9432-18605556411233/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Tuesday 11 February 2025 17:23:49 -0500 (0:00:00.503) 0:00:09.664 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440 `" && echo ansible-tmp-1739312629.7631097-9455-240183862846440="` echo /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312629.7631097-9455-240183862846440=/root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmppfckmfyu TO /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmppfckmfyu /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/ /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"path": "/etc/certmonger//post-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//post-scripts"}, "after": {"path": "/etc/certmonger//post-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//post-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//post-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312629.7631097-9455-240183862846440/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Tuesday 11 February 2025 17:23:50 -0500 (0:00:00.435) 0:00:10.100 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712 `" && echo ansible-tmp-1739312630.1529171-9475-39349196486712="` echo /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312630.1529171-9475-39349196486712=/root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/systemd.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpur8ixaps TO /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/AnsiballZ_systemd.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpur8ixaps /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/AnsiballZ_systemd.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/ /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"name": "certmonger", "changed": false, "status": {"Type": "dbus", "Restart": "no", "PIDFile": "/run/certmonger.pid", "NotifyAccess": "none", "RestartUSec": "100ms", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "RuntimeMaxUSec": "infinity", "WatchdogUSec": "0", "WatchdogTimestamp": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8641", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8641", "ExecMainCode": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3096576", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22405", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "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 cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "dbus.socket system.slice sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "shutdown.target multi-user.target", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "InactiveExitTimestamp": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "ActiveEnterTimestamp": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "ActiveExitTimestampMonotonic": "0", "InactiveEnterTimestampMonotonic": "0", "CanStart": "yes", "CanStop": "yes", "CanReload": "no", "CanIsolate": "no", "CanFreeze": "yes", "StopWhenUnneeded": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "AllowIsolate": "no", "DefaultDependencies": "yes", "OnFailureJobMode": "replace", "IgnoreOnIsolate": "no", "NeedDaemonReload": "no", "JobTimeoutUSec": "infinity", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "ConditionResult": "yes", "AssertResult": "yes", "ConditionTimestamp": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "no_block": false, "force": null, "masked": null, "user": null, "scope": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312630.1529171-9475-39349196486712/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "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 cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8641", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8641", "MemoryAccounting": "yes", "MemoryCurrent": "3096576", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Tuesday 11 February 2025 17:23:50 -0500 (0:00:00.715) 0:00:10.815 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516 `" && echo ansible-tmp-1739312630.8925233-9491-91169744680516="` echo /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312630.8925233-9491-91169744680516=/root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpmbaggpc_ TO /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpmbaggpc_ /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/ /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"name": "mycert_fs_attrs", "dns": ["www.example.com"], "owner": "ftp", "group": "ftp", "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312630.8925233-9491-91169744680516/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') changed: [managed-node2] => (item={'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}) => { "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.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355 `" && echo ansible-tmp-1739312631.731372-9491-81548260213355="` echo /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312631.731372-9491-81548260213355=/root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpnur_wgw5 TO /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpnur_wgw5 /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/ /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"name": "certid", "dns": ["www.example.com"], "owner": "1040", "group": "1041", "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312631.731372-9491-81548260213355/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') changed: [managed-node2] => (item={'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}) => { "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Tuesday 11 February 2025 17:23:52 -0500 (0:00:01.608) 0:00:12.424 ****** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "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=['cert', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "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=['key', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "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=['key', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "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=['ca', {'name': 'mycert_fs_attrs', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'ca': 'self-sign'}]) => { "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=['ca', {'name': 'certid', 'dns': 'www.example.com', 'owner': 1040, 'group': 1041, 'ca': 'self-sign'}]) => { "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 11 February 2025 17:23:52 -0500 (0:00:00.065) 0:00:12.490 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Tuesday 11 February 2025 17:23:52 -0500 (0:00:00.045) 0:00:12.535 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Tuesday 11 February 2025 17:23:52 -0500 (0:00:00.048) 0:00:12.583 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Tuesday 11 February 2025 17:23:52 -0500 (0:00:00.057) 0:00:12.640 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392 `" && echo ansible-tmp-1739312632.6690907-9536-93104992376392="` echo /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312632.6690907-9536-93104992376392=/root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsqdl61sg TO /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsqdl61sg /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/ /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_hostnqn": "", "ansible_local": {}, "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_lsb": {}, "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2759, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 780, "free": 2759}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 304, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263554097152, "block_size": 4096, "block_total": 65533179, "block_available": 64344262, "block_used": 1188917, "inode_total": 131071472, "inode_available": 130995954, "inode_used": 75518, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.46.166 55142 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_iscsi_iqn": "", "ansible_fips": false, "ansible_is_chroot": false, "ansible_apparmor": {"status": "disabled"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "23", "second": "53", "epoch": "1739312633", "date": "2025-02-11", "time": "17:23:53", "iso8601_micro": "2025-02-11T22:23:53.191720Z", "iso8601": "2025-02-11T22:23:53Z", "iso8601_basic": "20250211T172353191720", "iso8601_basic_short": "20250211T172353", "tz": "EST", "tz_offset": "-0500"}, "ansible_fibre_channel_wwn": [], "ansible_interfaces": ["eth0", "lo"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_pkg_mgr": "dnf", "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312632.6690907-9536-93104992376392/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.679) 0:00:13.320 ****** included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.109) 0:00:13.429 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.024) 0:00:13.454 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.059) 0:00:13.514 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.062) 0:00:13.577 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:23:53 -0500 (0:00:00.050) 0:00:13.627 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443 `" && echo ansible-tmp-1739312633.738241-9619-100038090971443="` echo /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312633.738241-9619-100038090971443=/root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpfxcl_5uk TO /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpfxcl_5uk /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/ /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312633.738241-9619-100038090971443/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:23:56 -0500 (0:00:02.923) 0:00:16.551 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237 `" && echo ansible-tmp-1739312636.5979784-9835-71877566764237="` echo /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312636.5979784-9835-71877566764237=/root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmphjx8gw14 TO /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmphjx8gw14 /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/ /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "mode": "0640", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 14, "gid": 50, "size": 1294, "inode": 7718636, "dev": 51713, "nlink": 1, "atime": 1739312631.4569764, "mtime": 1739312631.4549763, "ctime": 1739312631.6089768, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": true, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "ftp", "gr_name": "ftp", "checksum": "a4332f5a3ffd0d344935238a9afac9d21caa7523", "mimetype": "text/plain", "charset": "us-ascii", "version": "2734578733", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312636.5979784-9835-71877566764237/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312631.4569764, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "a4332f5a3ffd0d344935238a9afac9d21caa7523", "ctime": 1739312631.6089768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 7718636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739312631.4549763, "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": "2734578733", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:23:56 -0500 (0:00:00.383) 0:00:16.935 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:23:56 -0500 (0:00:00.041) 0:00:16.977 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:23:57 -0500 (0:00:00.059) 0:00:17.036 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:23:57 -0500 (0:00:00.064) 0:00:17.101 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636 `" && echo ansible-tmp-1739312637.1604385-9867-217057520332636="` echo /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312637.1604385-9867-217057520332636=/root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp0m9bviz3 TO /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp0m9bviz3 /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/ /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_fs_attrs.key", "mode": "0640", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 14, "gid": 50, "size": 1704, "inode": 7718635, "dev": 51713, "nlink": 1, "atime": 1739312631.4139762, "mtime": 1739312631.4549763, "ctime": 1739312631.6089768, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": true, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "ftp", "gr_name": "ftp", "checksum": "7de2296be24722131af06877d117b390042c387b", "mimetype": "text/plain", "charset": "us-ascii", "version": "1313739558", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_fs_attrs.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312637.1604385-9867-217057520332636/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312631.4139762, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "7de2296be24722131af06877d117b390042c387b", "ctime": 1739312631.6089768, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 7718635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739312631.4549763, "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": "1313739558", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:23:57 -0500 (0:00:00.398) 0:00:17.499 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:23:57 -0500 (0:00:00.038) 0:00:17.538 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:23:57 -0500 (0:00:00.041) 0:00:17.579 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261 `" && echo ansible-tmp-1739312637.6212556-9884-190391801464261="` echo /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312637.6212556-9884-190391801464261=/root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpo2dle_wx TO /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpo2dle_wx /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/ /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222351Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "36:6B:FF:FD:1B:F6:73:BB:30:22:0A:79:B6:80:7A:44:20:65:F1:10:31:E9:6F:3B:1D:68:C3:5B:C9:4E:A9:EB:E1:8E:38:45:EE:B2:08:8F:39:97:E4:BC:30:D3:A8:18:8A:6A:69:E6:BC:F0:6E:B2:58:22:4A:C1:F8:93:2A:30:77:19:21:8F:D4:A9:7F:49:AC:E7:A2:53:A0:ED:A0:3E:D6:3E:08:37:57:8C:15:0D:C1:F0:EF:A8:42:38:E5:37:C2:F8:FC:6B:9A:22:E9:2E:18:94:B2:7B:79:65:73:43:5D:3E:8F:5C:8E:55:55:F0:65:54:DF:18:B7:AF:71:00:A6:F0:59:63:E9:11:C7:CD:CC:0A:A5:3A:FC:82:1C:CD:95:ED:48:4C:A3:0C:37:6C:3E:69:F7:20:54:02:E0:E8:81:40:01:AF:19:D7:E7:9C:09:DD:7C:38:FF:D4:2B:88:F4:36:C2:80:1D:FF:E0:68:F6:72:9E:71:D3:B0:69:B1:83:BF:F7:05:B7:48:0C:A8:72:FF:91:55:29:F1:34:D4:E7:D8:98:9F:FA:E6:BE:58:4A:0D:9C:31:D2:CD:D9:BB:B0:07:A5:AA:DC:D7:90:66:42:02:11:85:1D:14:EA:10:EE:B9:65:2F:88:1D:40:98:37:50:A8:48:01:7B:AF:70"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "EA:08:ED:43:9F:73:47:CD:A9:6A:10:02:2C:72:02:66:F1:47:73:6F"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312637.6212556-9884-190391801464261/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EA:08:ED:43:9F:73:47:CD:A9:6A:10:02:2C:72:02:66:F1:47:73:6F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:6B:FF:FD:1B:F6:73:BB:30:22:0A:79:B6:80:7A:44:20:65:F1:10:31:E9:6F:3B:1D:68:C3:5B:C9:4E:A9:EB:E1:8E:38:45:EE:B2:08:8F:39:97:E4:BC:30:D3:A8:18:8A:6A:69:E6:BC:F0:6E:B2:58:22:4A:C1:F8:93:2A:30:77:19:21:8F:D4:A9:7F:49:AC:E7:A2:53:A0:ED:A0:3E:D6:3E:08:37:57:8C:15:0D:C1:F0:EF:A8:42:38:E5:37:C2:F8:FC:6B:9A:22:E9:2E:18:94:B2:7B:79:65:73:43:5D:3E:8F:5C:8E:55:55:F0:65:54:DF:18:B7:AF:71:00:A6:F0:59:63:E9:11:C7:CD:CC:0A:A5:3A:FC:82:1C:CD:95:ED:48:4C:A3:0C:37:6C:3E:69:F7:20:54:02:E0:E8:81:40:01:AF:19:D7:E7:9C:09:DD:7C:38:FF:D4:2B:88:F4:36:C2:80:1D:FF:E0:68:F6:72:9E:71:D3:B0:69:B1:83:BF:F7:05:B7:48:0C:A8:72:FF:91:55:29:F1:34:D4:E7:D8:98:9F:FA:E6:BE:58:4A:0D:9C:31:D2:CD:D9:BB:B0:07:A5:AA:DC:D7:90:66:42:02:11:85:1D:14:EA:10:EE:B9:65:2F:88:1D:40:98:37:50:A8:48:01:7B:AF:70" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222351Z" } }, "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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.524) 0:00:18.104 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "EA:08:ED:43:9F:73:47:CD:A9:6A:10:02:2C:72:02:66:F1:47:73:6F" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "36:6B:FF:FD:1B:F6:73:BB:30:22:0A:79:B6:80:7A:44:20:65:F1:10:31:E9:6F:3B:1D:68:C3:5B:C9:4E:A9:EB:E1:8E:38:45:EE:B2:08:8F:39:97:E4:BC:30:D3:A8:18:8A:6A:69:E6:BC:F0:6E:B2:58:22:4A:C1:F8:93:2A:30:77:19:21:8F:D4:A9:7F:49:AC:E7:A2:53:A0:ED:A0:3E:D6:3E:08:37:57:8C:15:0D:C1:F0:EF:A8:42:38:E5:37:C2:F8:FC:6B:9A:22:E9:2E:18:94:B2:7B:79:65:73:43:5D:3E:8F:5C:8E:55:55:F0:65:54:DF:18:B7:AF:71:00:A6:F0:59:63:E9:11:C7:CD:CC:0A:A5:3A:FC:82:1C:CD:95:ED:48:4C:A3:0C:37:6C:3E:69:F7:20:54:02:E0:E8:81:40:01:AF:19:D7:E7:9C:09:DD:7C:38:FF:D4:2B:88:F4:36:C2:80:1D:FF:E0:68:F6:72:9E:71:D3:B0:69:B1:83:BF:F7:05:B7:48:0C:A8:72:FF:91:55:29:F1:34:D4:E7:D8:98:9F:FA:E6:BE:58:4A:0D:9C:31:D2:CD:D9:BB:B0:07:A5:AA:DC:D7:90:66:42:02:11:85:1D:14:EA:10:EE:B9:65:2F:88:1D:40:98:37:50:A8:48:01:7B:AF:70" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222351Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.040) 0:00:18.144 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.040) 0:00:18.185 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.039) 0:00:18.224 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.039) 0:00:18.264 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.045) 0:00:18.309 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.045) 0:00:18.354 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610 `" && echo ansible-tmp-1739312638.3992753-9912-51318700549610="` echo /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312638.3992753-9912-51318700549610=/root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp6g5wfp_j TO /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp6g5wfp_j /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/ /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-11 17:23:58.750679", "end": "2025-02-11 17:23:58.798091", "delta": "0:00:00.047412", "changed": true, "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, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312638.3992753-9912-51318700549610/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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.047412", "end": "2025-02-11 17:23:58.798091", "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-11 17:23:58.750679" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.510) 0:00:18.865 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.050) 0:00:18.915 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.017) 0:00:18.933 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.035) 0:00:18.969 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:23:58 -0500 (0:00:00.033) 0:00:19.002 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:23:59 -0500 (0:00:00.034) 0:00:19.037 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711 `" && echo ansible-tmp-1739312639.1173465-9938-244153926402711="` echo /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312639.1173465-9938-244153926402711=/root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpq7j_es3_ TO /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpq7j_es3_ /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/ /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312639.1173465-9938-244153926402711/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:24:01 -0500 (0:00:02.839) 0:00:21.877 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173 `" && echo ansible-tmp-1739312641.9211185-9970-11083411132173="` echo /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312641.9211185-9970-11083411132173=/root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpq8ayezzs TO /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpq8ayezzs /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/ /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/certid.crt", "mode": "0640", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1040, "gid": 1041, "size": 1294, "inode": 7718638, "dev": 51713, "nlink": 1, "atime": 1739312632.245978, "mtime": 1739312632.243978, "ctime": 1739312632.3419783, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": true, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "user1", "gr_name": "somegroup", "checksum": "ecf314fffa96d5fc7294216fa49d2320f3979ed3", "mimetype": "text/plain", "charset": "us-ascii", "version": "1805703219", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/certid.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312641.9211185-9970-11083411132173/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312632.245978, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "ecf314fffa96d5fc7294216fa49d2320f3979ed3", "ctime": 1739312632.3419783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 7718638, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739312632.243978, "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": "1805703219", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.377) 0:00:22.254 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.039) 0:00:22.294 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.068) 0:00:22.362 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.084) 0:00:22.447 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784 `" && echo ansible-tmp-1739312642.4931035-9992-235165925991784="` echo /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312642.4931035-9992-235165925991784=/root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpijpide6q TO /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpijpide6q /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/ /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/certid.key", "mode": "0640", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 1040, "gid": 1041, "size": 1704, "inode": 7718637, "dev": 51713, "nlink": 1, "atime": 1739312632.202978, "mtime": 1739312632.243978, "ctime": 1739312632.3419783, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": true, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "user1", "gr_name": "somegroup", "checksum": "673f577c475868b28c5af8be828650aa55ae4f72", "mimetype": "text/plain", "charset": "us-ascii", "version": "2373927058", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/certid.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312642.4931035-9992-235165925991784/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312632.202978, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "673f577c475868b28c5af8be828650aa55ae4f72", "ctime": 1739312632.3419783, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 1041, "gr_name": "somegroup", "inode": 7718637, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1739312632.243978, "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": "2373927058", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.393) 0:00:22.840 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.050) 0:00:22.891 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:24:02 -0500 (0:00:00.048) 0:00:22.940 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632 `" && echo ansible-tmp-1739312642.9842677-10013-6576789056632="` echo /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312642.9842677-10013-6576789056632=/root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpvf7uqmhx TO /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpvf7uqmhx /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/ /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222352Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "7C:E0:65:1B:F2:59:DF:AD:08:B5:4E:5C:9E:72:B8:6F:97:72:1A:11:D5:2A:99:5A:B2:B2:1F:03:EA:B6:F8:24:8C:B0:53:0F:43:6F:4C:2A:21:56:3E:D4:9E:8A:E4:46:88:BB:47:E3:56:C2:C6:BE:F9:BC:9C:74:72:45:10:3E:90:58:32:2D:7E:AA:F4:D9:53:5A:F7:0B:B1:DE:CF:FB:DE:E7:62:8F:C4:4E:15:9E:3B:52:D7:52:45:E8:55:AC:56:1B:14:29:1E:44:2A:64:94:C2:E4:5B:55:71:E4:42:EC:3C:72:57:AF:7F:29:34:93:67:3A:82:C6:4A:83:B1:42:76:4E:F0:04:E8:A9:29:DE:E8:76:C7:40:4C:03:85:4E:6D:D9:49:84:46:02:58:DA:8E:A2:92:57:DC:EB:51:57:02:7E:A0:00:F1:5D:DA:FC:A9:AD:F5:7A:51:2B:82:81:CF:45:6B:DF:C4:84:C4:13:23:41:9E:EE:22:AE:66:40:6F:7F:D1:8A:7E:E0:F1:79:9A:E4:05:AF:67:27:4E:2C:56:8A:79:84:38:14:77:34:C9:D6:03:C2:FB:78:3E:A8:9B:89:8E:C4:72:B1:DE:DA:39:43:F8:3B:0A:E2:C3:C3:CC:EB:6C:0E:E9:7F:5E:91:3E:7D:C7:9E:C9:12:27"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "A1:60:F9:53:09:B9:45:84:12:84:A8:67:EA:55:CE:F9:A5:12:28:15"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312642.9842677-10013-6576789056632/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "A1:60:F9:53:09:B9:45:84:12:84:A8:67:EA:55:CE:F9:A5:12:28:15" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7C:E0:65:1B:F2:59:DF:AD:08:B5:4E:5C:9E:72:B8:6F:97:72:1A:11:D5:2A:99:5A:B2:B2:1F:03:EA:B6:F8:24:8C:B0:53:0F:43:6F:4C:2A:21:56:3E:D4:9E:8A:E4:46:88:BB:47:E3:56:C2:C6:BE:F9:BC:9C:74:72:45:10:3E:90:58:32:2D:7E:AA:F4:D9:53:5A:F7:0B:B1:DE:CF:FB:DE:E7:62:8F:C4:4E:15:9E:3B:52:D7:52:45:E8:55:AC:56:1B:14:29:1E:44:2A:64:94:C2:E4:5B:55:71:E4:42:EC:3C:72:57:AF:7F:29:34:93:67:3A:82:C6:4A:83:B1:42:76:4E:F0:04:E8:A9:29:DE:E8:76:C7:40:4C:03:85:4E:6D:D9:49:84:46:02:58:DA:8E:A2:92:57:DC:EB:51:57:02:7E:A0:00:F1:5D:DA:FC:A9:AD:F5:7A:51:2B:82:81:CF:45:6B:DF:C4:84:C4:13:23:41:9E:EE:22:AE:66:40:6F:7F:D1:8A:7E:E0:F1:79:9A:E4:05:AF:67:27:4E:2C:56:8A:79:84:38:14:77:34:C9:D6:03:C2:FB:78:3E:A8:9B:89:8E:C4:72:B1:DE:DA:39:43:F8:3B:0A:E2:C3:C3:CC:EB:6C:0E:E9:7F:5E:91:3E:7D:C7:9E:C9:12:27" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222352Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.427) 0:00:23.367 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "A1:60:F9:53:09:B9:45:84:12:84:A8:67:EA:55:CE:F9:A5:12:28:15" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "7C:E0:65:1B:F2:59:DF:AD:08:B5:4E:5C:9E:72:B8:6F:97:72:1A:11:D5:2A:99:5A:B2:B2:1F:03:EA:B6:F8:24:8C:B0:53:0F:43:6F:4C:2A:21:56:3E:D4:9E:8A:E4:46:88:BB:47:E3:56:C2:C6:BE:F9:BC:9C:74:72:45:10:3E:90:58:32:2D:7E:AA:F4:D9:53:5A:F7:0B:B1:DE:CF:FB:DE:E7:62:8F:C4:4E:15:9E:3B:52:D7:52:45:E8:55:AC:56:1B:14:29:1E:44:2A:64:94:C2:E4:5B:55:71:E4:42:EC:3C:72:57:AF:7F:29:34:93:67:3A:82:C6:4A:83:B1:42:76:4E:F0:04:E8:A9:29:DE:E8:76:C7:40:4C:03:85:4E:6D:D9:49:84:46:02:58:DA:8E:A2:92:57:DC:EB:51:57:02:7E:A0:00:F1:5D:DA:FC:A9:AD:F5:7A:51:2B:82:81:CF:45:6B:DF:C4:84:C4:13:23:41:9E:EE:22:AE:66:40:6F:7F:D1:8A:7E:E0:F1:79:9A:E4:05:AF:67:27:4E:2C:56:8A:79:84:38:14:77:34:C9:D6:03:C2:FB:78:3E:A8:9B:89:8E:C4:72:B1:DE:DA:39:43:F8:3B:0A:E2:C3:C3:CC:EB:6C:0E:E9:7F:5E:91:3E:7D:C7:9E:C9:12:27" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222352Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.039) 0:00:23.407 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.040) 0:00:23.448 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.038) 0:00:23.486 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.043) 0:00:23.529 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.059) 0:00:23.589 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:24:03 -0500 (0:00:00.054) 0:00:23.643 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805 `" && echo ansible-tmp-1739312643.693494-10055-2684976851805="` echo /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312643.693494-10055-2684976851805=/root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpo37_he6g TO /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpo37_he6g /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/ /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-11 17:24:03.970897", "end": "2025-02-11 17:24:04.016716", "delta": "0:00:00.045819", "changed": true, "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, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312643.693494-10055-2684976851805/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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.045819", "end": "2025-02-11 17:24:04.016716", "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-11 17:24:03.970897" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.439) 0:00:24.083 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.046) 0:00:24.129 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634 `" && echo ansible-tmp-1739312644.1517189-10079-101487628816634="` echo /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312644.1517189-10079-101487628816634=/root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpwlhdn29f TO /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpwlhdn29f /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/ /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2759, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 780, "free": 2759}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 315, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263558340608, "block_size": 4096, "block_total": 65533179, "block_available": 64345298, "block_used": 1187881, "inode_total": 131071472, "inode_available": 130995954, "inode_used": 75518, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_apparmor": {"status": "disabled"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_pkg_mgr": "dnf", "ansible_is_chroot": false, "ansible_interfaces": ["lo", "eth0"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_service_mgr": "systemd", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.46.166 55142 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_fibre_channel_wwn": [], "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_iscsi_iqn": "", "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_lsb": {}, "ansible_fips": false, "ansible_local": {}, "ansible_hostnqn": "", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "24", "second": "04", "epoch": "1739312644", "date": "2025-02-11", "time": "17:24:04", "iso8601_micro": "2025-02-11T22:24:04.657979Z", "iso8601": "2025-02-11T22:24:04Z", "iso8601_basic": "20250211T172404657979", "iso8601_basic_short": "20250211T172404", "tz": "EST", "tz_offset": "-0500"}, "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312644.1517189-10079-101487628816634/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.607) 0:00:24.737 ****** included: /tmp/collections-Wys/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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.019) 0:00:24.757 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.037) 0:00:24.794 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.035) 0:00:24.830 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.036) 0:00:24.867 ****** 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" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 11 February 2025 17:24:04 -0500 (0:00:00.056) 0:00:24.923 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610 `" && echo ansible-tmp-1739312645.0098956-10107-85303298172610="` echo /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312645.0098956-10107-85303298172610=/root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpfllitzab TO /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpfllitzab /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/ /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-pyasn1", "python3-cryptography", "python3-dbus"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312645.0098956-10107-85303298172610/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Tuesday 11 February 2025 17:24:07 -0500 (0:00:02.894) 0:00:27.818 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703 `" && echo ansible-tmp-1739312647.9047062-10164-256109440671703="` echo /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312647.9047062-10164-256109440671703=/root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp3ka2kuxf TO /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp3ka2kuxf /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/ /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["certmonger"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312647.9047062-10164-256109440671703/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Tuesday 11 February 2025 17:24:10 -0500 (0:00:02.850) 0:00:30.668 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549 `" && echo ansible-tmp-1739312650.7213984-10310-28246730808549="` echo /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312650.7213984-10310-28246730808549=/root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpg9q0bff2 TO /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpg9q0bff2 /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/ /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"path": "/etc/certmonger//pre-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//pre-scripts"}, "after": {"path": "/etc/certmonger//pre-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//pre-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//pre-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312650.7213984-10310-28246730808549/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Tuesday 11 February 2025 17:24:11 -0500 (0:00:00.376) 0:00:31.045 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613 `" && echo ansible-tmp-1739312651.0979874-10346-239008274720613="` echo /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312651.0979874-10346-239008274720613=/root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpthztw4my TO /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/AnsiballZ_file.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpthztw4my /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/AnsiballZ_file.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/ /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"path": "/etc/certmonger//post-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//post-scripts"}, "after": {"path": "/etc/certmonger//post-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//post-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//post-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312651.0979874-10346-239008274720613/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Tuesday 11 February 2025 17:24:11 -0500 (0:00:00.420) 0:00:31.465 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153 `" && echo ansible-tmp-1739312651.5389616-10430-106804532960153="` echo /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312651.5389616-10430-106804532960153=/root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/systemd.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsoyuaqwl TO /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/AnsiballZ_systemd.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpsoyuaqwl /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/AnsiballZ_systemd.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/ /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"name": "certmonger", "changed": false, "status": {"Type": "dbus", "Restart": "no", "PIDFile": "/run/certmonger.pid", "NotifyAccess": "none", "RestartUSec": "100ms", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "RuntimeMaxUSec": "infinity", "WatchdogUSec": "0", "WatchdogTimestamp": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8641", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8641", "ExecMainCode": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3817472", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22405", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "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 cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "dbus.socket system.slice sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "shutdown.target multi-user.target", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "InactiveExitTimestamp": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "ActiveEnterTimestamp": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "ActiveExitTimestampMonotonic": "0", "InactiveEnterTimestampMonotonic": "0", "CanStart": "yes", "CanStop": "yes", "CanReload": "no", "CanIsolate": "no", "CanFreeze": "yes", "StopWhenUnneeded": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "AllowIsolate": "no", "DefaultDependencies": "yes", "OnFailureJobMode": "replace", "IgnoreOnIsolate": "no", "NeedDaemonReload": "no", "JobTimeoutUSec": "infinity", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "ConditionResult": "yes", "AssertResult": "yes", "ConditionTimestamp": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "no_block": false, "force": null, "masked": null, "user": null, "scope": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312651.5389616-10430-106804532960153/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": "Tue 2025-02-11 17:23:31 EST", "ActiveEnterTimestampMonotonic": "282338281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket dbus.socket system.slice sysinit.target syslog.target dbus.service basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2025-02-11 17:23:31 EST", "AssertTimestampMonotonic": "282326556", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "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 cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2025-02-11 17:23:31 EST", "ConditionTimestampMonotonic": "282326555", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8641", "ExecMainStartTimestamp": "Tue 2025-02-11 17:23:31 EST", "ExecMainStartTimestampMonotonic": "282327346", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Tue 2025-02-11 17:23:31 EST] ; stop_time=[n/a] ; pid=8641 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2025-02-11 17:23:31 EST", "InactiveExitTimestampMonotonic": "282327385", "InvocationID": "bcdf5b4908474695b606a31ad5668f2c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8641", "MemoryAccounting": "yes", "MemoryCurrent": "3817472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Tue 2025-02-11 17:23:31 EST", "StateChangeTimestampMonotonic": "282338281", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2025-02-11 17:23:31 EST", "WatchdogTimestampMonotonic": "282338279", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Tuesday 11 February 2025 17:24:12 -0500 (0:00:00.568) 0:00:32.034 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418 `" && echo ansible-tmp-1739312652.1472113-10448-95329974605418="` echo /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312652.1472113-10448-95329974605418=/root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpbih5jp01 TO /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpbih5jp01 /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/ /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new). File attributes updated.", "invocation": {"module_args": {"name": "mycert_fs_attrs_mode", "dns": ["www.example.com"], "owner": "ftp", "group": "ftp", "mode": "0620", "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312652.1472113-10448-95329974605418/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' changed: [managed-node2] => (item={'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}) => { "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.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260 `" && echo ansible-tmp-1739312652.802529-10448-191737011963260="` echo /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312652.802529-10448-191737011963260=/root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpugut5do5 TO /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/AnsiballZ_certificate_request.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpugut5do5 /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/AnsiballZ_certificate_request.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/ /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "certid_mode", "dns": ["www.example.com"], "mode": "0600", "directory": "/etc/pki/tls", "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "key_size": null, "owner": null, "group": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312652.802529-10448-191737011963260/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') changed: [managed-node2] => (item={'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}) => { "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Tuesday 11 February 2025 17:24:13 -0500 (0:00:01.473) 0:00:33.507 ****** skipping: [managed-node2] => (item=['cert', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "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=['cert', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "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=['key', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "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=['key', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "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=['ca', {'name': 'mycert_fs_attrs_mode', 'dns': 'www.example.com', 'owner': 'ftp', 'group': 'ftp', 'mode': '0620', 'ca': 'self-sign'}]) => { "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=['ca', {'name': 'certid_mode', 'dns': 'www.example.com', 'mode': '0600', 'ca': 'self-sign'}]) => { "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-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 11 February 2025 17:24:13 -0500 (0:00:00.062) 0:00:33.570 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Tuesday 11 February 2025 17:24:13 -0500 (0:00:00.052) 0:00:33.622 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Tuesday 11 February 2025 17:24:13 -0500 (0:00:00.055) 0:00:33.678 ****** 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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Tuesday 11 February 2025 17:24:13 -0500 (0:00:00.063) 0:00:33.741 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510 `" && echo ansible-tmp-1739312653.7723277-10509-237628997710510="` echo /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312653.7723277-10509-237628997710510=/root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpdo_r4y_u TO /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/AnsiballZ_setup.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpdo_r4y_u /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/AnsiballZ_setup.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/ /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"ansible_facts": {"ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node2", "ansible_hostname": "managed-node2", "ansible_nodename": "managed-node2", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "8de9ec1610db4bc8a4245b296c856a7e", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.46.166 55142 10.31.40.153 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.46.166 55142 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAKRVmnShcI8ypfjeExO+IQetZN7yT/EwkXiQd8hS94ACglQ+b3LfkpM0cVarIqTA2CnCsyG4IsvjhdSDv3m4ur4qVvqUJ5ucXQ8Ff7jf7mylje2dP/0Da2JcP1co4Uvye9kRh+SD9G71HxjlpwaC1xxTMjucfA7gk+7noTWCteJbAAAAFQDoLdAQ8OlfwCHvW3kOVCoo5RLuiwAAAIEAiTmxu+SLZsY55pVpUPOJtcE312FgCAxAZ8xWUjFp9QYq78PXatqj1MWHBpM2tqV4sllOFlabYFbJX1FtTWMiZHZxm2mb6Igg5A4V6hQJd2hglbblEA+eDhibvSfz94e1KbBqzCaiq62Ou6FNi9YwPUW5nuX8TJ8v9w96aEvPeXUAAACAUpcB1r5TdUYm5UqAnLGXz35RA50fuzOlU4VT64oNmwNJsnQPKhzP4pJrrDjLtPv2XpD2XXwVEcrXoJakMpbClymYuE1CSnqcS1Kgqyt49q+XwngFCeI776ZoElX2//wcEdLsMmCRFFGA3vUxxrwLFCzgV4Swcxsk31LQmolyHPI=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDHflYDQLCaWQ1hgTT82mt0NOHzbe/fKryeOqDt2NBVlOOyc74xrYkF+jw8tcZbi8qmZK4ialiVeRkrWFPqr0EAMSXHfD1/Ax8WwdUEdTMbBlqbeneltxD/udugJiCEHO/ueYqdVent6iYdfjplkKeZW0G2Vt6oo2t76Q/Hd19+wCzr0mBwKxV2t+COi6k0sb4NHNZXE9HMAMFxwlsESuLmEZbIgtWqzmxMVRd11l0IQrDu8j5CDMysrw0kAZrvPIRyeyg8La6QGMNNLKh95IzkE62ciCwYJ2+yPXMhipnZ4MbW+WdJHZgjRc+TAVkrIElercRIscWeo7O7LTyfsiPoegWicGUpZmDFs75GPIRe8YjO/87YoZhhYdHF75zBLng+bCX7QCn/NJyP/U1uNAuWj6xPxJmA9qS4yZ9gIXxFphUYp8RPzSdSvapOYI5js56uQBTorGaq/is0ECImAVvUTvU215HXC8Ut9PZAt7W3poUiipU44CGihT5tiTdp9l0=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC53byw3O446Y0gCSkd4ZmjwiWE0nL6OJSgWIBzcSAVPAGS0Jx24tixLKG5MjDbked9wWAlyvqX24z+6XGZwj+0=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIPawE0nbJTYHBMHhKRcwzQDI32DKvtOUnrEn73iKUs4m", "ansible_fibre_channel_wwn": [], "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_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2759, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 780, "free": 2759}, "nocache": {"free": 3309, "used": 230}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_uuid": "ec2ba540-7ffb-6bab-68fa-a4bc91d531fd", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 325, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263557787648, "block_size": 4096, "block_total": 65533179, "block_available": 64345163, "block_used": 1188016, "inode_total": 131071472, "inode_available": 130995948, "inode_used": 75524, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_local": {}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_iscsi_iqn": "", "ansible_is_chroot": false, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_apparmor": {"status": "disabled"}, "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_fips": false, "ansible_interfaces": ["eth0", "lo"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0"}, "ipv6": [{"address": "fe80::c18:b6ff:febc:f931", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.40.1", "interface": "eth0", "address": "10.31.40.153", "broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "macaddress": "0e:18:b6:bc:f9:31", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.40.153"], "ansible_all_ipv6_addresses": ["fe80::c18:b6ff:febc:f931"], "ansible_hostnqn": "", "ansible_lsb": {}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "06", "day": "11", "hour": "17", "minute": "24", "second": "14", "epoch": "1739312654", "date": "2025-02-11", "time": "17:24:14", "iso8601_micro": "2025-02-11T22:24:14.280312Z", "iso8601": "2025-02-11T22:24:14Z", "iso8601_basic": "20250211T172414280312", "iso8601_basic_short": "20250211T172414", "tz": "EST", "tz_offset": "-0500"}, "ansible_pkg_mgr": "dnf", "ansible_service_mgr": "systemd", "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312653.7723277-10509-237628997710510/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.621) 0:00:34.362 ****** included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 included: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.067) 0:00:34.430 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.016) 0:00:34.446 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.037) 0:00:34.484 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.037) 0:00:34.521 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:24:14 -0500 (0:00:00.036) 0:00:34.558 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927 `" && echo ansible-tmp-1739312654.6386385-10539-265302093118927="` echo /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312654.6386385-10539-265302093118927=/root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpalwiczxc TO /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpalwiczxc /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/ /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312654.6386385-10539-265302093118927/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:24:17 -0500 (0:00:02.841) 0:00:37.399 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128 `" && echo ansible-tmp-1739312657.4436176-10582-93315098849128="` echo /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312657.4436176-10582-93315098849128=/root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4uc0sr9l TO /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4uc0sr9l /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/ /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "mode": "0620", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 14, "gid": 50, "size": 1294, "inode": 7718640, "dev": 51713, "nlink": 1, "atime": 1739312652.6140223, "mtime": 1739312652.6110222, "ctime": 1739312652.6490223, "wusr": true, "rusr": true, "xusr": false, "wgrp": true, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "ftp", "gr_name": "ftp", "checksum": "cc1c715ce9b7957ef63d3b44c3886abe1b4a8619", "mimetype": "text/plain", "charset": "us-ascii", "version": "2832258993", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312657.4436176-10582-93315098849128/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312652.6140223, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cc1c715ce9b7957ef63d3b44c3886abe1b4a8619", "ctime": 1739312652.6490223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 7718640, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739312652.6110222, "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": "2832258993", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:24:17 -0500 (0:00:00.368) 0:00:37.768 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:24:17 -0500 (0:00:00.040) 0:00:37.809 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:24:17 -0500 (0:00:00.043) 0:00:37.853 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:24:17 -0500 (0:00:00.040) 0:00:37.893 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345 `" && echo ansible-tmp-1739312657.9382763-10597-88087686015345="` echo /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312657.9382763-10597-88087686015345=/root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8c2xqqj6 TO /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8c2xqqj6 /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/ /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "mode": "0620", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 14, "gid": 50, "size": 1704, "inode": 7718639, "dev": 51713, "nlink": 1, "atime": 1739312652.571022, "mtime": 1739312652.6110222, "ctime": 1739312652.6500223, "wusr": true, "rusr": true, "xusr": false, "wgrp": true, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "ftp", "gr_name": "ftp", "checksum": "8fc8909b80150a5e9b64681db9c5dc51e470ad54", "mimetype": "text/plain", "charset": "us-ascii", "version": "4113234350", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312657.9382763-10597-88087686015345/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312652.571022, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8fc8909b80150a5e9b64681db9c5dc51e470ad54", "ctime": 1739312652.6500223, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 50, "gr_name": "ftp", "inode": 7718639, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0620", "mtime": 1739312652.6110222, "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": "4113234350", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.369) 0:00:38.263 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.039) 0:00:38.303 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.053) 0:00:38.356 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666 `" && echo ansible-tmp-1739312658.4000907-10617-262484556558666="` echo /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312658.4000907-10617-262484556558666=/root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4wf5iytu TO /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp4wf5iytu /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/ /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222412Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "9D:31:BB:DB:90:CA:41:16:CB:A0:70:2D:BA:9F:58:B0:BB:41:12:06:75:46:3A:9A:82:9B:CE:77:77:4F:9F:C8:BD:F1:4F:EC:CD:4B:26:CC:BC:C6:BE:B5:A6:E4:4F:CB:11:BA:D4:D6:FE:07:CC:FD:EE:63:53:9D:72:9B:35:FC:98:52:76:9F:83:1F:88:2D:C3:85:5C:F5:FE:B0:16:79:D8:A3:50:F3:A6:6B:F8:31:CE:7D:1C:93:AC:B5:39:BA:01:68:10:99:68:55:BB:43:93:4C:83:79:70:DC:96:D0:B2:09:B1:2B:57:73:C9:F0:53:E6:46:D8:8A:5C:F0:13:C7:B3:87:04:71:4D:C8:28:AB:A5:1B:C9:68:93:2A:17:64:EC:62:D3:A8:0E:59:E9:04:54:18:AD:9F:C5:E9:DD:50:A8:E1:B1:CE:35:52:A9:BB:30:B5:E7:F1:66:8C:8A:0C:C9:14:9A:19:A8:A1:70:0A:4F:75:02:E9:A1:F3:08:97:74:0B:66:C7:8C:D6:3B:99:A1:55:2B:45:31:44:F6:54:B2:A4:00:E5:AC:DD:B6:5A:F5:F1:53:5C:6F:F1:39:1C:0B:A1:50:D8:1B:67:EC:3D:80:AC:CF:31:F0:1B:B8:B7:A3:CA:E1:10:43:DC:FB:14:39:FD:2F:3C:36:94:D5"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "61:04:FE:56:66:21:BB:E5:88:B3:82:79:83:EB:FB:AF:A2:C6:63:87"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312658.4000907-10617-262484556558666/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "61:04:FE:56:66:21:BB:E5:88:B3:82:79:83:EB:FB:AF:A2:C6:63:87" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9D:31:BB:DB:90:CA:41:16:CB:A0:70:2D:BA:9F:58:B0:BB:41:12:06:75:46:3A:9A:82:9B:CE:77:77:4F:9F:C8:BD:F1:4F:EC:CD:4B:26:CC:BC:C6:BE:B5:A6:E4:4F:CB:11:BA:D4:D6:FE:07:CC:FD:EE:63:53:9D:72:9B:35:FC:98:52:76:9F:83:1F:88:2D:C3:85:5C:F5:FE:B0:16:79:D8:A3:50:F3:A6:6B:F8:31:CE:7D:1C:93:AC:B5:39:BA:01:68:10:99:68:55:BB:43:93:4C:83:79:70:DC:96:D0:B2:09:B1:2B:57:73:C9:F0:53:E6:46:D8:8A:5C:F0:13:C7:B3:87:04:71:4D:C8:28:AB:A5:1B:C9:68:93:2A:17:64:EC:62:D3:A8:0E:59:E9:04:54:18:AD:9F:C5:E9:DD:50:A8:E1:B1:CE:35:52:A9:BB:30:B5:E7:F1:66:8C:8A:0C:C9:14:9A:19:A8:A1:70:0A:4F:75:02:E9:A1:F3:08:97:74:0B:66:C7:8C:D6:3B:99:A1:55:2B:45:31:44:F6:54:B2:A4:00:E5:AC:DD:B6:5A:F5:F1:53:5C:6F:F1:39:1C:0B:A1:50:D8:1B:67:EC:3D:80:AC:CF:31:F0:1B:B8:B7:A3:CA:E1:10:43:DC:FB:14:39:FD:2F:3C:36:94:D5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222412Z" } }, "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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.430) 0:00:38.787 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "61:04:FE:56:66:21:BB:E5:88:B3:82:79:83:EB:FB:AF:A2:C6:63:87" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "9D:31:BB:DB:90:CA:41:16:CB:A0:70:2D:BA:9F:58:B0:BB:41:12:06:75:46:3A:9A:82:9B:CE:77:77:4F:9F:C8:BD:F1:4F:EC:CD:4B:26:CC:BC:C6:BE:B5:A6:E4:4F:CB:11:BA:D4:D6:FE:07:CC:FD:EE:63:53:9D:72:9B:35:FC:98:52:76:9F:83:1F:88:2D:C3:85:5C:F5:FE:B0:16:79:D8:A3:50:F3:A6:6B:F8:31:CE:7D:1C:93:AC:B5:39:BA:01:68:10:99:68:55:BB:43:93:4C:83:79:70:DC:96:D0:B2:09:B1:2B:57:73:C9:F0:53:E6:46:D8:8A:5C:F0:13:C7:B3:87:04:71:4D:C8:28:AB:A5:1B:C9:68:93:2A:17:64:EC:62:D3:A8:0E:59:E9:04:54:18:AD:9F:C5:E9:DD:50:A8:E1:B1:CE:35:52:A9:BB:30:B5:E7:F1:66:8C:8A:0C:C9:14:9A:19:A8:A1:70:0A:4F:75:02:E9:A1:F3:08:97:74:0B:66:C7:8C:D6:3B:99:A1:55:2B:45:31:44:F6:54:B2:A4:00:E5:AC:DD:B6:5A:F5:F1:53:5C:6F:F1:39:1C:0B:A1:50:D8:1B:67:EC:3D:80:AC:CF:31:F0:1B:B8:B7:A3:CA:E1:10:43:DC:FB:14:39:FD:2F:3C:36:94:D5" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222412Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.041) 0:00:38.829 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.040) 0:00:38.869 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.039) 0:00:38.909 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.042) 0:00:38.951 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:24:18 -0500 (0:00:00.046) 0:00:38.998 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.045) 0:00:39.044 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494 `" && echo ansible-tmp-1739312659.0869691-10651-122692093568494="` echo /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312659.0869691-10651-122692093568494=/root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpn1gniegt TO /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpn1gniegt /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/ /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"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\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-11 17:24:19.332427", "end": "2025-02-11 17:24:19.382496", "delta": "0:00:00.050069", "changed": true, "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, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312659.0869691-10651-122692093568494/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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.050069", "end": "2025-02-11 17:24:19.382496", "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-11 17:24:19.332427" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.406) 0:00:39.450 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.040) 0:00:39.490 ****** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.014) 0:00:39.505 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.035) 0:00:39.541 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.038) 0:00:39.579 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Tuesday 11 February 2025 17:24:19 -0500 (0:00:00.046) 0:00:39.625 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405 `" && echo ansible-tmp-1739312659.7248917-10680-220305246867405="` echo /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312659.7248917-10680-220305246867405=/root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmplfxlzzhn TO /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/AnsiballZ_dnf.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmplfxlzzhn /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/AnsiballZ_dnf.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/ /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312659.7248917-10680-220305246867405/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Tuesday 11 February 2025 17:24:22 -0500 (0:00:02.910) 0:00:42.536 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548 `" && echo ansible-tmp-1739312662.5795107-10756-107456469828548="` echo /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312662.5795107-10756-107456469828548=/root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8x7iuw4_ TO /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8x7iuw4_ /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/ /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/certid_mode.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1294, "inode": 7718642, "dev": 51713, "nlink": 1, "atime": 1739312653.3170238, "mtime": 1739312653.3150237, "ctime": 1739312653.3150237, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "9e254d374857f716d6ea577f220726fe8140f91c", "mimetype": "text/plain", "charset": "us-ascii", "version": "3847315350", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/certid_mode.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312662.5795107-10756-107456469828548/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312653.3170238, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9e254d374857f716d6ea577f220726fe8140f91c", "ctime": 1739312653.3150237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718642, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739312653.3150237, "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": "3847315350", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Tuesday 11 February 2025 17:24:22 -0500 (0:00:00.367) 0:00:42.903 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Tuesday 11 February 2025 17:24:22 -0500 (0:00:00.039) 0:00:42.943 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Tuesday 11 February 2025 17:24:22 -0500 (0:00:00.043) 0:00:42.987 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Tuesday 11 February 2025 17:24:23 -0500 (0:00:00.043) 0:00:43.030 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870 `" && echo ansible-tmp-1739312663.0810657-10772-77847211623870="` echo /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312663.0810657-10772-77847211623870=/root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpbjhmfblf TO /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/AnsiballZ_stat.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpbjhmfblf /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/AnsiballZ_stat.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/ /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/certid_mode.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1704, "inode": 7718641, "dev": 51713, "nlink": 1, "atime": 1739312653.2730236, "mtime": 1739312653.3150237, "ctime": 1739312653.3150237, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "9c23ac8a9d9ae4f1149634432e6538e7dd756fc3", "mimetype": "text/plain", "charset": "us-ascii", "version": "2720945434", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/certid_mode.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312663.0810657-10772-77847211623870/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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": 1739312653.2730236, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "9c23ac8a9d9ae4f1149634432e6538e7dd756fc3", "ctime": 1739312653.3150237, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718641, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739312653.3150237, "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": "2720945434", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Tuesday 11 February 2025 17:24:23 -0500 (0:00:00.422) 0:00:43.452 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Tuesday 11 February 2025 17:24:23 -0500 (0:00:00.111) 0:00:43.563 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Tuesday 11 February 2025 17:24:23 -0500 (0:00:00.092) 0:00:43.656 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823 `" && echo ansible-tmp-1739312663.7182603-10821-174917410533823="` echo /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312663.7182603-10821-174917410533823=/root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823\n', b'') Using module file /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpy58v2z8s TO /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/AnsiballZ_certtojson.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmpy58v2z8s /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/AnsiballZ_certtojson.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/ /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260211222331Z", "not_valid_before": "20250211222413Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "08:11:73:43:DE:DD:CB:90:AF:19:34:70:1D:0F:99:4E:95:E3:8D:6D:17:52:57:F6:81:44:DD:91:42:DF:25:44:E7:66:69:91:11:30:C8:8D:98:A6:80:BC:74:45:05:40:50:39:C5:81:21:0F:FA:53:53:9C:07:BA:DA:3F:93:79:02:3C:E4:FD:78:5A:15:C2:86:30:7A:00:23:EA:27:86:51:9C:95:B5:0D:03:BD:14:DD:96:4A:A6:7F:3D:A8:80:81:AE:68:57:C9:EE:9A:64:8C:57:CF:20:8C:75:62:65:E6:70:6A:75:CC:4A:4B:66:67:7C:68:E0:0E:91:11:DA:CE:19:31:96:11:12:C7:B6:4A:94:1D:71:47:31:6C:C6:DC:0C:6F:79:7D:BC:41:FA:19:93:3A:07:BA:6B:2B:8B:CB:74:F3:88:CA:56:96:8A:1C:51:0F:48:B3:CF:9D:F9:A7:CB:2A:9B:29:57:B1:E7:E9:FB:01:0D:FD:4A:34:D1:D2:63:73:90:BB:64:1D:E4:61:8E:AC:EF:05:E2:14:BB:9F:93:49:A7:60:C0:DB:13:6C:15:6A:78:5F:59:13:AE:17:A6:65:0B:CC:DA:10:3C:B9:9F:19:6A:D4:A1:3A:56:40:A1:91:0B:C1:AB:59:D0:B6:0E:AC:9E:EF:F4:A1:97"}, "key_size": 2048, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "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"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "8F:6F:F4:BE:2D:53:C6:3C:7A:34:F2:80:5D:F3:C8:80:43:29:69:94"}, "authorityKeyIdentifier": {"critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312663.7182603-10821-174917410533823/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "8F:6F:F4:BE:2D:53:C6:3C:7A:34:F2:80:5D:F3:C8:80:43:29:69:94" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "08:11:73:43:DE:DD:CB:90:AF:19:34:70:1D:0F:99:4E:95:E3:8D:6D:17:52:57:F6:81:44:DD:91:42:DF:25:44:E7:66:69:91:11:30:C8:8D:98:A6:80:BC:74:45:05:40:50:39:C5:81:21:0F:FA:53:53:9C:07:BA:DA:3F:93:79:02:3C:E4:FD:78:5A:15:C2:86:30:7A:00:23:EA:27:86:51:9C:95:B5:0D:03:BD:14:DD:96:4A:A6:7F:3D:A8:80:81:AE:68:57:C9:EE:9A:64:8C:57:CF:20:8C:75:62:65:E6:70:6A:75:CC:4A:4B:66:67:7C:68:E0:0E:91:11:DA:CE:19:31:96:11:12:C7:B6:4A:94:1D:71:47:31:6C:C6:DC:0C:6F:79:7D:BC:41:FA:19:93:3A:07:BA:6B:2B:8B:CB:74:F3:88:CA:56:96:8A:1C:51:0F:48:B3:CF:9D:F9:A7:CB:2A:9B:29:57:B1:E7:E9:FB:01:0D:FD:4A:34:D1:D2:63:73:90:BB:64:1D:E4:61:8E:AC:EF:05:E2:14:BB:9F:93:49:A7:60:C0:DB:13:6C:15:6A:78:5F:59:13:AE:17:A6:65:0B:CC:DA:10:3C:B9:9F:19:6A:D4:A1:3A:56:40:A1:91:0B:C1:AB:59:D0:B6:0E:AC:9E:EF:F4:A1:97" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222413Z" } }, "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-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.472) 0:00:44.129 ****** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "33:07:30:F9:4C:58:5E:3C:58:16:DE:2E:E0:54:48:7C:DA:31:3F:7F" }, "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": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "8F:6F:F4:BE:2D:53:C6:3C:7A:34:F2:80:5D:F3:C8:80:43:29:69:94" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "08:11:73:43:DE:DD:CB:90:AF:19:34:70:1D:0F:99:4E:95:E3:8D:6D:17:52:57:F6:81:44:DD:91:42:DF:25:44:E7:66:69:91:11:30:C8:8D:98:A6:80:BC:74:45:05:40:50:39:C5:81:21:0F:FA:53:53:9C:07:BA:DA:3F:93:79:02:3C:E4:FD:78:5A:15:C2:86:30:7A:00:23:EA:27:86:51:9C:95:B5:0D:03:BD:14:DD:96:4A:A6:7F:3D:A8:80:81:AE:68:57:C9:EE:9A:64:8C:57:CF:20:8C:75:62:65:E6:70:6A:75:CC:4A:4B:66:67:7C:68:E0:0E:91:11:DA:CE:19:31:96:11:12:C7:B6:4A:94:1D:71:47:31:6C:C6:DC:0C:6F:79:7D:BC:41:FA:19:93:3A:07:BA:6B:2B:8B:CB:74:F3:88:CA:56:96:8A:1C:51:0F:48:B3:CF:9D:F9:A7:CB:2A:9B:29:57:B1:E7:E9:FB:01:0D:FD:4A:34:D1:D2:63:73:90:BB:64:1D:E4:61:8E:AC:EF:05:E2:14:BB:9F:93:49:A7:60:C0:DB:13:6C:15:6A:78:5F:59:13:AE:17:A6:65:0B:CC:DA:10:3C:B9:9F:19:6A:D4:A1:3A:56:40:A1:91:0B:C1:AB:59:D0:B6:0E:AC:9E:EF:F4:A1:97" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260211222331Z", "not_valid_before": "20250211222413Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.039) 0:00:44.169 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.056) 0:00:44.225 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.047) 0:00:44.273 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.046) 0:00:44.320 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.049) 0:00:44.369 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.046) 0:00:44.416 ****** <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.153> (0, b'/root\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893 `" && echo ansible-tmp-1739312664.461357-10858-81923603858893="` echo /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893 `" ) && sleep 0'"'"'' <10.31.40.153> (0, b'ansible-tmp-1739312664.461357-10858-81923603858893=/root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.40.153> PUT /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8tvvxkye TO /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/AnsiballZ_command.py <10.31.40.153> 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/9ed27fc64a '[10.31.40.153]' <10.31.40.153> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8948nvqecp_b/tmp8tvvxkye /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/AnsiballZ_command.py\n', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/ /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a -tt 10.31.40.153 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.153> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-11 17:24:24.728644", "end": "2025-02-11 17:24:24.778997", "delta": "0:00:00.050353", "changed": true, "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, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.40.153 closed.\r\n') <10.31.40.153> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.153> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/9ed27fc64a 10.31.40.153 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739312664.461357-10858-81923603858893/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.153> (0, b'', b'') 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.050353", "end": "2025-02-11 17:24:24.778997", "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-11 17:24:24.728644" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.429) 0:00:44.846 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=99 changed=4 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 Tuesday 11 February 2025 17:24:24 -0500 (0:00:00.041) 0:00:44.887 ****** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.99s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.92s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.92s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.91s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.89s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.85s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.84s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.84s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.61s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.47s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 0.99s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.72s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.68s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Gathering Facts --------------------------------------------------------- 0.62s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Ensure user exists ------------------------------------------------------ 0.57s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.57s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.52s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Retrieve auto-renew flag ------------------------------------------------ 0.51s /tmp/collections-Wys/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143