ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-kuH.yml as it did not pass its verify_file() method Parsed /tmp/inventory-kuH.yml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_run_hooks.yml ************************************************** 2 plays in /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml PLAY [Issue simple self-signed certificate] ************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 Thursday 13 February 2025 13:50:50 -0500 (0:00:00.041) 0:00:00.041 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644 `" && echo ansible-tmp-1739472650.51-14277-227569831035644="` echo /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472650.51-14277-227569831035644=/root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644\n', '') Attempting python interpreter discovery <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.40.119> (0, 'PLATFORM\nLinux\nFOUND\n/usr/bin/python\n/usr/bin/python2.7\n/usr/libexec/platform-python\n/usr/bin/python\nENDFOUND\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' <10.31.40.119> (0, '{"osrelease_content": "NAME=\\"CentOS Linux\\"\\nVERSION=\\"7 (Core)\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"7\\"\\nPRETTY_NAME=\\"CentOS Linux 7 (Core)\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:7\\"\\nHOME_URL=\\"https://www.centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugs.centos.org/\\"\\n\\nCENTOS_MANTISBT_PROJECT=\\"CentOS-7\\"\\nCENTOS_MANTISBT_PROJECT_VERSION=\\"7\\"\\nREDHAT_SUPPORT_PRODUCT=\\"centos\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"7\\"\\n\\n", "platform_dist_result": ["centos", "7.9.2009", "Core"]}\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpEOpbKC TO /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/AnsiballZ_setup.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpEOpbKC /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/AnsiballZ_setup.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/ /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 40026 22", "SSH_CONNECTION": "10.31.42.233 40026 10.31.40.119 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:29:31:ac:de:97", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.40.119", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "76eb2972e59f406f96180c0f5268c8d5", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2BA71C-3451-C88F-000D-B29EDFE452E1", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c29:31ff:feac:de97"], "ansible_uptime_seconds": 343, "ansible_kernel": "3.10.0-1160.119.1.el7.x86_64", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "ec2ba71c-3451-c88f-000d-b29edfe452e1", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:29:31:ac:de:97", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.40.119"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c29:31ff:feac:de97"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.40.119"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 843, "free": 2757}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 181, "free": 3419}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2757, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "ansible_mounts": [{"block_used": 3203699, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287161, "size_available": 251032211456, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65219, "block_size": 4096, "inode_available": 16318781}], "ansible_nodename": "managed-node1", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T135051", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472651", "iso8601_micro": "2025-02-13T18:50:51.367385Z", "weekday": "Thursday", "time": "13:50:51", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:51Z", "day": "13", "iso8601_basic": "20250213T135051367385", "second": "51"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472650.51-14277-227569831035644/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:50:51 -0500 (0:00:00.996) 0:00:01.037 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:50:51 -0500 (0:00:00.030) 0:00:01.068 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:50:51 -0500 (0:00:00.053) 0:00:01.122 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157 `" && echo ansible-tmp-1739472651.61-14318-70199715986157="` echo /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472651.61-14318-70199715986157=/root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpk9MYUt TO /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpk9MYUt /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/ /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/run/ostree-booted", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"exists": false}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472651.61-14318-70199715986157/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:50:52 -0500 (0:00:00.533) 0:00:01.655 ***** ok: [managed-node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:50:52 -0500 (0:00:00.050) 0:00:01.706 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:50:52 -0500 (0:00:00.103) 0:00:01.809 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402 `" && echo ansible-tmp-1739472652.42-14342-70843790540402="` echo /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472652.42-14342-70843790540402=/root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpTDkPtI TO /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpTDkPtI /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/ /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python-pyasn1", "python-cryptography", "python-dbus"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472652.42-14342-70843790540402/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python-pyasn1", "python-cryptography", "python-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:50:53 -0500 (0:00:01.776) 0:00:03.585 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547 `" && echo ansible-tmp-1739472654.21-14427-27891347209547="` echo /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472654.21-14427-27891347209547=/root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp4VbG72 TO /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp4VbG72 /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/ /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": "present", "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["certmonger"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472654.21-14427-27891347209547/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:50:54 -0500 (0:00:00.751) 0:00:04.337 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155 `" && echo ansible-tmp-1739472654.86-14461-177274710981155="` echo /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472654.86-14461-177274710981155=/root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpLQn0sO TO /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/AnsiballZ_file.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpLQn0sO /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/AnsiballZ_file.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/ /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//pre-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//pre-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//pre-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//pre-scripts"}, "before": {"path": "/etc/certmonger//pre-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472654.86-14461-177274710981155/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:50:55 -0500 (0:00:00.600) 0:00:04.937 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422 `" && echo ansible-tmp-1739472655.47-14489-193081789406422="` echo /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472655.47-14489-193081789406422=/root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/file.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpq3zxEw TO /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/AnsiballZ_file.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpq3zxEw /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/AnsiballZ_file.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/ /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/AnsiballZ_file.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"group": "root", "uid": 0, "changed": false, "owner": "root", "state": "directory", "gid": 0, "secontext": "unconfined_u:object_r:etc_t:s0", "mode": "0700", "path": "/etc/certmonger//post-scripts", "invocation": {"module_args": {"directory_mode": null, "force": false, "remote_src": null, "_original_basename": null, "path": "/etc/certmonger//post-scripts", "owner": "root", "follow": true, "group": "root", "unsafe_writes": false, "setype": null, "content": null, "serole": null, "selevel": null, "state": "directory", "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "modification_time": null, "regexp": null, "src": null, "name": "/etc/certmonger//post-scripts", "seuser": null, "recurse": false, "_diff_peek": null, "delimiter": null, "mode": "0700", "modification_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null}}, "diff": {"after": {"path": "/etc/certmonger//post-scripts"}, "before": {"path": "/etc/certmonger//post-scripts"}}, "size": 4096}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472655.47-14489-193081789406422/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:50:55 -0500 (0:00:00.430) 0:00:05.367 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143 `" && echo ansible-tmp-1739472655.85-14519-108368003240143="` echo /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472655.85-14519-108368003240143=/root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/systemd.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpOZSdkF TO /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/AnsiballZ_systemd.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpOZSdkF /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/AnsiballZ_systemd.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/ /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"status": {"ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:49:52 EST] ; stop_time=[n/a] ; pid=9729 ; code=(null) ; status=0/0 }", "TimeoutStopUSec": "1min 30s", "ControlGroup": "/system.slice/certmonger.service", "RuntimeDirectoryMode": "0755", "GuessMainPID": "yes", "ExecMainCode": "0", "UnitFileState": "enabled", "BusName": "org.fedorahosted.certmonger", "LimitSIGPENDING": "14311", "FileDescriptorStoreMax": "0", "LoadState": "loaded", "ProtectHome": "no", "TTYVTDisallocate": "no", "StartLimitInterval": "10000000", "WatchdogTimestampMonotonic": "284868829", "LimitSTACK": "18446744073709551615", "ActiveEnterTimestampMonotonic": "284869051", "AllowIsolate": "no", "AssertTimestamp": "Thu 2025-02-13 13:49:52 EST", "IgnoreOnSnapshot": "no", "StartLimitAction": "none", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "CPUSchedulingPriority": "0", "KillSignal": "15", "LimitFSIZE": "18446744073709551615", "IgnoreOnIsolate": "no", "LimitCPU": "18446744073709551615", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:52 EST", "WatchdogTimestamp": "Thu 2025-02-13 13:49:52 EST", "NoNewPrivileges": "no", "MemoryLimit": "18446744073709551615", "TTYReset": "no", "CanStart": "yes", "JobTimeoutAction": "none", "Before": "multi-user.target shutdown.target", "LimitAS": "18446744073709551615", "RootDirectoryStartOnly": "no", "InactiveExitTimestampMonotonic": "284848311", "ExecMainPID": "9729", "SendSIGHUP": "no", "TimeoutStartUSec": "1min 30s", "Type": "dbus", "SyslogPriority": "30", "SameProcessGroup": "no", "LimitNPROC": "14311", "UMask": "0022", "NonBlocking": "no", "DevicePolicy": "auto", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:52 EST", "CapabilityBoundingSet": "18446744073709551615", "PIDFile": "/var/run/certmonger.pid", "OOMScoreAdjust": "0", "StartLimitBurst": "5", "RefuseManualStart": "no", "KillMode": "control-group", "SyslogLevelPrefix": "yes", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "Delegate": "no", "SecureBits": "0", "LimitCORE": "18446744073709551615", "JobTimeoutUSec": "0", "TimerSlackNSec": "50000", "SubState": "running", "CPUSchedulingResetOnFork": "no", "Result": "success", "CPUShares": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestampMonotonic": "284846496", "MainPID": "9729", "StartupBlockIOWeight": "18446744073709551615", "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:52 EST", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "StartupCPUShares": "18446744073709551615", "WatchdogUSec": "0", "ActiveState": "active", "Nice": "0", "LimitDATA": "18446744073709551615", "UnitFilePreset": "disabled", "MemoryCurrent": "18446744073709551615", "LimitRTTIME": "18446744073709551615", "WantedBy": "multi-user.target", "TasksCurrent": "18446744073709551615", "RestartUSec": "100ms", "ConditionTimestamp": "Thu 2025-02-13 13:49:52 EST", "CPUAccounting": "no", "CPUSchedulingPolicy": "0", "PrivateNetwork": "no", "Restart": "no", "RemainAfterExit": "no", "LimitNOFILE": "4096", "SendSIGKILL": "yes", "StatusErrno": "0", "RefuseManualStop": "no", "SystemCallErrorNumber": "0", "TasksAccounting": "no", "NeedDaemonReload": "no", "TTYVHangup": "no", "StandardInput": "null", "AssertTimestampMonotonic": "284846498", "DefaultDependencies": "yes", "Requires": "basic.target system.slice", "TasksMax": "18446744073709551615", "CPUQuotaPerSecUSec": "infinity", "ExecMainStatus": "0", "LimitMEMLOCK": "65536", "StopWhenUnneeded": "no", "LimitMSGQUEUE": "819200", "AmbientCapabilities": "0", "Slice": "system.slice", "ExecMainExitTimestampMonotonic": "0", "CollectMode": "inactive", "NotifyAccess": "none", "PermissionsStartOnly": "no", "BlockIOAccounting": "no", "CanStop": "yes", "PrivateTmp": "no", "OnFailureJobMode": "replace", "AssertResult": "yes", "LimitLOCKS": "18446744073709551615", "ExecMainStartTimestampMonotonic": "284847217", "StandardError": "inherit", "LimitNICE": "0", "After": "basic.target network.target dbus.service syslog.target system.slice systemd-journald.socket", "FailureAction": "none", "CanIsolate": "no", "Conflicts": "shutdown.target", "StandardOutput": "journal", "MountFlags": "0", "InactiveEnterTimestampMonotonic": "0", "MemoryAccounting": "no", "IgnoreSIGPIPE": "yes", "Transient": "no", "IOScheduling": "0", "Description": "Certificate monitoring and PKI enrollment", "ActiveExitTimestampMonotonic": "0", "CanReload": "no", "ControlPID": "0", "BlockIOWeight": "18446744073709551615", "Names": "certmonger.service", "ProtectSystem": "no", "PrivateDevices": "no", "Id": "certmonger.service"}, "name": "certmonger", "changed": false, "enabled": true, "state": "started", "invocation": {"module_args": {"no_block": false, "force": null, "name": "certmonger", "daemon_reexec": false, "enabled": true, "daemon_reload": false, "state": "started", "masked": null, "scope": null, "user": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472655.85-14519-108368003240143/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "invocation": { "module_args": { "daemon_reexec": false, "daemon_reload": false, "enabled": true, "force": null, "masked": null, "name": "certmonger", "no_block": false, "scope": null, "state": "started", "user": null } }, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2025-02-13 13:49:52 EST", "ActiveEnterTimestampMonotonic": "284869051", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target dbus.service syslog.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:49:52 EST", "AssertTimestampMonotonic": "284846498", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:49:52 EST", "ConditionTimestampMonotonic": "284846496", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9729", "ExecMainStartTimestamp": "Thu 2025-02-13 13:49:52 EST", "ExecMainStartTimestampMonotonic": "284847217", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:49:52 EST] ; stop_time=[n/a] ; pid=9729 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 13:49:52 EST", "InactiveExitTimestampMonotonic": "284848311", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9729", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:49:52 EST", "WatchdogTimestampMonotonic": "284868829", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:50:56 -0500 (0:00:00.979) 0:00:06.347 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336 `" && echo ansible-tmp-1739472656.9-14567-266931277455336="` echo /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472656.9-14567-266931277455336=/root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpxtGr9_ TO /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/AnsiballZ_certificate_request.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpxtGr9_ /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/AnsiballZ_certificate_request.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/ /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "Certificate requested (new). Pre/Post run hooks updated.", "invocation": {"module_args": {"auto_renew": true, "ip": null, "ca": "self-sign", "owner": null, "key_usage": ["digitalSignature", "keyEncipherment"], "common_name": null, "principal": null, "group": null, "locality": null, "state": null, "organizational_unit": null, "dns": ["www.example.com"], "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "wait": true, "email": null, "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "contact_email": null, "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\\n", "run_before": "touch /etc/pki/before_cert.tmp\\n", "key_size": null, "mode": null, "country": null, "directory": "/etc/pki/tls", "organization": null}}, "changed": true}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472656.9-14567-266931277455336/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') changed: [managed-node1] => (item={u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'touch /etc/pki/after_cert.tmp\n'}) => { "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": null, "name": "mycert_run_hooks", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n", "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } } MSG: Certificate requested (new). Pre/Post run hooks updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:50:58 -0500 (0:00:01.283) 0:00:07.630 ***** skipping: [managed-node1] => (item=[u'cert', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'key', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=[u'ca', {u'run_before': u'touch /etc/pki/before_cert.tmp\n', u'ca': u'self-sign', u'name': u'mycert_run_hooks', u'dns': u'www.example.com', u'run_after': u'touch /etc/pki/after_cert.tmp\n'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "name": "mycert_run_hooks", "run_after": "touch /etc/pki/after_cert.tmp\n", "run_before": "touch /etc/pki/before_cert.tmp\n" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:50:58 -0500 (0:00:00.174) 0:00:07.804 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:50:58 -0500 (0:00:00.062) 0:00:07.867 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:50:58 -0500 (0:00:00.063) 0:00:07.930 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY [Verify certificate] ****************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Thursday 13 February 2025 13:50:58 -0500 (0:00:00.072) 0:00:08.003 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162 `" && echo ansible-tmp-1739472658.46-14776-107524340631162="` echo /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472658.46-14776-107524340631162=/root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/setup.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpqSUMhm TO /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/AnsiballZ_setup.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpqSUMhm /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/AnsiballZ_setup.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/ /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filter": "*", "gather_subset": ["all"], "fact_path": "/etc/ansible/facts.d", "gather_timeout": 10}}, "ansible_facts": {"ansible_fibre_channel_wwn": [], "module_setup": true, "ansible_distribution_version": "7.9", "ansible_distribution_file_variety": "RedHat", "ansible_env": {"LANG": "en_US.UTF-8", "_": "/usr/bin/python", "SHELL": "/bin/bash", "XDG_RUNTIME_DIR": "/run/user/0", "SHLVL": "2", "SSH_TTY": "/dev/pts/0", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "PWD": "/root", "SELINUX_LEVEL_REQUESTED": "", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "SELINUX_ROLE_REQUESTED": "", "SELINUX_USE_CURRENT_RANGE": "", "LOGNAME": "root", "USER": "root", "HOME": "/root", "MAIL": "/var/mail/root", "LS_COLORS": "", "XDG_SESSION_ID": "4", "SSH_CLIENT": "10.31.42.233 40026 22", "SSH_CONNECTION": "10.31.42.233 40026 10.31.40.119 22"}, "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_default_ipv4": {"macaddress": "0e:29:31:ac:de:97", "network": "10.31.40.0", "mtu": 9001, "broadcast": "10.31.43.255", "alias": "eth0", "netmask": "255.255.252.0", "address": "10.31.40.119", "interface": "eth0", "type": "ether", "gateway": "10.31.40.1"}, "ansible_swapfree_mb": 0, "ansible_default_ipv6": {}, "ansible_cmdline": {"LANG": "en_US.UTF-8", "console": "ttyS0,115200n8", "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_machine_id": "76eb2972e59f406f96180c0f5268c8d5", "ansible_userspace_architecture": "x86_64", "ansible_product_uuid": "EC2BA71C-3451-C88F-000D-B29EDFE452E1", "ansible_pkg_mgr": "yum", "ansible_distribution": "CentOS", "ansible_iscsi_iqn": "", "ansible_all_ipv6_addresses": ["fe80::c29:31ff:feac:de97"], "ansible_uptime_seconds": 351, "ansible_kernel": "3.10.0-1160.119.1.el7.x86_64", "ansible_system_capabilities_enforced": "True", "ansible_python": {"executable": "/usr/bin/python", "version": {"micro": 5, "major": 2, "releaselevel": "final", "serial": 0, "minor": 7}, "type": "CPython", "has_sslcontext": true, "version_info": [2, 7, 5, "final", 0]}, "ansible_is_chroot": false, "ansible_hostnqn": "", "ansible_user_shell": "/bin/bash", "ansible_product_serial": "ec2ba71c-3451-c88f-000d-b29edfe452e1", "ansible_form_factor": "Other", "ansible_distribution_file_parsed": true, "ansible_fips": false, "ansible_user_id": "root", "ansible_selinux_python_present": true, "ansible_kernel_version": "#1 SMP Tue Jun 4 14:43:51 UTC 2024", "ansible_local": {}, "ansible_processor_vcpus": 2, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDLhgxdLl6pVPEd/biZMLjq4e9Hk93d+cIFZX/2W8ZOf4TAURC2IF9QpTl0vkjtu9IAk3OAjcbDVyEt28xJnNeA=", "ansible_user_gid": 0, "ansible_system_vendor": "Xen", "ansible_swaptotal_mb": 0, "ansible_distribution_major_version": "7", "ansible_real_group_id": 0, "ansible_lsb": {}, "ansible_machine": "x86_64", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC8vEeoR1Hoag0dVpE46EaTBu29NRDnS4P+weynmE3G7OKEzNvjlrMCjdvGeTvxHj6Rte+p3pLiDn14+ya/Fj6XXnl8O0ag8w9xXtePKP0f83L9pXfRxoU69UQHdZECaDvXbDczvkJPkg3ggRPF2K5FfNOajohGA1NTCn4vwq6fD7FzLndfHi4iXER8uNyPtnm01bYYBIxgkk1fNJh/XE88lYvzGQISj2k9hjhH7udnSZPu2l1cWKW5WyW7Gf1mXNHjX8KcgtLFhqCgzfJVmpDtmpehHSEjnR2jS2I7mzn+PgvLJLpREcpPrP88/5ysA3gsTs32dDBlIvLPT/QJNzY3", "ansible_user_gecos": "root", "ansible_processor_threads_per_core": 2, "ansible_eth0": {"macaddress": "0e:29:31:ac:de:97", "features": {"tx_checksum_ipv4": "on [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "on", "tx_scatter_gather_fraglist": "off [fixed]", "rx_all": "off [fixed]", "highdma": "off [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "off [fixed]", "tx_tcp_ecn_segmentation": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "on [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_checksumming": "on", "vlan_challenged": "off [fixed]", "loopback": "off [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "off [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "pciid": "vif-0", "module": "xen_netfront", "mtu": 9001, "device": "eth0", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "10.31.43.255", "netmask": "255.255.252.0", "network": "10.31.40.0", "address": "10.31.40.119"}, "ipv6": [{"scope": "link", "prefix": "64", "address": "fe80::c29:31ff:feac:de97"}], "active": true, "type": "ether", "hw_timestamp_filters": []}, "ansible_product_name": "HVM domU", "ansible_all_ipv4_addresses": ["10.31.40.119"], "ansible_python_version": "2.7.5", "ansible_product_version": "4.11.amazon", "ansible_service_mgr": "systemd", "ansible_memory_mb": {"real": {"total": 3600, "used": 843, "free": 2757}, "swap": {"cached": 0, "total": 0, "free": 0, "used": 0}, "nocache": {"used": 180, "free": 3420}}, "ansible_user_dir": "/root", "gather_subset": ["all"], "ansible_real_user_id": 0, "ansible_virtualization_role": "guest", "ansible_dns": {"nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"], "search": ["us-east-1.aws.redhat.com"]}, "ansible_effective_group_id": 0, "ansible_lo": {"features": {"tx_checksum_ipv4": "off [fixed]", "generic_receive_offload": "on", "tx_checksum_ipv6": "off [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "rx_all": "off [fixed]", "highdma": "on [fixed]", "rx_fcs": "off [fixed]", "tx_lockless": "on [fixed]", "tx_tcp_ecn_segmentation": "on", "rx_udp_tunnel_port_offload": "off [fixed]", "tx_tcp6_segmentation": "on", "tx_gso_robust": "off [fixed]", "tx_ipip_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "on", "tx_checksumming": "on", "vlan_challenged": "on [fixed]", "loopback": "on [fixed]", "fcoe_mtu": "off [fixed]", "scatter_gather": "on", "tx_checksum_sctp": "on [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "tx_gso_partial": "off [fixed]", "rx_gro_hw": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "large_receive_offload": "off [fixed]", "tx_scatter_gather": "on [fixed]", "rx_checksumming": "on [fixed]", "tx_tcp_segmentation": "on", "netns_local": "on [fixed]", "busy_poll": "off [fixed]", "generic_segmentation_offload": "on", "tx_udp_tnl_segmentation": "off [fixed]", "tcp_segmentation_offload": "on", "l2_fwd_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_nocache_copy": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "udp_fragmentation_offload": "on", "tx_sctp_segmentation": "on", "tx_sit_segmentation": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "hw_tc_offload": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "rx_vlan_filter": "off [fixed]", "tx_vlan_offload": "off [fixed]", "receive_hashing": "off [fixed]", "tx_gre_segmentation": "off [fixed]"}, "hw_timestamp_filters": [], "mtu": 65536, "device": "lo", "promisc": false, "timestamping": ["rx_software", "software"], "ipv4": {"broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0", "address": "127.0.0.1"}, "ipv6": [{"scope": "host", "prefix": "128", "address": "::1"}], "active": true, "type": "loopback"}, "ansible_memtotal_mb": 3600, "ansible_device_links": {"masters": {}, "labels": {}, "ids": {}, "uuids": {"xvda1": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}}, "ansible_apparmor": {"status": "disabled"}, "ansible_proc_cmdline": {"LANG": "en_US.UTF-8", "console": ["tty0", "ttyS0,115200n8"], "net.ifnames": "0", "rhgb": true, "crashkernel": "auto", "BOOT_IMAGE": "/boot/vmlinuz-3.10.0-1160.119.1.el7.x86_64", "ro": true, "root": "UUID=c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"}, "ansible_memfree_mb": 2757, "ansible_processor_count": 1, "ansible_hostname": "managed-node1", "ansible_interfaces": ["lo", "eth0"], "ansible_selinux": {"status": "enabled", "policyvers": 31, "type": "targeted", "mode": "enforcing", "config_mode": "enforcing"}, "ansible_fqdn": "managed-node1", "ansible_mounts": [{"block_used": 3203735, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "size_total": 264154562560, "block_total": 64490860, "mount": "/", "block_available": 61287125, "size_available": 251032064000, "fstype": "ext4", "inode_total": 16384000, "options": "rw,seclabel,relatime,data=ordered", "device": "/dev/xvda1", "inode_used": 65226, "block_size": 4096, "inode_available": 16318774}], "ansible_nodename": "managed-node1", "ansible_domain": "", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_virtualization_type": "xen", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAICQv41kEJzqf0Fw0vfBNofL1PGsqN8YLbJvWx5Tb7CQy", "ansible_processor_cores": 1, "ansible_bios_version": "4.11.amazon", "ansible_date_time": {"weekday_number": "4", "iso8601_basic_short": "20250213T135058", "tz": "EST", "weeknumber": "06", "hour": "13", "year": "2025", "minute": "50", "tz_offset": "-0500", "month": "02", "epoch": "1739472658", "iso8601_micro": "2025-02-13T18:50:58.970604Z", "weekday": "Thursday", "time": "13:50:58", "date": "2025-02-13", "iso8601": "2025-02-13T18:50:58Z", "day": "13", "iso8601_basic": "20250213T135058970604", "second": "58"}, "ansible_distribution_release": "Core", "ansible_os_family": "RedHat", "ansible_effective_user_id": 0, "ansible_system": "Linux", "ansible_devices": {"xvda": {"scheduler_mode": "deadline", "rotational": "0", "vendor": null, "sectors": "524288000", "links": {"masters": [], "labels": [], "ids": [], "uuids": []}, "sas_device_handle": null, "sas_address": null, "virtual": 1, "host": "", "sectorsize": "512", "removable": "0", "support_discard": "0", "model": null, "partitions": {"xvda1": {"sectorsize": 512, "uuid": "c7b7d6a5-fd01-4b9b-bcca-153eaff9d312", "links": {"masters": [], "labels": [], "ids": [], "uuids": ["c7b7d6a5-fd01-4b9b-bcca-153eaff9d312"]}, "sectors": "524285919", "start": "2048", "holders": [], "size": "250.00 GB"}}, "holders": [], "size": "250.00 GB"}}, "ansible_user_uid": 0, "ansible_bios_date": "08/24/2006", "ansible_system_capabilities": ["cap_chown", "cap_dac_override", "cap_dac_read_search", "cap_fowner", "cap_fsetid", "cap_kill", "cap_setgid", "cap_setuid", "cap_setpcap", "cap_linux_immutable", "cap_net_bind_service", "cap_net_broadcast", "cap_net_admin", "cap_net_raw", "cap_ipc_lock", "cap_ipc_owner", "cap_sys_module", "cap_sys_rawio", "cap_sys_chroot", "cap_sys_ptrace", "cap_sys_pacct", "cap_sys_admin", "cap_sys_boot", "cap_sys_nice", "cap_sys_resource", "cap_sys_time", "cap_sys_tty_config", "cap_mknod", "cap_lease", "cap_audit_write", "cap_audit_control", "cap_setfcap", "cap_mac_override", "cap_mac_admin", "cap_syslog", "35", "36+ep"]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472658.46-14776-107524340631162/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] META: ran handlers TASK [Verify each certificate] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:31 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.644) 0:00:08.648 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node1 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.088) 0:00:08.737 ***** ok: [managed-node1] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.024) 0:00:08.762 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.046) 0:00:08.808 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.041) 0:00:08.850 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050 `" && echo ansible-tmp-1739472659.38-14931-209654891304050="` echo /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472659.38-14931-209654891304050=/root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/packaging/os/yum.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpigbrGA TO /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/AnsiballZ_yum.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpigbrGA /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/AnsiballZ_yum.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/ /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/AnsiballZ_yum.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"msg": "", "invocation": {"module_args": {"lock_timeout": 30, "update_cache": false, "disable_excludes": null, "exclude": [], "allow_downgrade": false, "disable_gpg_check": false, "conf_file": null, "use_backend": "auto", "state": null, "disablerepo": [], "releasever": null, "skip_broken": false, "autoremove": false, "download_dir": null, "enable_plugin": [], "installroot": "/", "install_weak_deps": true, "name": ["python2-cryptography", "python2-cryptography"], "download_only": false, "bugfix": false, "list": null, "install_repoquery": true, "update_only": false, "disable_plugin": [], "enablerepo": [], "security": false, "validate_certs": true}}, "changed": false, "results": ["python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed"], "rc": 0}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472659.38-14931-209654891304050/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python2-cryptography", "python2-cryptography" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "use_backend": "auto", "validate_certs": true } }, "rc": 0, "results": [ "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python2-cryptography is already installed" ] } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.623) 0:00:09.473 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:50:59 -0500 (0:00:00.111) 0:00:09.585 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797 `" && echo ansible-tmp-1739472660.09-14980-169382240550797="` echo /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472660.09-14980-169382240550797=/root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpHUYxWs TO /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpHUYxWs /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/ /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472657.7685778, "block_size": 4096, "inode": 172752, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744073063257383", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "xusr": false, "atime": 1739472657.7725778, "isdir": false, "ctime": 1739472657.7685778, "isblk": false, "wgrp": false, "checksum": "8cef2addaf68848c8a5327361f3084566b89c7e7", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472660.09-14980-169382240550797/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt" } }, "stat": { "atime": 1739472657.7725778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8cef2addaf68848c8a5327361f3084566b89c7e7", "ctime": 1739472657.7685778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472657.7685778, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744073063257383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:51:00 -0500 (0:00:00.407) 0:00:09.993 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:51:00 -0500 (0:00:00.075) 0:00:10.068 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:51:00 -0500 (0:00:00.085) 0:00:10.154 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:51:00 -0500 (0:00:00.059) 0:00:10.214 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128 `" && echo ansible-tmp-1739472660.71-15004-40831064953128="` echo /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472660.71-15004-40831064953128=/root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpsdXWOa TO /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpsdXWOa /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/ /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472657.7685778, "block_size": 4096, "inode": 172750, "isgid": false, "size": 1704, "executable": false, "isuid": false, "readable": true, "version": "18446744073063257368", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/private/mycert_run_hooks.key", "xusr": false, "atime": 1739472657.7235777, "isdir": false, "ctime": 1739472657.7685778, "isblk": false, "wgrp": false, "checksum": "f5528ce5b52c90f54c4875d9d704ac2fc56304b6", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472660.71-15004-40831064953128/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/private/mycert_run_hooks.key" } }, "stat": { "atime": 1739472657.7235777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "f5528ce5b52c90f54c4875d9d704ac2fc56304b6", "ctime": 1739472657.7685778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172750, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472657.7685778, "nlink": 1, "path": "/etc/pki/tls/private/mycert_run_hooks.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1704, "uid": 0, "version": "18446744073063257368", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:51:01 -0500 (0:00:00.477) 0:00:10.691 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:51:01 -0500 (0:00:00.072) 0:00:10.763 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:51:01 -0500 (0:00:00.081) 0:00:10.845 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337 `" && echo ansible-tmp-1739472661.36-15032-159556701695337="` echo /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472661.36-15032-159556701695337=/root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337\n', '') Using module file /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp6cW7p6 TO /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/AnsiballZ_certtojson.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp6cW7p6 /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/AnsiballZ_certtojson.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/ /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_run_hooks.crt"}}, "changed": false, "certificate": {"signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "1F:41:2D:EE:8F:CF:8D:00:0B:85:88:55:59:6E:11:31:35:7A:B3:F8:C0:4A:98:74:75:6E:0C:6C:D5:B6:67:B9:B1:5F:D6:1E:1B:C9:7A:47:99:5F:71:3E:EF:08:6D:85:A5:96:0F:60:C5:2D:06:6D:CD:90:2F:E6:EF:7F:F8:F7:44:E0:E7:A7:F3:CF:C8:5E:CB:E7:3A:BF:01:6A:3C:BB:DF:C5:51:8A:B6:F6:44:C9:A3:BE:EF:BF:57:20:20:DE:D9:9C:73:02:C9:64:C3:F9:0F:7D:BD:B9:53:F0:0B:3C:E0:B5:A6:1B:BE:53:AA:FC:0B:9D:42:5D:AF:05:59:AB:6A:D4:AD:96:2F:A8:66:AF:EA:ED:46:E2:04:76:DA:BC:D3:C1:A9:67:25:B4:E4:86:F2:EB:E8:FC:32:C2:4B:98:B8:33:3A:3F:3A:02:85:EB:DF:72:38:AB:DD:1B:51:DE:2E:5F:BE:80:49:17:82:56:12:AD:34:30:96:6B:98:85:54:C9:B2:31:6E:E8:9C:71:2E:C0:61:83:97:D3:06:A8:55:23:8B:69:A5:F4:D0:4B:6C:63:BA:67:AB:68:AE:F5:FA:F3:9D:EB:95:7C:6F:A4:23:89:65:E9:EC:A1:82:3F:88:32:FF:69:61:F6:10:17:93:C2:6B:F4:2E:1F:28:19"}, "key_size": 2048, "extensions": {"subjectKeyIdentifier": {"critical": false, "value": "1C:A2:9F:4C:F5:E9:EF:D3:00:9A:C5:86:D8:CF:D4:3F:48:BA:D0:51"}, "authorityKeyIdentifier": {"critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C"}, "extendedKeyUsage": {"critical": false, "value": [{"oid": "1.3.6.1.5.5.7.3.1", "name": "id-kp-serverAuth"}, {"oid": "1.3.6.1.5.5.7.3.2", "name": "id-kp-clientAuth"}]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "keyUsage": {"critical": false, "value": ["key_encipherment", "digital_signature"]}, "basicConstraints": {"critical": true, "value": {"ca": false}}}, "validity": {"not_valid_after": "20260213184952Z", "not_valid_before": "20250213185057Z"}, "subject": [{"oid": "2.5.4.3", "name": "commonName", "value": "www.example.com"}]}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472661.36-15032-159556701695337/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "1C:A2:9F:4C:F5:E9:EF:D3:00:9A:C5:86:D8:CF:D4:3F:48:BA:D0:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1F:41:2D:EE:8F:CF:8D:00:0B:85:88:55:59:6E:11:31:35:7A:B3:F8:C0:4A:98:74:75:6E:0C:6C:D5:B6:67:B9:B1:5F:D6:1E:1B:C9:7A:47:99:5F:71:3E:EF:08:6D:85:A5:96:0F:60:C5:2D:06:6D:CD:90:2F:E6:EF:7F:F8:F7:44:E0:E7:A7:F3:CF:C8:5E:CB:E7:3A:BF:01:6A:3C:BB:DF:C5:51:8A:B6:F6:44:C9:A3:BE:EF:BF:57:20:20:DE:D9:9C:73:02:C9:64:C3:F9:0F:7D:BD:B9:53:F0:0B:3C:E0:B5:A6:1B:BE:53:AA:FC:0B:9D:42:5D:AF:05:59:AB:6A:D4:AD:96:2F:A8:66:AF:EA:ED:46:E2:04:76:DA:BC:D3:C1:A9:67:25:B4:E4:86:F2:EB:E8:FC:32:C2:4B:98:B8:33:3A:3F:3A:02:85:EB:DF:72:38:AB:DD:1B:51:DE:2E:5F:BE:80:49:17:82:56:12:AD:34:30:96:6B:98:85:54:C9:B2:31:6E:E8:9C:71:2E:C0:61:83:97:D3:06:A8:55:23:8B:69:A5:F4:D0:4B:6C:63:BA:67:AB:68:AE:F5:FA:F3:9D:EB:95:7C:6F:A4:23:89:65:E9:EC:A1:82:3F:88:32:FF:69:61:F6:10:17:93:C2:6B:F4:2E:1F:28:19" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213185057Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_run_hooks.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:51:01 -0500 (0:00:00.620) 0:00:11.465 ***** ok: [managed-node1] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "C5:54:92:40:32:A4:D9:8D:17:37:70:F3:1E:13:1C:EB:DD:1C:7F:1C" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "key_encipherment", "digital_signature" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "1C:A2:9F:4C:F5:E9:EF:D3:00:9A:C5:86:D8:CF:D4:3F:48:BA:D0:51" } }, "key_size": 2048, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "1F:41:2D:EE:8F:CF:8D:00:0B:85:88:55:59:6E:11:31:35:7A:B3:F8:C0:4A:98:74:75:6E:0C:6C:D5:B6:67:B9:B1:5F:D6:1E:1B:C9:7A:47:99:5F:71:3E:EF:08:6D:85:A5:96:0F:60:C5:2D:06:6D:CD:90:2F:E6:EF:7F:F8:F7:44:E0:E7:A7:F3:CF:C8:5E:CB:E7:3A:BF:01:6A:3C:BB:DF:C5:51:8A:B6:F6:44:C9:A3:BE:EF:BF:57:20:20:DE:D9:9C:73:02:C9:64:C3:F9:0F:7D:BD:B9:53:F0:0B:3C:E0:B5:A6:1B:BE:53:AA:FC:0B:9D:42:5D:AF:05:59:AB:6A:D4:AD:96:2F:A8:66:AF:EA:ED:46:E2:04:76:DA:BC:D3:C1:A9:67:25:B4:E4:86:F2:EB:E8:FC:32:C2:4B:98:B8:33:3A:3F:3A:02:85:EB:DF:72:38:AB:DD:1B:51:DE:2E:5F:BE:80:49:17:82:56:12:AD:34:30:96:6B:98:85:54:C9:B2:31:6E:E8:9C:71:2E:C0:61:83:97:D3:06:A8:55:23:8B:69:A5:F4:D0:4B:6C:63:BA:67:AB:68:AE:F5:FA:F3:9D:EB:95:7C:6F:A4:23:89:65:E9:EC:A1:82:3F:88:32:FF:69:61:F6:10:17:93:C2:6B:F4:2E:1F:28:19" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213184952Z", "not_valid_before": "20250213185057Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:51:01 -0500 (0:00:00.075) 0:00:11.541 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.067) 0:00:11.608 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.071) 0:00:11.680 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.072) 0:00:11.752 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.081) 0:00:11.833 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.081) 0:00:11.915 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701 `" && echo ansible-tmp-1739472662.4-15087-215534009854701="` echo /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472662.4-15087-215534009854701=/root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpb6PanK TO /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/AnsiballZ_command.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpb6PanK /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/AnsiballZ_command.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/ /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/AnsiballZ_command.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"changed": true, "end": "2025-02-13 13:51:02.866106", "stdout": "yes", "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "rc": 0, "start": "2025-02-13 13:51:02.818960", "stderr": "", "delta": "0:00:00.047146", "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "strip_empty_ends": true, "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "removes": null, "argv": null, "warn": true, "chdir": null, "stdin_add_newline": true, "stdin": null}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472662.4-15087-215534009854701/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.047146", "end": "2025-02-13 13:51:02.866106", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_run_hooks.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "_uses_shell": true, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } }, "rc": 0, "start": "2025-02-13 13:51:02.818960" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:51:02 -0500 (0:00:00.661) 0:00:12.577 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get certificate timestamp] *********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:39 Thursday 13 February 2025 13:51:03 -0500 (0:00:00.078) 0:00:12.655 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986 `" && echo ansible-tmp-1739472663.16-15158-54648330127986="` echo /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472663.16-15158-54648330127986=/root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpYjuRn4 TO /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpYjuRn4 /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/ /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "us-ascii", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472657.7685778, "block_size": 4096, "inode": 172752, "isgid": false, "size": 1294, "executable": false, "isuid": false, "readable": true, "version": "18446744073063257383", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "text/plain", "blocks": 8, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "xusr": false, "atime": 1739472657.7725778, "isdir": false, "ctime": 1739472657.7685778, "isblk": false, "wgrp": false, "checksum": "8cef2addaf68848c8a5327361f3084566b89c7e7", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472663.16-15158-54648330127986/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt" } }, "stat": { "atime": 1739472657.7725778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "8cef2addaf68848c8a5327361f3084566b89c7e7", "ctime": 1739472657.7685778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172752, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739472657.7685778, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_run_hooks.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1294, "uid": 0, "version": "18446744073063257383", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get pre-run file timestamp] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:43 Thursday 13 February 2025 13:51:03 -0500 (0:00:00.407) 0:00:13.063 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779 `" && echo ansible-tmp-1739472663.52-15203-170438008215779="` echo /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472663.52-15203-170438008215779=/root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpYM2Aeu TO /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpYM2Aeu /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/ /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/before_cert.tmp", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "binary", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472657.7665777, "block_size": 4096, "inode": 172751, "isgid": false, "size": 0, "executable": false, "isuid": false, "readable": true, "version": "18446744073063257380", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "inode/x-empty", "blocks": 0, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/before_cert.tmp", "xusr": false, "atime": 1739472657.7665777, "isdir": false, "ctime": 1739472657.7665777, "isblk": false, "wgrp": false, "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472663.52-15203-170438008215779/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/before_cert.tmp" } }, "stat": { "atime": 1739472657.7665777, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1739472657.7665777, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172751, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1739472657.7665777, "nlink": 1, "path": "/etc/pki/before_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744073063257380", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get post-run file timestamp] ********************************************* task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47 Thursday 13 February 2025 13:51:03 -0500 (0:00:00.430) 0:00:13.493 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875 `" && echo ansible-tmp-1739472663.96-15248-220965019090875="` echo /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472663.96-15248-220965019090875=/root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/stat.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpAAshkG TO /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/AnsiballZ_stat.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpAAshkG /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/AnsiballZ_stat.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/ /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"invocation": {"module_args": {"checksum_algorithm": "sha1", "get_checksum": true, "follow": false, "path": "/etc/pki/after_cert.tmp", "get_md5": false, "get_mime": true, "get_attributes": true}}, "stat": {"charset": "binary", "uid": 0, "exists": true, "attr_flags": "e", "woth": false, "isreg": true, "device_type": 0, "mtime": 1739472657.7985778, "block_size": 4096, "inode": 172753, "isgid": false, "size": 0, "executable": false, "isuid": false, "readable": true, "version": "18446744073063257391", "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "writeable": true, "mimetype": "inode/x-empty", "blocks": 0, "xoth": false, "islnk": false, "nlink": 1, "issock": false, "rgrp": false, "gr_name": "root", "path": "/etc/pki/after_cert.tmp", "xusr": false, "atime": 1739472657.7985778, "isdir": false, "ctime": 1739472657.7985778, "isblk": false, "wgrp": false, "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "dev": 51713, "roth": false, "isfifo": false, "mode": "0600", "xgrp": false, "rusr": true, "attributes": ["extents"]}, "changed": false}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472663.96-15248-220965019090875/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/pki/after_cert.tmp" } }, "stat": { "atime": 1739472657.7985778, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1739472657.7985778, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 172753, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1739472657.7985778, "nlink": 1, "path": "/etc/pki/after_cert.tmp", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744073063257391", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Assert file created before cert] ***************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:51 Thursday 13 February 2025 13:51:04 -0500 (0:00:00.373) 0:00:13.866 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert file created after cert] ****************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:58 Thursday 13 February 2025 13:51:04 -0500 (0:00:00.081) 0:00:13.947 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get pre/post-scripts files] ********************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 Thursday 13 February 2025 13:51:04 -0500 (0:00:00.074) 0:00:14.022 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365 `" && echo ansible-tmp-1739472664.5-15302-191673892500365="` echo /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472664.5-15302-191673892500365=/root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/files/find.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp0AhayY TO /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/AnsiballZ_find.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmp0AhayY /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/AnsiballZ_find.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/ /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/AnsiballZ_find.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/AnsiballZ_find.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"files": [{"uid": 0, "woth": false, "mtime": 1739472657.595578, "inode": 263199, "isgid": false, "size": 92, "roth": false, "isuid": false, "isreg": true, "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "xoth": false, "rusr": true, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "xusr": true, "atime": 1739472657.7645779, "isdir": false, "ctime": 1739472657.595578, "isblk": false, "xgrp": true, "dev": 51713, "wgrp": true, "isfifo": false, "mode": "0770", "islnk": false}, {"uid": 0, "woth": false, "mtime": 1739472657.595578, "inode": 263200, "isgid": false, "size": 91, "roth": false, "isuid": false, "isreg": true, "pw_name": "root", "gid": 0, "ischr": false, "wusr": true, "xoth": false, "rusr": true, "nlink": 1, "issock": false, "rgrp": true, "gr_name": "root", "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "xusr": true, "atime": 1739472657.7965777, "isdir": false, "ctime": 1739472657.595578, "isblk": false, "xgrp": true, "dev": 51713, "wgrp": true, "isfifo": false, "mode": "0770", "islnk": false}], "changed": false, "msg": "", "examined": 2, "invocation": {"module_args": {"excludes": null, "paths": ["/etc/certmonger/pre-scripts", "/etc/certmonger/post-scripts"], "file_type": "file", "age": null, "contains": null, "recurse": false, "age_stamp": "mtime", "patterns": ["*"], "depth": null, "get_checksum": false, "use_regex": false, "follow": false, "hidden": false, "size": null}}, "matched": 2}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472664.5-15302-191673892500365/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "examined": 2, "files": [ { "atime": 1739472657.7645779, "ctime": 1739472657.595578, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263199, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1739472657.595578, "nlink": 1, "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 92, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true }, { "atime": 1739472657.7965777, "ctime": 1739472657.595578, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 263200, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0770", "mtime": 1739472657.595578, "nlink": 1, "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "pw_name": "root", "rgrp": true, "roth": false, "rusr": true, "size": 91, "uid": 0, "wgrp": true, "woth": false, "wusr": true, "xgrp": true, "xoth": false, "xusr": true } ], "invocation": { "module_args": { "age": null, "age_stamp": "mtime", "contains": null, "depth": null, "excludes": null, "file_type": "file", "follow": false, "get_checksum": false, "hidden": false, "paths": [ "/etc/certmonger/pre-scripts", "/etc/certmonger/post-scripts" ], "patterns": [ "*" ], "recurse": false, "size": null, "use_regex": false } }, "matched": 2 } TASK [Check generated files for ansible_managed, fingerprint] ****************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:74 Thursday 13 February 2025 13:51:05 -0500 (0:00:00.709) 0:00:14.732 ***** included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node1 included: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml for managed-node1 TASK [Get file] **************************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Thursday 13 February 2025 13:51:05 -0500 (0:00:00.134) 0:00:14.867 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264 `" && echo ansible-tmp-1739472665.38-15353-179821180667264="` echo /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472665.38-15353-179821180667264=/root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/net_tools/basics/slurp.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpPlAhKC TO /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/AnsiballZ_slurp.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpPlAhKC /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/AnsiballZ_slurp.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/ /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "encoding": "base64", "invocation": {"module_args": {"src": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh"}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472665.38-15353-179821180667264/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2JlZm9yZV9jZXJ0LnRtcAo=", "encoding": "base64", "invocation": { "module_args": { "path": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } }, "source": "/etc/certmonger/pre-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Thursday 13 February 2025 13:51:05 -0500 (0:00:00.634) 0:00:15.501 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get file] **************************************************************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Thursday 13 February 2025 13:51:06 -0500 (0:00:00.193) 0:00:15.695 ***** <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.40.119> (0, '/root\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646 `" && echo ansible-tmp-1739472666.23-15392-133725340870646="` echo /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646 `" ) && sleep 0'"'"'' <10.31.40.119> (0, 'ansible-tmp-1739472666.23-15392-133725340870646=/root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646\n', '') Using module file /usr/lib/python2.7/site-packages/ansible/modules/net_tools/basics/slurp.py <10.31.40.119> PUT /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpxzZwyK TO /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/AnsiballZ_slurp.py <10.31.40.119> 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/5af0c336c0 '[10.31.40.119]' <10.31.40.119> (0, 'sftp> put /root/.ansible/tmp/ansible-local-14241mR8WKO/tmpxzZwyK /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/AnsiballZ_slurp.py\n', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/ /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.40.119> (0, '', '') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 -tt 10.31.40.119 '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/AnsiballZ_slurp.py && sleep 0'"'"'' <10.31.40.119> (0, '\r\n{"content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "encoding": "base64", "invocation": {"module_args": {"src": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh"}}}\r\n', 'Shared connection to 10.31.40.119 closed.\r\n') <10.31.40.119> ESTABLISH SSH CONNECTION FOR USER: None <10.31.40.119> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/5af0c336c0 10.31.40.119 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739472666.23-15392-133725340870646/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.40.119> (0, '', '') ok: [managed-node1] => { "changed": false, "content": "IyEvYmluL2Jhc2gKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6Y2VydGlmaWNhdGUKCnRvdWNoIC9ldGMvcGtpL2FmdGVyX2NlcnQudG1wCg==", "encoding": "base64", "invocation": { "module_args": { "path": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh", "src": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } }, "source": "/etc/certmonger/post-scripts/mycert_run_hooks-369fd46.sh" } TASK [Check for presence of ansible managed header, fingerprint] *************** task path: /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:8 Thursday 13 February 2025 13:51:06 -0500 (0:00:00.401) 0:00:16.097 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=43 changed=1 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 13 February 2025 13:51:06 -0500 (0:00:00.072) 0:00:16.169 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.78s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.28s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:2 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.98s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.75s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Get pre/post-scripts files ---------------------------------------------- 0.71s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:66 Retrieve auto-renew flag ------------------------------------------------ 0.66s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Gathering Facts --------------------------------------------------------- 0.64s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:17 Get file ---------------------------------------------------------------- 0.63s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Ensure python3 is installed --------------------------------------------- 0.62s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Parse certificate ------------------------------------------------------- 0.62s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.60s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.53s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Retrieve key file stats ------------------------------------------------- 0.48s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Get pre-run file timestamp ---------------------------------------------- 0.43s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:43 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.43s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Get certificate timestamp ----------------------------------------------- 0.41s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:39 Retrieve certificate file stats ----------------------------------------- 0.41s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Get file ---------------------------------------------------------------- 0.40s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/check_header.yml:3 Get post-run file timestamp --------------------------------------------- 0.37s /tmp/collections-Fh9/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_run_hooks.yml:47