ansible-playbook [core 2.16.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-QGy executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults host_list declined parsing /tmp/inventory-jQd.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-jQd.yml as it did not pass its verify_file() method Parsed /tmp/inventory-jQd.yml inventory source with yaml plugin running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_fs_attrs.yml *************************************************** 5 plays in /tmp/collections-QGy/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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 Thursday 13 February 2025 14:24:42 -0500 (0:00:00.010) 0:00:00.010 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087 `" && echo ansible-tmp-1739474682.8490982-8966-228779466507087="` echo /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474682.8490982-8966-228779466507087=/root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087\n', b'') Attempting python interpreter discovery <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'python3.12'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.11'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.10'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.9'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.8'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.12.33> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/bin/python3\n/usr/libexec/platform-python\nENDFOUND\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.12.33> (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.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp5pa6xs6g TO /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp5pa6xs6g /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/ /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_lsb": {}, "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": "48df966995aa466a9e19c66342706fb2", "ansible_hostnqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 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_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": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "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_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_interfaces": ["eth0", "lo"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "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_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", "prefix": "8"}, "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_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "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_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2753, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 786, "free": 2753}, "nocache": {"free": 3306, "used": 233}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "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": 422, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263554953216, "block_size": 4096, "block_total": 65533179, "block_available": 64344471, "block_used": 1188708, "inode_total": 131071472, "inode_available": 130995971, "inode_used": 75501, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_loadavg": {"1m": 0.48, "5m": 0.22, "15m": 0.11}, "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_service_mgr": "systemd", "ansible_iscsi_iqn": "", "ansible_is_chroot": false, "ansible_local": {}, "ansible_fibre_channel_wwn": [], "ansible_fips": false, "ansible_apparmor": {"status": "disabled"}, "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "24", "second": "43", "epoch": "1739474683", "epoch_int": "1739474683", "date": "2025-02-13", "time": "14:24:43", "iso8601_micro": "2025-02-13T19:24:43.798054Z", "iso8601": "2025-02-13T19:24:43Z", "iso8601_basic": "20250213T142443798054", "iso8601_basic_short": "20250213T142443", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474682.8490982-8966-228779466507087/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [Ensure user exists] ****************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 Thursday 13 February 2025 14:24:43 -0500 (0:00:01.084) 0:00:01.094 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026 `" && echo ansible-tmp-1739474683.9230154-8994-221062578598026="` echo /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474683.9230154-8994-221062578598026=/root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/user.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4pr4oo_z TO /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/AnsiballZ_user.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4pr4oo_z /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/AnsiballZ_user.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/ /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/AnsiballZ_user.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/AnsiballZ_user.py && sleep 0'"'"'' <10.31.12.33> (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, "password_expire_max": null, "password_expire_min": null, "password_expire_warn": 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, "umask": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474683.9230154-8994-221062578598026/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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_expire_max": null, "password_expire_min": null, "password_expire_warn": 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, "umask": null, "update_password": "always" } }, "name": "user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 1040 } TASK [Ensure group "somegroup" exists] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:9 Thursday 13 February 2025 14:24:44 -0500 (0:00:00.591) 0:00:01.686 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253 `" && echo ansible-tmp-1739474684.5152006-9020-248331921213253="` echo /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474684.5152006-9020-248331921213253=/root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/group.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpfpuibs9v TO /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/AnsiballZ_group.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpfpuibs9v /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/AnsiballZ_group.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/ /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/AnsiballZ_group.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/AnsiballZ_group.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"name": "somegroup", "state": "present", "changed": true, "system": false, "gid": 1041, "invocation": {"module_args": {"name": "somegroup", "gid": 1041, "state": "present", "force": false, "system": false, "local": false, "non_unique": false}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474684.5152006-9020-248331921213253/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') changed: [managed-node2] => { "changed": true, "gid": 1041, "invocation": { "module_args": { "force": false, "gid": 1041, "local": false, "name": "somegroup", "non_unique": false, "state": "present", "system": false } }, "name": "somegroup", "state": "present", "system": false } PLAY [Issue certificate setting user/group] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Thursday 13 February 2025 14:24:44 -0500 (0:00:00.469) 0:00:02.156 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836 `" && echo ansible-tmp-1739474684.9836967-9031-140250937503836="` echo /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474684.9836967-9031-140250937503836=/root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmptprr0u_6 TO /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmptprr0u_6 /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/ /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_fips": false, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_lsb": {}, "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_loadavg": {"1m": 0.48, "5m": 0.22, "15m": 0.11}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 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_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": "48df966995aa466a9e19c66342706fb2", "ansible_apparmor": {"status": "disabled"}, "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_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_hostnqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "24", "second": "45", "epoch": "1739474685", "epoch_int": "1739474685", "date": "2025-02-13", "time": "14:24:45", "iso8601_micro": "2025-02-13T19:24:45.351308Z", "iso8601": "2025-02-13T19:24:45Z", "iso8601_basic": "20250213T142445351308", "iso8601_basic_short": "20250213T142445", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_is_chroot": false, "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_fibre_channel_wwn": [], "ansible_iscsi_iqn": "", "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_local": {}, "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_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2750, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 789, "free": 2750}, "nocache": {"free": 3305, "used": 234}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "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": 424, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263554809856, "block_size": 4096, "block_total": 65533179, "block_available": 64344436, "block_used": 1188743, "inode_total": 131071472, "inode_available": 130995964, "inode_used": 75508, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "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_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", "prefix": "8"}, "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_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474684.9836967-9031-140250937503836/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 14:24:45 -0500 (0:00:00.725) 0:00:02.881 ***** included: /tmp/collections-QGy/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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 14:24:45 -0500 (0:00:00.018) 0:00:02.899 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 14:24:45 -0500 (0:00:00.034) 0:00:02.934 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822 `" && echo ansible-tmp-1739474685.767911-9048-196964031321822="` echo /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474685.767911-9048-196964031321822=/root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpv5rdmz20 TO /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpv5rdmz20 /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/ /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474685.767911-9048-196964031321822/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.413) 0:00:03.348 ***** 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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.022) 0:00:03.370 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 14:24:46 -0500 (0:00:00.031) 0:00:03.402 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023 `" && echo ansible-tmp-1739474686.252913-9058-231396760781023="` echo /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474686.252913-9058-231396760781023=/root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvwzoross TO /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvwzoross /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/ /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474686.252913-9058-231396760781023/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 14:24:49 -0500 (0:00:02.983) 0:00:06.385 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401 `" && echo ansible-tmp-1739474689.260923-9131-145140046923401="` echo /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474689.260923-9131-145140046923401=/root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4451oclc TO /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4451oclc /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/ /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474689.260923-9131-145140046923401/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 14:24:52 -0500 (0:00:02.910) 0:00:09.296 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630 `" && echo ansible-tmp-1739474692.175483-9316-165128238030630="` echo /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474692.175483-9316-165128238030630=/root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvaab9hna TO /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvaab9hna /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/ /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (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}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474692.175483-9316-165128238030630/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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, "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, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 14:24:52 -0500 (0:00:00.582) 0:00:09.878 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011 `" && echo ansible-tmp-1739474692.7606175-9407-128556903883011="` echo /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474692.7606175-9407-128556903883011=/root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpl6lc9xva TO /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpl6lc9xva /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/ /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (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}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474692.7606175-9407-128556903883011/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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, "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, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.400) 0:00:10.279 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472 `" && echo ansible-tmp-1739474693.1425946-9425-112981067102472="` echo /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474693.1425946-9425-112981067102472=/root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpm1kfz_77 TO /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/AnsiballZ_systemd.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpm1kfz_77 /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/AnsiballZ_systemd.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/ /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (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": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8667", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8667", "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=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3076096", "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": "22406", "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": "14004", "LimitNPROCSoft": "14004", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "system.slice dbus.socket sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.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": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "InactiveExitTimestamp": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "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": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "scope": "system", "no_block": false, "force": null, "masked": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474693.1425946-9425-112981067102472/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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": "system", "state": "started" } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Before": "multi-user.target shutdown.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": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "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": "8667", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; 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": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8667", "MemoryAccounting": "yes", "MemoryCurrent": "3076096", "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": "system.slice dbus.socket 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": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "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": "22406", "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": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 14:24:53 -0500 (0:00:00.793) 0:00:11.073 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470 `" && echo ansible-tmp-1739474693.953035-9452-103689555978470="` echo /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474693.953035-9452-103689555978470=/root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_nei49jy TO /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_nei49jy /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/ /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474693.953035-9452-103689555978470/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590 `" && echo ansible-tmp-1739474694.639457-9452-125108629156590="` echo /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474694.639457-9452-125108629156590=/root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpz091v9dg TO /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpz091v9dg /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/ /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474694.639457-9452-125108629156590/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 14:24:55 -0500 (0:00:01.524) 0:00:12.597 ***** 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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "group": 1041, "name": "certid", "owner": 1040 } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 14:24:55 -0500 (0:00:00.053) 0:00:12.651 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 14:24:55 -0500 (0:00:00.031) 0:00:12.682 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 14:24:55 -0500 (0:00:00.039) 0:00:12.722 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Thursday 13 February 2025 14:24:55 -0500 (0:00:00.047) 0:00:12.769 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474 `" && echo ansible-tmp-1739474695.597418-9486-172562955591474="` echo /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474695.597418-9486-172562955591474=/root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpk3h4i1df TO /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpk3h4i1df /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/ /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_apparmor": {"status": "disabled"}, "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_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "24", "second": "55", "epoch": "1739474695", "epoch_int": "1739474695", "date": "2025-02-13", "time": "14:24:55", "iso8601_micro": "2025-02-13T19:24:55.953362Z", "iso8601": "2025-02-13T19:24:55Z", "iso8601_basic": "20250213T142455953362", "iso8601_basic_short": "20250213T142455", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "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": "48df966995aa466a9e19c66342706fb2", "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_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_iscsi_iqn": "", "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_loadavg": {"1m": 0.56, "5m": 0.25, "15m": 0.12}, "ansible_is_chroot": false, "ansible_local": {}, "ansible_lsb": {}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 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_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_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2749, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 790, "free": 2749}, "nocache": {"free": 3304, "used": 235}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "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": 434, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263555137536, "block_size": 4096, "block_total": 65533179, "block_available": 64344516, "block_used": 1188663, "inode_total": 131071472, "inode_available": 130995958, "inode_used": 75514, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "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_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", "prefix": "8"}, "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_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "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_fibre_channel_wwn": [], "ansible_service_mgr": "systemd", "ansible_fips": false, "ansible_pkg_mgr": "dnf", "ansible_hostnqn": "", "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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474695.597418-9486-172562955591474/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:61 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.721) 0:00:13.490 ***** included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0640'}) included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/certid.crt', 'key_path': '/etc/pki/tls/private/certid.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 1040, 'group': 1041, 'mode': '0640'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.048) 0:00:13.538 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.013) 0:00:13.552 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.020) 0:00:13.573 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.016) 0:00:13.589 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:24:56 -0500 (0:00:00.017) 0:00:13.607 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633 `" && echo ansible-tmp-1739474696.474884-9501-190567737350633="` echo /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474696.474884-9501-190567737350633=/root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_fb1qlor TO /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_fb1qlor /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/ /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474696.474884-9501-190567737350633/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:24:59 -0500 (0:00:02.908) 0:00:16.515 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030 `" && echo ansible-tmp-1739474699.3552444-9747-223071044430030="` echo /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474699.3552444-9747-223071044430030=/root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpes7wn8s7 TO /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpes7wn8s7 /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/ /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474694.4676476, "mtime": 1739474694.4646475, "ctime": 1739474694.5316482, "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": "3c84ce787fa7e4e73dca0ac04337eb9437020090", "mimetype": "text/plain", "charset": "us-ascii", "version": "1002374751", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_fs_attrs.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474699.3552444-9747-223071044430030/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs.crt" } }, "stat": { "atime": 1739474694.4676476, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "3c84ce787fa7e4e73dca0ac04337eb9437020090", "ctime": 1739474694.5316482, "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": 1739474694.4646475, "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": "1002374751", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:24:59 -0500 (0:00:00.351) 0:00:16.867 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:24:59 -0500 (0:00:00.018) 0:00:16.885 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:24:59 -0500 (0:00:00.038) 0:00:16.924 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:24:59 -0500 (0:00:00.035) 0:00:16.960 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041 `" && echo ansible-tmp-1739474699.790177-9765-126692028183041="` echo /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474699.790177-9765-126692028183041=/root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp0wpis6cd TO /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp0wpis6cd /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/ /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474694.4236472, "mtime": 1739474694.4646475, "ctime": 1739474694.5326483, "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": "cc671e7357afbded49ee9df2bc884fafe66c04b0", "mimetype": "text/plain", "charset": "us-ascii", "version": "2357230081", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_fs_attrs.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474699.790177-9765-126692028183041/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_fs_attrs.key" } }, "stat": { "atime": 1739474694.4236472, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "cc671e7357afbded49ee9df2bc884fafe66c04b0", "ctime": 1739474694.5326483, "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": 1739474694.4646475, "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": "2357230081", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.335) 0:00:17.295 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.018) 0:00:17.314 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.042) 0:00:17.356 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035 `" && echo ansible-tmp-1739474700.1950076-9776-173937008533035="` echo /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474700.1950076-9776-173937008533035=/root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpa8lze0ct TO /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpa8lze0ct /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/ /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192454Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "2D:33:3C:1D:89:EC:83:6E:99:CA:F0:4B:A1:31:76:A5:9D:1E:2C:F2:78:64:F9:37:F5:ED:57:00:8B:24:AA:3C:C3:8F:9B:2E:91:B0:2F:AD:8D:9F:29:08:26:76:07:70:93:2C:B7:65:23:65:9F:65:68:C9:C6:07:1B:99:2D:ED:26:8A:8C:81:64:6E:58:56:6F:72:16:40:7B:B8:48:81:95:87:4A:A8:F4:01:DC:E7:00:E3:A5:A2:A3:AB:5D:75:9A:80:A6:1A:08:34:DB:3E:DB:A8:3C:B9:69:AC:5A:2A:3E:59:32:98:4F:DF:30:60:E2:7C:B3:52:52:CD:2B:23:D1:E6:72:FA:CE:83:57:17:C0:78:9C:E9:54:07:0B:98:B1:34:57:47:87:58:7C:39:25:7E:DA:7B:42:37:3C:A2:B1:95:74:A0:48:74:4F:76:D4:40:D7:58:A4:80:31:BD:32:43:1A:F4:28:2F:D9:6D:CA:E0:3C:7A:AB:80:15:A1:BA:2C:55:14:DE:BB:FB:A3:AF:F0:30:8F:24:4B:CC:B4:A6:33:A1:7A:A2:15:60:D8:BF:75:B1:FE:0E:2A:62:0A:8E:EA:08:0C:DF:8B:35:08:6B:BD:76:EA:D1:11:F3:50:E7:41:0D:D9:33:E8:9A:16:8D:3A:F3:19:19:80:4F:5F"}, "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": "13:19:F3:79:27:FF:11:53:21:24:2D:3A:07:E3:B0:64:DC:DE:71:63"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474700.1950076-9776-173937008533035/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "13:19:F3:79:27:FF:11:53:21:24:2D:3A:07:E3:B0:64:DC:DE:71:63" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:33:3C:1D:89:EC:83:6E:99:CA:F0:4B:A1:31:76:A5:9D:1E:2C:F2:78:64:F9:37:F5:ED:57:00:8B:24:AA:3C:C3:8F:9B:2E:91:B0:2F:AD:8D:9F:29:08:26:76:07:70:93:2C:B7:65:23:65:9F:65:68:C9:C6:07:1B:99:2D:ED:26:8A:8C:81:64:6E:58:56:6F:72:16:40:7B:B8:48:81:95:87:4A:A8:F4:01:DC:E7:00:E3:A5:A2:A3:AB:5D:75:9A:80:A6:1A:08:34:DB:3E:DB:A8:3C:B9:69:AC:5A:2A:3E:59:32:98:4F:DF:30:60:E2:7C:B3:52:52:CD:2B:23:D1:E6:72:FA:CE:83:57:17:C0:78:9C:E9:54:07:0B:98:B1:34:57:47:87:58:7C:39:25:7E:DA:7B:42:37:3C:A2:B1:95:74:A0:48:74:4F:76:D4:40:D7:58:A4:80:31:BD:32:43:1A:F4:28:2F:D9:6D:CA:E0:3C:7A:AB:80:15:A1:BA:2C:55:14:DE:BB:FB:A3:AF:F0:30:8F:24:4B:CC:B4:A6:33:A1:7A:A2:15:60:D8:BF:75:B1:FE:0E:2A:62:0A:8E:EA:08:0C:DF:8B:35:08:6B:BD:76:EA:D1:11:F3:50:E7:41:0D:D9:33:E8:9A:16:8D:3A:F3:19:19:80:4F:5F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192454Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.552) 0:00:17.908 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "13:19:F3:79:27:FF:11:53:21:24:2D:3A:07:E3:B0:64:DC:DE:71:63" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "2D:33:3C:1D:89:EC:83:6E:99:CA:F0:4B:A1:31:76:A5:9D:1E:2C:F2:78:64:F9:37:F5:ED:57:00:8B:24:AA:3C:C3:8F:9B:2E:91:B0:2F:AD:8D:9F:29:08:26:76:07:70:93:2C:B7:65:23:65:9F:65:68:C9:C6:07:1B:99:2D:ED:26:8A:8C:81:64:6E:58:56:6F:72:16:40:7B:B8:48:81:95:87:4A:A8:F4:01:DC:E7:00:E3:A5:A2:A3:AB:5D:75:9A:80:A6:1A:08:34:DB:3E:DB:A8:3C:B9:69:AC:5A:2A:3E:59:32:98:4F:DF:30:60:E2:7C:B3:52:52:CD:2B:23:D1:E6:72:FA:CE:83:57:17:C0:78:9C:E9:54:07:0B:98:B1:34:57:47:87:58:7C:39:25:7E:DA:7B:42:37:3C:A2:B1:95:74:A0:48:74:4F:76:D4:40:D7:58:A4:80:31:BD:32:43:1A:F4:28:2F:D9:6D:CA:E0:3C:7A:AB:80:15:A1:BA:2C:55:14:DE:BB:FB:A3:AF:F0:30:8F:24:4B:CC:B4:A6:33:A1:7A:A2:15:60:D8:BF:75:B1:FE:0E:2A:62:0A:8E:EA:08:0C:DF:8B:35:08:6B:BD:76:EA:D1:11:F3:50:E7:41:0D:D9:33:E8:9A:16:8D:3A:F3:19:19:80:4F:5F" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192454Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.018) 0:00:17.927 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.040) 0:00:17.968 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.024) 0:00:17.992 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.057) 0:00:18.049 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.062) 0:00:18.111 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:25:00 -0500 (0:00:00.047) 0:00:18.158 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478 `" && echo ansible-tmp-1739474700.9909134-9813-245040767481478="` echo /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474700.9909134-9813-245040767481478=/root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp27u07ox0 TO /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp27u07ox0 /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/ /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_fs_attrs.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:25:01.375078", "end": "2025-02-13 14:25:01.421515", "delta": "0:00:00.046437", "msg": "", "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, "expand_argument_vars": 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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474700.9909134-9813-245040767481478/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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.046437", "end": "2025-02-13 14:25:01.421515", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:25:01.375078" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.517) 0:00:18.676 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.038) 0:00:18.714 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.014) 0:00:18.728 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.018) 0:00:18.747 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.017) 0:00:18.764 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:25:01 -0500 (0:00:00.013) 0:00:18.778 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574 `" && echo ansible-tmp-1739474701.6306434-9830-106724115039574="` echo /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474701.6306434-9830-106724115039574=/root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpu3ea1tbl TO /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpu3ea1tbl /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/ /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474701.6306434-9830-106724115039574/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:25:04 -0500 (0:00:02.848) 0:00:21.626 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011 `" && echo ansible-tmp-1739474704.4578261-9867-25560608876011="` echo /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474704.4578261-9867-25560608876011=/root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpu0auw0lb TO /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpu0auw0lb /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/ /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474695.210655, "mtime": 1739474695.2086549, "ctime": 1739474695.3316562, "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": "d5ffb7819c68ddf327b8c353b5beb9a60e3dff1d", "mimetype": "text/plain", "charset": "us-ascii", "version": "3451348346", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/certid.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474704.4578261-9867-25560608876011/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/certid.crt" } }, "stat": { "atime": 1739474695.210655, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d5ffb7819c68ddf327b8c353b5beb9a60e3dff1d", "ctime": 1739474695.3316562, "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": 1739474695.2086549, "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": "3451348346", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:25:04 -0500 (0:00:00.331) 0:00:21.958 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:25:04 -0500 (0:00:00.021) 0:00:21.979 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:25:04 -0500 (0:00:00.038) 0:00:22.018 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:25:04 -0500 (0:00:00.038) 0:00:22.057 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212 `" && echo ansible-tmp-1739474704.8870213-9885-87071595693212="` echo /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474704.8870213-9885-87071595693212=/root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpztanc_nn TO /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpztanc_nn /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/ /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474695.1676545, "mtime": 1739474695.2086549, "ctime": 1739474695.3316562, "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": "30aac7b46b9ccf6d0ae2b139c10d6327d9ccf4ee", "mimetype": "text/plain", "charset": "us-ascii", "version": "4149063347", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/certid.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474704.8870213-9885-87071595693212/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/certid.key" } }, "stat": { "atime": 1739474695.1676545, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "30aac7b46b9ccf6d0ae2b139c10d6327d9ccf4ee", "ctime": 1739474695.3316562, "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": 1739474695.2086549, "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": "4149063347", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.329) 0:00:22.386 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.018) 0:00:22.405 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.038) 0:00:22.444 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604 `" && echo ansible-tmp-1739474705.2748508-9895-239541798111604="` echo /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474705.2748508-9895-239541798111604=/root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpo4wrvdtj TO /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpo4wrvdtj /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/ /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192455Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "B3:69:3E:26:7C:65:40:5C:49:EA:F8:94:56:30:27:A4:CB:93:95:2A:11:88:39:D8:C6:9B:6C:0E:5F:FD:FE:8C:EC:3C:D9:D5:1C:11:DD:DA:60:EE:77:72:56:EB:41:62:75:5C:6D:BC:FD:6D:0A:1B:E5:67:53:7E:01:0B:AF:E3:4F:70:7F:1B:AD:34:6D:BA:56:4B:E9:62:AF:85:3A:03:38:08:57:8C:A8:60:AF:65:88:33:49:5E:14:14:F2:6F:05:80:33:49:1A:34:ED:9F:4D:C8:5F:7D:96:27:15:2B:1B:42:81:D8:0A:82:8C:9C:EC:9B:B5:70:DF:1B:93:65:C4:E4:A3:D9:DC:12:56:C4:70:E3:22:7E:D7:1A:CE:1E:5F:B9:B4:95:60:10:73:D0:B6:33:E1:65:F6:54:62:32:D3:C0:50:AF:C3:32:2D:08:DE:26:FC:0E:A8:B3:F0:DF:F1:CB:06:D8:0E:8B:89:E6:E5:E7:8A:F3:59:54:67:FD:2A:42:0E:CC:96:96:4D:5D:2E:12:19:AB:18:7F:DE:99:FB:FE:00:C2:C9:B9:FB:34:30:D6:EA:9F:4E:F8:32:6F:C1:F2:C0:09:DB:81:87:CB:05:4E:04:F5:E1:35:A6:5C:2C:CA:3E:6F:C3:BC:45:78:54:BA:6B:9E:19:EB:4F:51"}, "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": "44:8F:B6:92:78:99:A7:60:8E:AD:EC:D8:5C:DD:30:6C:A2:6A:6B:1C"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474705.2748508-9895-239541798111604/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "44:8F:B6:92:78:99:A7:60:8E:AD:EC:D8:5C:DD:30:6C:A2:6A:6B:1C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B3:69:3E:26:7C:65:40:5C:49:EA:F8:94:56:30:27:A4:CB:93:95:2A:11:88:39:D8:C6:9B:6C:0E:5F:FD:FE:8C:EC:3C:D9:D5:1C:11:DD:DA:60:EE:77:72:56:EB:41:62:75:5C:6D:BC:FD:6D:0A:1B:E5:67:53:7E:01:0B:AF:E3:4F:70:7F:1B:AD:34:6D:BA:56:4B:E9:62:AF:85:3A:03:38:08:57:8C:A8:60:AF:65:88:33:49:5E:14:14:F2:6F:05:80:33:49:1A:34:ED:9F:4D:C8:5F:7D:96:27:15:2B:1B:42:81:D8:0A:82:8C:9C:EC:9B:B5:70:DF:1B:93:65:C4:E4:A3:D9:DC:12:56:C4:70:E3:22:7E:D7:1A:CE:1E:5F:B9:B4:95:60:10:73:D0:B6:33:E1:65:F6:54:62:32:D3:C0:50:AF:C3:32:2D:08:DE:26:FC:0E:A8:B3:F0:DF:F1:CB:06:D8:0E:8B:89:E6:E5:E7:8A:F3:59:54:67:FD:2A:42:0E:CC:96:96:4D:5D:2E:12:19:AB:18:7F:DE:99:FB:FE:00:C2:C9:B9:FB:34:30:D6:EA:9F:4E:F8:32:6F:C1:F2:C0:09:DB:81:87:CB:05:4E:04:F5:E1:35:A6:5C:2C:CA:3E:6F:C3:BC:45:78:54:BA:6B:9E:19:EB:4F:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192455Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/certid.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.390) 0:00:22.834 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "44:8F:B6:92:78:99:A7:60:8E:AD:EC:D8:5C:DD:30:6C:A2:6A:6B:1C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "B3:69:3E:26:7C:65:40:5C:49:EA:F8:94:56:30:27:A4:CB:93:95:2A:11:88:39:D8:C6:9B:6C:0E:5F:FD:FE:8C:EC:3C:D9:D5:1C:11:DD:DA:60:EE:77:72:56:EB:41:62:75:5C:6D:BC:FD:6D:0A:1B:E5:67:53:7E:01:0B:AF:E3:4F:70:7F:1B:AD:34:6D:BA:56:4B:E9:62:AF:85:3A:03:38:08:57:8C:A8:60:AF:65:88:33:49:5E:14:14:F2:6F:05:80:33:49:1A:34:ED:9F:4D:C8:5F:7D:96:27:15:2B:1B:42:81:D8:0A:82:8C:9C:EC:9B:B5:70:DF:1B:93:65:C4:E4:A3:D9:DC:12:56:C4:70:E3:22:7E:D7:1A:CE:1E:5F:B9:B4:95:60:10:73:D0:B6:33:E1:65:F6:54:62:32:D3:C0:50:AF:C3:32:2D:08:DE:26:FC:0E:A8:B3:F0:DF:F1:CB:06:D8:0E:8B:89:E6:E5:E7:8A:F3:59:54:67:FD:2A:42:0E:CC:96:96:4D:5D:2E:12:19:AB:18:7F:DE:99:FB:FE:00:C2:C9:B9:FB:34:30:D6:EA:9F:4E:F8:32:6F:C1:F2:C0:09:DB:81:87:CB:05:4E:04:F5:E1:35:A6:5C:2C:CA:3E:6F:C3:BC:45:78:54:BA:6B:9E:19:EB:4F:51" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192455Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.018) 0:00:22.853 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.036) 0:00:22.889 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.017) 0:00:22.907 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.044) 0:00:22.952 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.044) 0:00:22.997 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:25:05 -0500 (0:00:00.040) 0:00:23.037 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583 `" && echo ansible-tmp-1739474705.8668985-9916-127192785198583="` echo /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474705.8668985-9916-127192785198583=/root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvvay5szq TO /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpvvay5szq /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/ /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:25:06.107174", "end": "2025-02-13 14:25:06.153788", "delta": "0:00:00.046614", "msg": "", "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, "expand_argument_vars": 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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474705.8668985-9916-127192785198583/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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.046614", "end": "2025-02-13 14:25:06.153788", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:25:06.107174" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:25:06 -0500 (0:00:00.372) 0:00:23.409 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY [Issue certificate setting user/group/mode] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Thursday 13 February 2025 14:25:06 -0500 (0:00:00.041) 0:00:23.450 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740 `" && echo ansible-tmp-1739474706.278205-9926-186724880397740="` echo /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474706.278205-9926-186724880397740=/root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpbh_ohjww TO /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpbh_ohjww /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/ /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (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": "48df966995aa466a9e19c66342706fb2", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "ansible_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_lsb": {}, "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_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "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_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2749, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 790, "free": 2749}, "nocache": {"free": 3304, "used": 235}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "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": 445, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263559155712, "block_size": 4096, "block_total": 65533179, "block_available": 64345497, "block_used": 1187682, "inode_total": 131071472, "inode_available": 130995958, "inode_used": 75514, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_pkg_mgr": "dnf", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "25", "second": "06", "epoch": "1739474706", "epoch_int": "1739474706", "date": "2025-02-13", "time": "14:25:06", "iso8601_micro": "2025-02-13T19:25:06.860410Z", "iso8601": "2025-02-13T19:25:06Z", "iso8601_basic": "20250213T142506860410", "iso8601_basic_short": "20250213T142506", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_apparmor": {"status": "disabled"}, "ansible_loadavg": {"1m": 0.52, "5m": 0.25, "15m": 0.13}, "ansible_local": {}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "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_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", "prefix": "8"}, "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_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 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_fips": false, "ansible_is_chroot": false, "ansible_fibre_channel_wwn": [], "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "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_iscsi_iqn": "", "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_hostnqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474706.278205-9926-186724880397740/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 14:25:06 -0500 (0:00:00.727) 0:00:24.178 ***** included: /tmp/collections-QGy/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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 14:25:06 -0500 (0:00:00.021) 0:00:24.199 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "__certificate_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 14:25:07 -0500 (0:00:00.038) 0:00:24.238 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 14:25:07 -0500 (0:00:00.017) 0:00:24.255 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 14:25:07 -0500 (0:00:00.020) 0:00:24.276 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 14:25:07 -0500 (0:00:00.031) 0:00:24.307 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972 `" && echo ansible-tmp-1739474707.1576617-9954-163054820813972="` echo /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474707.1576617-9954-163054820813972=/root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp55xz7hhz TO /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp55xz7hhz /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/ /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474707.1576617-9954-163054820813972/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 14:25:09 -0500 (0:00:02.873) 0:00:27.181 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950 `" && echo ansible-tmp-1739474710.0421216-10024-100336809003950="` echo /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474710.0421216-10024-100336809003950=/root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp6x48emye TO /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp6x48emye /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/ /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474710.0421216-10024-100336809003950/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 14:25:12 -0500 (0:00:02.849) 0:00:30.030 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072 `" && echo ansible-tmp-1739474712.8900843-10065-12020163373072="` echo /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474712.8900843-10065-12020163373072=/root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_o8i193_ TO /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp_o8i193_ /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/ /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (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}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474712.8900843-10065-12020163373072/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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, "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, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 14:25:13 -0500 (0:00:00.377) 0:00:30.408 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921 `" && echo ansible-tmp-1739474713.276775-10088-225765410250921="` echo /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474713.276775-10088-225765410250921=/root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/file.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp57rwl8r7 TO /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/AnsiballZ_file.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp57rwl8r7 /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/AnsiballZ_file.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/ /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/AnsiballZ_file.py && sleep 0'"'"'' <10.31.12.33> (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}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474713.276775-10088-225765410250921/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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, "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, "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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 14:25:13 -0500 (0:00:00.383) 0:00:30.791 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946 `" && echo ansible-tmp-1739474713.6770055-10102-8727562260946="` echo /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474713.6770055-10102-8727562260946=/root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/systemd.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpx2i490gc TO /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/AnsiballZ_systemd.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpx2i490gc /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/AnsiballZ_systemd.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/ /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.12.33> (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": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "8667", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8667", "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=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3809280", "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": "22406", "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": "14004", "LimitNPROCSoft": "14004", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "system.slice dbus.socket sysinit.target", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.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": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "InactiveExitTimestamp": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "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": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "scope": "system", "no_block": false, "force": null, "masked": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474713.6770055-10102-8727562260946/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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": "system", "state": "started" } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 14:24:34 EST", "ActiveEnterTimestampMonotonic": "413743386", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice network.target dbus.service syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 14:24:34 EST", "AssertTimestampMonotonic": "413732159", "Before": "multi-user.target shutdown.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": "Thu 2025-02-13 14:24:34 EST", "ConditionTimestampMonotonic": "413732158", "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": "8667", "ExecMainStartTimestamp": "Thu 2025-02-13 14:24:34 EST", "ExecMainStartTimestampMonotonic": "413732974", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 14:24:34 EST] ; stop_time=[n/a] ; pid=8667 ; 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": "Thu 2025-02-13 14:24:34 EST", "InactiveExitTimestampMonotonic": "413733027", "InvocationID": "d62947c4298b4b0bb75bb8f7dcbdc3d4", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8667", "MemoryAccounting": "yes", "MemoryCurrent": "3809280", "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": "system.slice dbus.socket 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": "Thu 2025-02-13 14:24:34 EST", "StateChangeTimestampMonotonic": "413743386", "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": "22406", "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": "Thu 2025-02-13 14:24:34 EST", "WatchdogTimestampMonotonic": "413743383", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 14:25:14 -0500 (0:00:00.544) 0:00:31.336 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639 `" && echo ansible-tmp-1739474714.226036-10127-136823186818639="` echo /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474714.226036-10127-136823186818639=/root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpr1qa7azy TO /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpr1qa7azy /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/ /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474714.226036-10127-136823186818639/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') 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.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251 `" && echo ansible-tmp-1739474714.9822497-10127-132569827971251="` echo /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474714.9822497-10127-132569827971251=/root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp796z8x5j TO /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/AnsiballZ_certificate_request.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp796z8x5j /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/AnsiballZ_certificate_request.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/ /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.12.33> (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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474714.9822497-10127-132569827971251/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 14:25:15 -0500 (0:00:01.418) 0:00:32.754 ***** 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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(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, "false_condition": "certificate_test_mode | d(false)", "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "mode": "0600", "name": "certid_mode" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 14:25:15 -0500 (0:00:00.068) 0:00:32.822 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 14:25:15 -0500 (0:00:00.048) 0:00:32.871 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 14:25:15 -0500 (0:00:00.049) 0:00:32.921 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "certificate_test_mode | d(false)", "skip_reason": "Conditional result was False" } PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Thursday 13 February 2025 14:25:15 -0500 (0:00:00.065) 0:00:32.986 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405 `" && echo ansible-tmp-1739474715.8208454-10309-271869939629405="` echo /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474715.8208454-10309-271869939629405=/root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/setup.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp0ii_0kqi TO /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/AnsiballZ_setup.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp0ii_0kqi /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/AnsiballZ_setup.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/ /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"ansible_facts": {"ansible_fips": 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": "48df966995aa466a9e19c66342706fb2", "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_processor_nproc": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2749, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 790, "free": 2749}, "nocache": {"free": 3305, "used": 234}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_vendor": "Xen", "ansible_bios_version": "4.11.amazon", "ansible_board_asset_tag": "NA", "ansible_board_name": "NA", "ansible_board_serial": "NA", "ansible_board_vendor": "NA", "ansible_board_version": "NA", "ansible_chassis_asset_tag": "NA", "ansible_chassis_serial": "NA", "ansible_chassis_vendor": "Xen", "ansible_chassis_version": "NA", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "ansible_product_uuid": "ec2857ff-1d99-a0f9-c809-0277348eebf8", "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": 455, "ansible_lvm": "N/A", "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263558619136, "block_size": 4096, "block_total": 65533179, "block_available": 64345366, "block_used": 1187813, "inode_total": 131071472, "inode_available": 130995952, "inode_used": 75520, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.15.0 51162 10.31.12.33 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "6", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.15.0 51162 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": "AAAAB3NzaC1kc3MAAACBAN2klPKG/1fLaHA6jZUD/9CjifltFVHFUdGO5PqfNxkJyVOqTrYJi43zTj5H8aa7mRGU9idHSTcIduhOOlMBPcu9vHDGfz2FREOTBBRpU3K1UMMc6mXF34M2J32P8PRahMNQrfvoXSk6BhHHxMcCEsfoLEWLWn3q/FYO0HkuMbj5AAAAFQCI/G/9QaQpWILkXGevam0Vo3/vnwAAAIBfTk5Dc/aQvIBWCbYvmPJRZBz1sOdGgEzX0mmYA8MdRZartl7P1XN/VcGw2u7k0fATWy77s3LPHqEIhS35em4s6c8cfYeIOPzi4XLYRQG3E/VQQHg8XYAmp2CUQ2NovJdEXUAfflhubYUA7IcEBB8t/2xqfVtioZFLRjshWqs50QAAAIEAuPCvJO76raNuEL751Dp+Wz6lNvzAAuLEt+6vB9mOWMm+BaXpVhUiBKTV35flVyFuyVNqro3Oo1EMYs7p0vY60NzvPQHBaim8mtZECjeHS5IwmP3L8I+Vc+Q0SesRIGzus6HypG9r4XUFDHuGeLYpGlx9uZTXOqhRUsQMasSqaA4=", "ansible_ssh_host_key_dsa_public_keytype": "ssh-dss", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDph71RA9AZoveT9c2HA/tXKGHMmDK8oQLXr+vxxllgIcM3ZC8bOgSXcvEixB6DACnmrTXHAgjLFzvJN6VSm2QelrbuB1E0DHt4+q4ArdJHDqj3JB+SCYEAiO5MvPQ3cihwNHPS3nZejHw/ZjVFY4/uF0t5TP5JlzmICuf6Zw15gDqvZRydltlqpTk+gtmOK1bnqoX5EDeqYAwIuAsxNFdSj5wiosTqMhMf8yIFbO9wlJvMFRfUTyWVvUVT/Elmz4Vbkv342kBPZG2rrh9FONPZoxITZACk2ZHZSD8vIkSuuuMwS7CtnJJeB10fWEInzpFZSggk8thc8k9UxVzlZhXDiK+e4V4f/PVHsSOkUMcidqOtGS58fxqO4fWZkAET1CgQo4hvDrbfLIv7cC+MWrS1sRcvFG2FJqC8bnZXZisay+HPOzDc+5D1dDOIUCfoTzAKJsgFJrZGTLs6oaACTVJFZP7fFxIlrprGy5pbAihz6/5G5tnthrbtPappvpKW+d0=", "ansible_ssh_host_key_rsa_public_keytype": "ssh-rsa", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCuYUuXeruf7baU+TVWJPs/uIFVBrbIrag4Ubd14XvoTTURsRk3gaG1LDqOqPf3UydwsFPXDHQrVQYBn1/ThWI8=", "ansible_ssh_host_key_ecdsa_public_keytype": "ecdsa-sha2-nistp256", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIBwgrlYAHj2fqxy7xe30/G1ntqLLPDGj30C7ykZsKPaV", "ansible_ssh_host_key_ed25519_public_keytype": "ssh-ed25519", "ansible_local": {}, "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_lsb": {}, "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_virtualization_tech_guest": ["xen"], "ansible_virtualization_tech_host": [], "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_distribution": "CentOS", "ansible_distribution_release": "Stream", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/centos-release", "ansible_distribution_file_variety": "CentOS", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_is_chroot": false, "ansible_iscsi_iqn": "", "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_fibre_channel_wwn": [], "ansible_interfaces": ["lo", "eth0"], "ansible_eth0": {"device": "eth0", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22"}, "ipv6": [{"address": "fe80::8ff:e0ff:fe75:4f4b", "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_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", "prefix": "8"}, "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_default_ipv4": {"gateway": "10.31.12.1", "interface": "eth0", "address": "10.31.12.33", "broadcast": "10.31.15.255", "netmask": "255.255.252.0", "network": "10.31.12.0", "prefix": "22", "macaddress": "0a:ff:e0:75:4f:4b", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.12.33"], "ansible_all_ipv6_addresses": ["fe80::8ff:e0ff:fe75:4f4b"], "ansible_locally_reachable_ips": {"ipv4": ["10.31.12.33", "127.0.0.0/8", "127.0.0.1"], "ipv6": ["::1", "fe80::8ff:e0ff:fe75:4f4b"]}, "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_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "14", "minute": "25", "second": "16", "epoch": "1739474716", "epoch_int": "1739474716", "date": "2025-02-13", "time": "14:25:16", "iso8601_micro": "2025-02-13T19:25:16.458186Z", "iso8601": "2025-02-13T19:25:16Z", "iso8601_basic": "20250213T142516458186", "iso8601_basic_short": "20250213T142516", "tz": "EST", "tz_dst": "EDT", "tz_offset": "-0500"}, "ansible_hostnqn": "", "ansible_apparmor": {"status": "disabled"}, "ansible_pkg_mgr": "dnf", "ansible_loadavg": {"1m": 0.59, "5m": 0.28, "15m": 0.14}, "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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474715.8208454-10309-271869939629405/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] TASK [Verify each certificate] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:112 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.755) 0:00:33.742 ***** included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/mycert_fs_attrs_mode.crt', 'key_path': '/etc/pki/tls/private/mycert_fs_attrs_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'owner': 'ftp', 'group': 'ftp', 'mode': '0620'}) included: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node2 => (item={'path': '/etc/pki/tls/certs/certid_mode.crt', 'key_path': '/etc/pki/tls/private/certid_mode.key', 'subject': [{'name': 'commonName', 'oid': '2.5.4.3', 'value': 'www.example.com'}], 'subject_alt_name': [{'name': 'DNS', 'value': 'www.example.com'}], 'mode': '0600'}) TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.063) 0:00:33.806 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.016) 0:00:33.823 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.019) 0:00:33.843 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.018) 0:00:33.861 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:25:16 -0500 (0:00:00.013) 0:00:33.875 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507 `" && echo ansible-tmp-1739474716.7258976-10337-168750227197507="` echo /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474716.7258976-10337-168750227197507=/root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp3qhvap8z TO /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp3qhvap8z /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/ /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474716.7258976-10337-168750227197507/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:25:19 -0500 (0:00:02.822) 0:00:36.697 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939 `" && echo ansible-tmp-1739474719.5281363-10380-173613322008939="` echo /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474719.5281363-10380-173613322008939=/root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp3ceq40f_ TO /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp3ceq40f_ /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/ /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474714.8098474, "mtime": 1739474714.8068473, "ctime": 1739474714.8418477, "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": "6a2c9d7c8b84a4dc02c8b61a43cabb2869d7ee45", "mimetype": "text/plain", "charset": "us-ascii", "version": "1520863642", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474719.5281363-10380-173613322008939/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt" } }, "stat": { "atime": 1739474714.8098474, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6a2c9d7c8b84a4dc02c8b61a43cabb2869d7ee45", "ctime": 1739474714.8418477, "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": 1739474714.8068473, "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": "1520863642", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:25:19 -0500 (0:00:00.333) 0:00:37.031 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:25:19 -0500 (0:00:00.018) 0:00:37.049 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:25:19 -0500 (0:00:00.039) 0:00:37.088 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:25:19 -0500 (0:00:00.038) 0:00:37.126 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008 `" && echo ansible-tmp-1739474719.9578204-10391-8214059706008="` echo /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474719.9578204-10391-8214059706008=/root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpauafl9o5 TO /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpauafl9o5 /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/ /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1708, "inode": 7718639, "dev": 51713, "nlink": 1, "atime": 1739474714.7648468, "mtime": 1739474714.8068473, "ctime": 1739474714.8428476, "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": "04503fbfe9de93d560cfc7927c323725f8d49dbb", "mimetype": "text/plain", "charset": "us-ascii", "version": "1689225409", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474719.9578204-10391-8214059706008/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key" } }, "stat": { "atime": 1739474714.7648468, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "04503fbfe9de93d560cfc7927c323725f8d49dbb", "ctime": 1739474714.8428476, "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": 1739474714.8068473, "nlink": 1, "path": "/etc/pki/tls/private/mycert_fs_attrs_mode.key", "pw_name": "ftp", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1708, "uid": 14, "version": "1689225409", "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.351) 0:00:37.478 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.022) 0:00:37.500 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.040) 0:00:37.541 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469 `" && echo ansible-tmp-1739474720.3753178-10412-13529805313469="` echo /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474720.3753178-10412-13529805313469=/root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmps9kbbyoy TO /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmps9kbbyoy /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/ /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192514Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "90:44:A2:B9:FF:97:4F:07:4A:B3:67:6B:49:DB:6E:EA:D8:00:7F:9D:24:E9:60:5A:6D:14:18:B0:3A:A0:17:7A:3D:E0:A4:34:DF:30:18:F8:B5:CC:DF:CD:5C:10:E1:06:99:07:36:B4:52:B5:54:FE:10:54:D9:E8:A9:C5:88:86:A5:A8:BF:87:10:0F:3A:72:FC:75:2E:8B:06:0E:71:3A:BF:77:08:55:EE:FF:69:F2:44:FE:9D:61:0A:5D:18:AE:65:F1:D1:65:C2:E2:BD:F1:AA:B5:AE:24:FE:E6:3B:C3:95:3A:6E:D5:3D:FD:22:52:56:A7:B9:BB:A1:92:71:5A:A5:BC:DE:78:57:29:6C:F5:8F:7C:5B:DE:6F:E7:19:27:00:1A:D3:17:A4:E3:89:9C:81:06:A5:F8:0F:C7:F7:72:9C:D8:EE:1A:3A:0F:B2:7F:9E:91:0E:21:5A:5E:71:42:4D:31:9A:BA:72:03:48:CB:6B:BB:30:03:CF:04:80:85:B5:B4:78:F9:19:69:54:FD:B1:53:6B:AF:B3:AD:EC:A1:24:FA:3C:18:1E:AF:30:9A:0B:7C:4E:54:99:78:42:BA:36:4B:95:E9:93:66:D1:08:9C:F5:BB:EC:B1:04:20:57:36:AA:04:68:89:7C:F8:B7:30:07:E5:C0:DB:D5:D5:59"}, "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": "46:50:00:5E:37:BA:C7:73:66:2E:7B:31:F7:07:0D:83:40:C6:E9:8C"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_fs_attrs_mode.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474720.3753178-10412-13529805313469/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "46:50:00:5E:37:BA:C7:73:66:2E:7B:31:F7:07:0D:83:40:C6:E9:8C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "90:44:A2:B9:FF:97:4F:07:4A:B3:67:6B:49:DB:6E:EA:D8:00:7F:9D:24:E9:60:5A:6D:14:18:B0:3A:A0:17:7A:3D:E0:A4:34:DF:30:18:F8:B5:CC:DF:CD:5C:10:E1:06:99:07:36:B4:52:B5:54:FE:10:54:D9:E8:A9:C5:88:86:A5:A8:BF:87:10:0F:3A:72:FC:75:2E:8B:06:0E:71:3A:BF:77:08:55:EE:FF:69:F2:44:FE:9D:61:0A:5D:18:AE:65:F1:D1:65:C2:E2:BD:F1:AA:B5:AE:24:FE:E6:3B:C3:95:3A:6E:D5:3D:FD:22:52:56:A7:B9:BB:A1:92:71:5A:A5:BC:DE:78:57:29:6C:F5:8F:7C:5B:DE:6F:E7:19:27:00:1A:D3:17:A4:E3:89:9C:81:06:A5:F8:0F:C7:F7:72:9C:D8:EE:1A:3A:0F:B2:7F:9E:91:0E:21:5A:5E:71:42:4D:31:9A:BA:72:03:48:CB:6B:BB:30:03:CF:04:80:85:B5:B4:78:F9:19:69:54:FD:B1:53:6B:AF:B3:AD:EC:A1:24:FA:3C:18:1E:AF:30:9A:0B:7C:4E:54:99:78:42:BA:36:4B:95:E9:93:66:D1:08:9C:F5:BB:EC:B1:04:20:57:36:AA:04:68:89:7C:F8:B7:30:07:E5:C0:DB:D5:D5:59" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192514Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.393) 0:00:37.934 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "46:50:00:5E:37:BA:C7:73:66:2E:7B:31:F7:07:0D:83:40:C6:E9:8C" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "90:44:A2:B9:FF:97:4F:07:4A:B3:67:6B:49:DB:6E:EA:D8:00:7F:9D:24:E9:60:5A:6D:14:18:B0:3A:A0:17:7A:3D:E0:A4:34:DF:30:18:F8:B5:CC:DF:CD:5C:10:E1:06:99:07:36:B4:52:B5:54:FE:10:54:D9:E8:A9:C5:88:86:A5:A8:BF:87:10:0F:3A:72:FC:75:2E:8B:06:0E:71:3A:BF:77:08:55:EE:FF:69:F2:44:FE:9D:61:0A:5D:18:AE:65:F1:D1:65:C2:E2:BD:F1:AA:B5:AE:24:FE:E6:3B:C3:95:3A:6E:D5:3D:FD:22:52:56:A7:B9:BB:A1:92:71:5A:A5:BC:DE:78:57:29:6C:F5:8F:7C:5B:DE:6F:E7:19:27:00:1A:D3:17:A4:E3:89:9C:81:06:A5:F8:0F:C7:F7:72:9C:D8:EE:1A:3A:0F:B2:7F:9E:91:0E:21:5A:5E:71:42:4D:31:9A:BA:72:03:48:CB:6B:BB:30:03:CF:04:80:85:B5:B4:78:F9:19:69:54:FD:B1:53:6B:AF:B3:AD:EC:A1:24:FA:3C:18:1E:AF:30:9A:0B:7C:4E:54:99:78:42:BA:36:4B:95:E9:93:66:D1:08:9C:F5:BB:EC:B1:04:20:57:36:AA:04:68:89:7C:F8:B7:30:07:E5:C0:DB:D5:D5:59" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192514Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.018) 0:00:37.953 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.043) 0:00:37.996 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.021) 0:00:38.018 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.038) 0:00:38.056 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.042) 0:00:38.098 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:25:20 -0500 (0:00:00.040) 0:00:38.139 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498 `" && echo ansible-tmp-1739474720.9694145-10434-81499930842498="` echo /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474720.9694145-10434-81499930842498=/root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmptjqu8e4h TO /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmptjqu8e4h /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/ /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "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\'", "start": "2025-02-13 14:25:21.209225", "end": "2025-02-13 14:25:21.259385", "delta": "0:00:00.050160", "msg": "", "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, "expand_argument_vars": 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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474720.9694145-10434-81499930842498/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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.050160", "end": "2025-02-13 14:25:21.259385", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:25:21.209225" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.376) 0:00:38.516 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.041) 0:00:38.558 ***** ok: [managed-node2] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.013) 0:00:38.571 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.021) 0:00:38.593 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "not __certificate_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.017) 0:00:38.611 ***** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == \"7\"", "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 14:25:21 -0500 (0:00:00.014) 0:00:38.626 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486 `" && echo ansible-tmp-1739474721.4773223-10454-269946360616486="` echo /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474721.4773223-10454-269946360616486=/root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/dnf.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpzkd_meo2 TO /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/AnsiballZ_dnf.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpzkd_meo2 /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/AnsiballZ_dnf.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/ /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.12.33> (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, "cacheonly": 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, "sslverify": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "use_backend": "auto", "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474721.4773223-10454-269946360616486/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "allowerasing": false, "autoremove": false, "bugfix": false, "cacheonly": 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" ], "nobest": false, "releasever": null, "security": false, "skip_broken": false, "sslverify": true, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 14:25:24 -0500 (0:00:02.829) 0:00:41.455 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466 `" && echo ansible-tmp-1739474724.286742-10499-117719813525466="` echo /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474724.286742-10499-117719813525466=/root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpwr6h4irx TO /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpwr6h4irx /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/ /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474715.4308534, "mtime": 1739474715.4278533, "ctime": 1739474715.4278533, "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": "adaee4d03602b23870d095c448fc2bf68a55d7c1", "mimetype": "text/plain", "charset": "us-ascii", "version": "3477834186", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/certid_mode.crt", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474724.286742-10499-117719813525466/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/certs/certid_mode.crt" } }, "stat": { "atime": 1739474715.4308534, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "adaee4d03602b23870d095c448fc2bf68a55d7c1", "ctime": 1739474715.4278533, "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": 1739474715.4278533, "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": "3477834186", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 14:25:24 -0500 (0:00:00.344) 0:00:41.800 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 14:25:24 -0500 (0:00:00.018) 0:00:41.818 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 14:25:24 -0500 (0:00:00.039) 0:00:41.858 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 14:25:24 -0500 (0:00:00.037) 0:00:41.896 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604 `" && echo ansible-tmp-1739474724.727351-10518-249319805830604="` echo /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474724.727351-10518-249319805830604=/root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/stat.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpi82llnc9 TO /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/AnsiballZ_stat.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmpi82llnc9 /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/AnsiballZ_stat.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/ /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.12.33> (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": 1739474715.387853, "mtime": 1739474715.4278533, "ctime": 1739474715.4278533, "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": "6514d52a854bd43ada617d32193e5ecc2d2938b0", "mimetype": "text/plain", "charset": "us-ascii", "version": "2721967886", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/certid_mode.key", "follow": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474724.727351-10518-249319805830604/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_mime": true, "path": "/etc/pki/tls/private/certid_mode.key" } }, "stat": { "atime": 1739474715.387853, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "6514d52a854bd43ada617d32193e5ecc2d2938b0", "ctime": 1739474715.4278533, "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": 1739474715.4278533, "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": "2721967886", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.346) 0:00:42.242 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.021) 0:00:42.264 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.040) 0:00:42.305 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367 `" && echo ansible-tmp-1739474725.14139-10532-265452194204367="` echo /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474725.14139-10532-265452194204367=/root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367\n', b'') Using module file /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4viy7z2m TO /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/AnsiballZ_certtojson.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp4viy7z2m /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/AnsiballZ_certtojson.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/ /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213192434Z", "not_valid_before": "20250213192515Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "06:70:41:45:92:5D:3B:52:5B:08:3C:6A:F8:C6:89:B9:C2:80:BA:E5:2F:4A:E5:D3:3C:E1:44:1C:74:2A:29:AD:81:E1:A7:93:C5:D4:B6:71:34:AB:71:AE:85:2B:3F:63:EF:98:DB:24:14:98:AB:F4:00:35:BD:9F:6B:AD:D2:6B:BD:03:B1:14:BE:EE:82:FE:51:5C:61:CD:BA:65:8E:88:BD:47:F8:B5:4C:3C:5A:11:C4:B4:3F:26:2F:D2:1A:D2:24:EE:BA:D2:8F:AC:A4:FC:9D:A6:DC:DD:00:F0:03:0F:66:9A:8C:61:84:63:D7:BD:96:28:2B:F8:69:C5:75:26:C3:A1:BE:8C:1C:9D:D7:A4:B9:4E:3D:A7:64:16:4C:D8:58:A2:C0:20:55:2C:90:24:EF:C5:E1:E4:FE:D5:62:BC:4B:9B:F2:FB:D8:A3:EB:70:EC:4F:1C:90:AE:71:FC:28:11:A3:6C:8C:70:CE:45:38:FB:CF:74:F1:62:C8:7E:7C:67:56:CE:5D:CC:43:9A:24:CE:8B:27:40:A3:83:12:BD:BD:EA:75:C1:FE:07:C2:14:8E:B4:8A:42:DD:7C:35:EE:42:AD:1C:BA:E5:E3:CB:94:57:3D:E9:23:A7:26:DD:34:7F:E9:9F:5A:E4:4A:72:77:A2:09:42:61:E7:4B:64:C6"}, "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": "29:4D:DA:9C:C3:1A:14:C0:63:D5:56:DD:17:2A:F7:0F:5C:D6:0A:3E"}, "authorityKeyIdentifier": {"critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/certid_mode.crt"}}}\r\n', b'Shared connection to 10.31.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474725.14139-10532-265452194204367/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') ok: [managed-node2] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "29:4D:DA:9C:C3:1A:14:C0:63:D5:56:DD:17:2A:F7:0F:5C:D6:0A:3E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "06:70:41:45:92:5D:3B:52:5B:08:3C:6A:F8:C6:89:B9:C2:80:BA:E5:2F:4A:E5:D3:3C:E1:44:1C:74:2A:29:AD:81:E1:A7:93:C5:D4:B6:71:34:AB:71:AE:85:2B:3F:63:EF:98:DB:24:14:98:AB:F4:00:35:BD:9F:6B:AD:D2:6B:BD:03:B1:14:BE:EE:82:FE:51:5C:61:CD:BA:65:8E:88:BD:47:F8:B5:4C:3C:5A:11:C4:B4:3F:26:2F:D2:1A:D2:24:EE:BA:D2:8F:AC:A4:FC:9D:A6:DC:DD:00:F0:03:0F:66:9A:8C:61:84:63:D7:BD:96:28:2B:F8:69:C5:75:26:C3:A1:BE:8C:1C:9D:D7:A4:B9:4E:3D:A7:64:16:4C:D8:58:A2:C0:20:55:2C:90:24:EF:C5:E1:E4:FE:D5:62:BC:4B:9B:F2:FB:D8:A3:EB:70:EC:4F:1C:90:AE:71:FC:28:11:A3:6C:8C:70:CE:45:38:FB:CF:74:F1:62:C8:7E:7C:67:56:CE:5D:CC:43:9A:24:CE:8B:27:40:A3:83:12:BD:BD:EA:75:C1:FE:07:C2:14:8E:B4:8A:42:DD:7C:35:EE:42:AD:1C:BA:E5:E3:CB:94:57:3D:E9:23:A7:26:DD:34:7F:E9:9F:5A:E4:4A:72:77:A2:09:42:61:E7:4B:64:C6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192515Z" } }, "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-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.395) 0:00:42.701 ***** ok: [managed-node2] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C8:CE:D5:5C:E9:32:BB:52:7F:B7:AB:C9:E2:03:89:82:0D:36:21:A8" }, "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": "29:4D:DA:9C:C3:1A:14:C0:63:D5:56:DD:17:2A:F7:0F:5C:D6:0A:3E" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "06:70:41:45:92:5D:3B:52:5B:08:3C:6A:F8:C6:89:B9:C2:80:BA:E5:2F:4A:E5:D3:3C:E1:44:1C:74:2A:29:AD:81:E1:A7:93:C5:D4:B6:71:34:AB:71:AE:85:2B:3F:63:EF:98:DB:24:14:98:AB:F4:00:35:BD:9F:6B:AD:D2:6B:BD:03:B1:14:BE:EE:82:FE:51:5C:61:CD:BA:65:8E:88:BD:47:F8:B5:4C:3C:5A:11:C4:B4:3F:26:2F:D2:1A:D2:24:EE:BA:D2:8F:AC:A4:FC:9D:A6:DC:DD:00:F0:03:0F:66:9A:8C:61:84:63:D7:BD:96:28:2B:F8:69:C5:75:26:C3:A1:BE:8C:1C:9D:D7:A4:B9:4E:3D:A7:64:16:4C:D8:58:A2:C0:20:55:2C:90:24:EF:C5:E1:E4:FE:D5:62:BC:4B:9B:F2:FB:D8:A3:EB:70:EC:4F:1C:90:AE:71:FC:28:11:A3:6C:8C:70:CE:45:38:FB:CF:74:F1:62:C8:7E:7C:67:56:CE:5D:CC:43:9A:24:CE:8B:27:40:A3:83:12:BD:BD:EA:75:C1:FE:07:C2:14:8E:B4:8A:42:DD:7C:35:EE:42:AD:1C:BA:E5:E3:CB:94:57:3D:E9:23:A7:26:DD:34:7F:E9:9F:5A:E4:4A:72:77:A2:09:42:61:E7:4B:64:C6" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213192434Z", "not_valid_before": "20250213192515Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.019) 0:00:42.720 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.057) 0:00:42.778 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.029) 0:00:42.807 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.054) 0:00:42.862 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.053) 0:00:42.915 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 14:25:25 -0500 (0:00:00.047) 0:00:42.963 ***** <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.12.33> (0, b'/root\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396 `" && echo ansible-tmp-1739474725.795787-10560-197517127882396="` echo /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396 `" ) && sleep 0'"'"'' <10.31.12.33> (0, b'ansible-tmp-1739474725.795787-10560-197517127882396=/root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396\n', b'') Using module file /usr/local/lib/python3.12/site-packages/ansible/modules/command.py <10.31.12.33> PUT /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp03295m_c TO /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/AnsiballZ_command.py <10.31.12.33> 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/1fd825fbc6"' '[10.31.12.33]' <10.31.12.33> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8909zqm9oey9/tmp03295m_c /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/AnsiballZ_command.py\n', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/ /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'', b'') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' -tt 10.31.12.33 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/AnsiballZ_command.py && sleep 0'"'"'' <10.31.12.33> (0, b'\r\n{"changed": true, "stdout": "yes", "stderr": "", "rc": 0, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/certid_mode.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "start": "2025-02-13 14:25:26.030309", "end": "2025-02-13 14:25:26.080276", "delta": "0:00:00.049967", "msg": "", "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, "expand_argument_vars": 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.12.33 closed.\r\n') <10.31.12.33> ESTABLISH SSH CONNECTION FOR USER: None <10.31.12.33> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o 'ControlPath="/root/.ansible/cp/1fd825fbc6"' 10.31.12.33 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739474725.795787-10560-197517127882396/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.12.33> (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.049967", "end": "2025-02-13 14:25:26.080276", "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, "expand_argument_vars": true, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true } }, "rc": 0, "start": "2025-02-13 14:25:26.030309" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 14:25:26 -0500 (0:00:00.370) 0:00:43.333 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=99 changed=4 unreachable=0 failed=0 skipped=26 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Thursday 13 February 2025 14:25:26 -0500 (0:00:00.048) 0:00:43.382 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.98s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.91s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.91s /tmp/collections-QGy/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.87s /tmp/collections-QGy/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-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Ensure python3 is installed --------------------------------------------- 2.85s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.83s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Ensure python3 is installed --------------------------------------------- 2.82s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.52s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.42s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.08s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.79s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Gathering Facts --------------------------------------------------------- 0.76s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:85 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:67 Gathering Facts --------------------------------------------------------- 0.73s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:14 Gathering Facts --------------------------------------------------------- 0.72s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:32 Ensure user exists ------------------------------------------------------ 0.59s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_fs_attrs.yml:5 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.58s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Parse certificate ------------------------------------------------------- 0.55s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.54s /tmp/collections-QGy/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90