ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles host_list declined parsing /tmp/inventory-VsY.yml as it did not pass its verify_file() method script declined parsing /tmp/inventory-VsY.yml as it did not pass its verify_file() method Parsed /tmp/inventory-VsY.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_key_size.yml *************************************************** 1 plays in /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml PLAY [Test certificate generation with key_size] ******************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:2 Thursday 13 February 2025 13:11:53 -0500 (0:00:00.033) 0:00:00.033 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937 `" && echo ansible-tmp-1739470313.5721312-9660-266587879754937="` echo /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470313.5721312-9660-266587879754937=/root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937\n', b'') Attempting python interpreter discovery <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/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.44.207> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.44.207> (0, b'{"platform_dist_result": ["centos", "8", ""], "osrelease_content": "NAME=\\"CentOS Stream\\"\\nVERSION=\\"8\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"8\\"\\nPLATFORM_ID=\\"platform:el8\\"\\nPRETTY_NAME=\\"CentOS Stream 8\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:8\\"\\nHOME_URL=\\"https://centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugzilla.redhat.com/\\"\\nREDHAT_SUPPORT_PRODUCT=\\"Red Hat Enterprise Linux 8\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"CentOS Stream\\"\\n"}\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpgsqrvtjw TO /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/AnsiballZ_setup.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpgsqrvtjw /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/AnsiballZ_setup.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/ /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"ansible_facts": {"ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBALS1Y2BkHyZFZLHoySZCK1mOgE/IZGNyb6LAcRH8ERvfpU09ogc/Rmd5T+1jB7U/KsKVlNQRg6LYDAFMCdbnXrVpwAkhFOW34529X6XvCdWeIQeXwhzOY8Peuf/6pR2zjXeitIDQO7MYlMwWJ+I33EkNYKA4Gmr0UdbqArh7REZtAAAAFQDj3W5Z08za4ZVEizYHicaKf7J61wAAAIEAoZ2TFvpV42mtSmB3XsEJ2gkq3tdmUsMbyNruq2P9iG2ht62wwLd4ncrIuZbAgnF0knqd8YHKRh+tezhjClHkf8ZfZlABpzzDquhzM0sC/1Le9HO/aN5HApDS2pB6DcXdczztYqlYUpfMGms368XK56FbVr+H42/itFHYgCkk8X4AAACAEsj181GqQabZ0EjCWokGjtR1bhFdsfjNCFGyUKdT2hSRWly1NauHXzrsErQxdBKlq3HRsv0ScAKTUkLIgqoRr5o/vqGRE1RRLcT47jjX96ZVXjuGTg4MrOeodJGTMfIul3C9Pb6n3b6rex7EPkrcFL1O6T2u1VS5/nc/8pIKki0=", "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDAWB4NO8Gu/4h3Bf9IfWa/w5b7B3JlCsLv1+oOUOnX/UR3iBT4EeDsourrNe7Z5/ySUgut/CC4k8zsWbM2lyqUHngyRlwigaNGfwvFnRWWc30UCyaLdh4gKPfCmxaP5d3aFB34PdbYXP0LgQTUJrjoJTrRCogIoJT7qhQDDfr8ebA1zkNryMtwK1J+aLuMBNtPB8R0U3pxRdepNGmmDs2JeDJ0rgbO9aXommKrCzEt3zH8yMLKX+oyWEukmVTqiBwk/ByUxad0IG1dMXXeI7HobVlmCDD9kKZ0jTBsh8nphjzDSRoQw6fidKYfHy9K3N8mekSSyWcasXC8nQDKQybnUEEgJVNf8ou6Rqb0v/qSkx24MybJ+M1NOupMO/MZFuf5bWo32KsQh1mAETw/Gd5Fh8etEwWV8ZbuBDwmZLhLkMq2VZZE44hyfOIN9ovdgAX9LCJAaxj/UTWuCb3aQTv+7SvqdU79dhksGNBVmC8/Mv/+aHrmIfCQWL1AFsR4/b8=", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGQm+Z/rBB0QVbhFsI3T5//6zvbq+tg1jPZ9GWD8nhviFuc9tfcaEN1EGRBsSS3S3loMmLnJuYgY5Xvb8djBBIg=", "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIEIYa5hJ9kN5Thne2PTUPjMfFEGLnzx/BlqRHPEmxrio", "ansible_virtualization_type": "xen", "ansible_virtualization_role": "guest", "ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "ansible_user_id": "root", "ansible_user_uid": 0, "ansible_user_gid": 0, "ansible_user_gecos": "root", "ansible_user_dir": "/root", "ansible_user_shell": "/bin/bash", "ansible_real_user_id": 0, "ansible_effective_user_id": 0, "ansible_real_group_id": 0, "ansible_effective_group_id": 0, "ansible_system": "Linux", "ansible_kernel": "4.18.0-553.5.1.el8.x86_64", "ansible_kernel_version": "#1 SMP Tue May 21 05:46:01 UTC 2024", "ansible_machine": "x86_64", "ansible_python_version": "3.6.8", "ansible_fqdn": "managed-node3", "ansible_hostname": "managed-node3", "ansible_nodename": "managed-node3", "ansible_domain": "", "ansible_userspace_bits": "64", "ansible_architecture": "x86_64", "ansible_userspace_architecture": "x86_64", "ansible_machine_id": "520d1fff48fe4f20bdc7170d0668c5d6", "ansible_local": {}, "ansible_is_chroot": false, "ansible_dns": {"search": ["us-east-1.aws.redhat.com"], "nameservers": ["10.29.169.13", "10.29.170.12", "10.2.32.1"]}, "ansible_processor": ["0", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz", "1", "GenuineIntel", "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"], "ansible_processor_count": 1, "ansible_processor_cores": 1, "ansible_processor_threads_per_core": 2, "ansible_processor_vcpus": 2, "ansible_memtotal_mb": 3539, "ansible_memfree_mb": 2764, "ansible_swaptotal_mb": 0, "ansible_swapfree_mb": 0, "ansible_memory_mb": {"real": {"total": 3539, "used": 775, "free": 2764}, "nocache": {"free": 3311, "used": 228}, "swap": {"total": 0, "free": 0, "used": 0, "cached": 0}}, "ansible_bios_date": "08/24/2006", "ansible_bios_version": "4.11.amazon", "ansible_form_factor": "Other", "ansible_product_name": "HVM domU", "ansible_product_serial": "ec274c2c-fcd1-ed8f-2c68-a2e8bc017358", "ansible_product_uuid": "ec274c2c-fcd1-ed8f-2c68-a2e8bc017358", "ansible_product_version": "4.11.amazon", "ansible_system_vendor": "Xen", "ansible_devices": {"xvda": {"virtual": 1, "links": {"ids": [], "uuids": [], "labels": [], "masters": []}, "vendor": null, "model": null, "sas_address": null, "sas_device_handle": null, "removable": "0", "support_discard": "0", "partitions": {"xvda1": {"links": {"ids": [], "uuids": ["fe591198-9082-4b15-9b62-e83518524cd2"], "labels": [], "masters": []}, "start": "2048", "sectors": "524285919", "sectorsize": 512, "size": "250.00 GB", "uuid": "fe591198-9082-4b15-9b62-e83518524cd2", "holders": []}}, "rotational": "0", "scheduler_mode": "mq-deadline", "sectors": "524288000", "sectorsize": "512", "size": "250.00 GB", "host": "", "holders": []}}, "ansible_device_links": {"ids": {}, "uuids": {"xvda1": ["fe591198-9082-4b15-9b62-e83518524cd2"]}, "labels": {}, "masters": {}}, "ansible_uptime_seconds": 292, "ansible_mounts": [{"mount": "/", "device": "/dev/xvda1", "fstype": "xfs", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_total": 268423901184, "size_available": 263553982464, "block_size": 4096, "block_total": 65533179, "block_available": 64344234, "block_used": 1188945, "inode_total": 131071472, "inode_available": 130995967, "inode_used": 75505, "uuid": "fe591198-9082-4b15-9b62-e83518524cd2"}], "ansible_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_proc_cmdline": {"BOOT_IMAGE": "(hd0,msdos1)/boot/vmlinuz-4.18.0-553.5.1.el8.x86_64", "root": "UUID=fe591198-9082-4b15-9b62-e83518524cd2", "ro": true, "crashkernel": "auto", "net.ifnames": "0", "rhgb": true, "quiet": true}, "ansible_fibre_channel_wwn": [], "ansible_system_capabilities_enforced": "False", "ansible_system_capabilities": [], "ansible_apparmor": {"status": "disabled"}, "ansible_interfaces": ["lo", "eth0"], "ansible_lo": {"device": "lo", "mtu": 65536, "active": true, "type": "loopback", "promisc": false, "ipv4": {"address": "127.0.0.1", "broadcast": "", "netmask": "255.0.0.0", "network": "127.0.0.0"}, "ipv6": [{"address": "::1", "prefix": "128", "scope": "host"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "off [fixed]", "tx_checksum_ip_generic": "on [fixed]", "tx_checksum_ipv6": "off [fixed]", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "on [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on [fixed]", "tx_scatter_gather_fraglist": "on [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "on", "tx_tcp_mangleid_segmentation": "on", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "on [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "on [fixed]", "tx_lockless": "on [fixed]", "netns_local": "on [fixed]", "tx_gso_robust": "off [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "on", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "on", "tx_gso_list": "on", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off [fixed]", "loopback": "on [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_eth0": {"device": "eth0", "macaddress": "02:c9:b6:a0:f1:d9", "mtu": 9001, "active": true, "module": "xen_netfront", "type": "ether", "pciid": "vif-0", "promisc": false, "ipv4": {"address": "10.31.44.207", "broadcast": "10.31.47.255", "netmask": "255.255.252.0", "network": "10.31.44.0"}, "ipv6": [{"address": "fe80::c9:b6ff:fea0:f1d9", "prefix": "64", "scope": "link"}], "features": {"rx_checksumming": "on [fixed]", "tx_checksumming": "on", "tx_checksum_ipv4": "on [fixed]", "tx_checksum_ip_generic": "off [fixed]", "tx_checksum_ipv6": "on", "tx_checksum_fcoe_crc": "off [fixed]", "tx_checksum_sctp": "off [fixed]", "scatter_gather": "on", "tx_scatter_gather": "on", "tx_scatter_gather_fraglist": "off [fixed]", "tcp_segmentation_offload": "on", "tx_tcp_segmentation": "on", "tx_tcp_ecn_segmentation": "off [fixed]", "tx_tcp_mangleid_segmentation": "off", "tx_tcp6_segmentation": "on", "generic_segmentation_offload": "on", "generic_receive_offload": "on", "large_receive_offload": "off [fixed]", "rx_vlan_offload": "off [fixed]", "tx_vlan_offload": "off [fixed]", "ntuple_filters": "off [fixed]", "receive_hashing": "off [fixed]", "highdma": "off [fixed]", "rx_vlan_filter": "off [fixed]", "vlan_challenged": "off [fixed]", "tx_lockless": "off [fixed]", "netns_local": "off [fixed]", "tx_gso_robust": "on [fixed]", "tx_fcoe_segmentation": "off [fixed]", "tx_gre_segmentation": "off [fixed]", "tx_gre_csum_segmentation": "off [fixed]", "tx_ipxip4_segmentation": "off [fixed]", "tx_ipxip6_segmentation": "off [fixed]", "tx_udp_tnl_segmentation": "off [fixed]", "tx_udp_tnl_csum_segmentation": "off [fixed]", "tx_gso_partial": "off [fixed]", "tx_tunnel_remcsum_segmentation": "off [fixed]", "tx_sctp_segmentation": "off [fixed]", "tx_esp_segmentation": "off [fixed]", "tx_udp_segmentation": "off [fixed]", "tx_gso_list": "off [fixed]", "rx_udp_gro_forwarding": "off", "rx_gro_list": "off", "tls_hw_rx_offload": "off [fixed]", "fcoe_mtu": "off [fixed]", "tx_nocache_copy": "off", "loopback": "off [fixed]", "rx_fcs": "off [fixed]", "rx_all": "off [fixed]", "tx_vlan_stag_hw_insert": "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]", "rx_vlan_stag_filter": "off [fixed]", "l2_fwd_offload": "off [fixed]", "hw_tc_offload": "off [fixed]", "esp_hw_offload": "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "rx_udp_tunnel_port_offload": "off [fixed]", "tls_hw_tx_offload": "off [fixed]", "rx_gro_hw": "off [fixed]", "tls_hw_record": "off [fixed]"}, "timestamping": [], "hw_timestamp_filters": []}, "ansible_default_ipv4": {"gateway": "10.31.44.1", "interface": "eth0", "address": "10.31.44.207", "broadcast": "10.31.47.255", "netmask": "255.255.252.0", "network": "10.31.44.0", "macaddress": "02:c9:b6:a0:f1:d9", "mtu": 9001, "type": "ether", "alias": "eth0"}, "ansible_default_ipv6": {}, "ansible_all_ipv4_addresses": ["10.31.44.207"], "ansible_all_ipv6_addresses": ["fe80::c9:b6ff:fea0:f1d9"], "ansible_fips": false, "ansible_service_mgr": "systemd", "ansible_date_time": {"year": "2025", "month": "02", "weekday": "Thursday", "weekday_number": "4", "weeknumber": "06", "day": "13", "hour": "13", "minute": "11", "second": "54", "epoch": "1739470314", "date": "2025-02-13", "time": "13:11:54", "iso8601_micro": "2025-02-13T18:11:54.452547Z", "iso8601": "2025-02-13T18:11:54Z", "iso8601_basic": "20250213T131154452547", "iso8601_basic_short": "20250213T131154", "tz": "EST", "tz_offset": "-0500"}, "ansible_hostnqn": "", "ansible_python": {"version": {"major": 3, "minor": 6, "micro": 8, "releaselevel": "final", "serial": 0}, "version_info": [3, 6, 8, "final", 0], "executable": "/usr/libexec/platform-python", "has_sslcontext": true, "type": "cpython"}, "ansible_iscsi_iqn": "", "ansible_pkg_mgr": "dnf", "ansible_env": {"LS_COLORS": "", "SSH_CONNECTION": "10.31.43.188 43308 10.31.44.207 22", "_": "/usr/libexec/platform-python", "LANG": "en_US.UTF-8", "which_declare": "declare -f", "XDG_SESSION_ID": "5", "USER": "root", "SELINUX_ROLE_REQUESTED": "", "PWD": "/root", "HOME": "/root", "SSH_CLIENT": "10.31.43.188 43308 22", "SELINUX_LEVEL_REQUESTED": "", "SSH_TTY": "/dev/pts/0", "SHELL": "/bin/bash", "SELINUX_USE_CURRENT_RANGE": "", "SHLVL": "2", "LOGNAME": "root", "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/0/bus", "XDG_RUNTIME_DIR": "/run/user/0", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin", "DEBUGINFOD_URLS": "https://debuginfod.centos.org/ ", "LESSOPEN": "||/usr/bin/lesspipe.sh %s", "BASH_FUNC_which%%": "() { ( alias;\\n eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@\\n}"}, "ansible_lsb": {}, "ansible_selinux_python_present": true, "ansible_selinux": {"status": "enabled", "policyvers": 33, "config_mode": "enforcing", "mode": "enforcing", "type": "targeted"}, "gather_subset": ["all"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["all"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470313.5721312-9660-266587879754937/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] META: ran handlers TASK [Request certificate with key size] *************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:8 Thursday 13 February 2025 13:11:54 -0500 (0:00:00.990) 0:00:01.023 ***** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Thursday 13 February 2025 13:11:54 -0500 (0:00:00.077) 0:00:01.101 ***** included: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Thursday 13 February 2025 13:11:54 -0500 (0:00:00.019) 0:00:01.121 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Thursday 13 February 2025 13:11:54 -0500 (0:00:00.032) 0:00:01.153 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657 `" && echo ansible-tmp-1739470314.705544-9783-75382693171657="` echo /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470314.705544-9783-75382693171657=/root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpdln_y1an TO /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/AnsiballZ_stat.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpdln_y1an /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/AnsiballZ_stat.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/ /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470314.705544-9783-75382693171657/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "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-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Thursday 13 February 2025 13:11:55 -0500 (0:00:00.465) 0:00:01.618 ***** ok: [managed-node3] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Thursday 13 February 2025 13:11:55 -0500 (0:00:00.052) 0:00:01.671 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Thursday 13 February 2025 13:11:55 -0500 (0:00:00.082) 0:00:01.754 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893 `" && echo ansible-tmp-1739470315.3756914-9847-122316915876893="` echo /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470315.3756914-9847-122316915876893=/root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpeebrdi96 TO /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/AnsiballZ_dnf.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpeebrdi96 /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/AnsiballZ_dnf.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/ /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-pyasn1", "python3-cryptography", "python3-dbus"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470315.3756914-9847-122316915876893/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-pyasn1", "python3-cryptography", "python3-dbus" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Thursday 13 February 2025 13:11:58 -0500 (0:00:03.039) 0:00:04.793 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412 `" && echo ansible-tmp-1739470318.4055133-10032-210422773014412="` echo /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470318.4055133-10032-210422773014412=/root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpelr3fwqe TO /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/AnsiballZ_dnf.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpelr3fwqe /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/AnsiballZ_dnf.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/ /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["certmonger"], "state": "present", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470318.4055133-10032-210422773014412/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "certmonger" ], "releasever": null, "security": false, "skip_broken": false, "state": "present", "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Thursday 13 February 2025 13:12:01 -0500 (0:00:02.825) 0:00:07.619 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312 `" && echo ansible-tmp-1739470321.189166-10082-191182177380312="` echo /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470321.189166-10082-191182177380312=/root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp1n2iq17p TO /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/AnsiballZ_file.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp1n2iq17p /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/AnsiballZ_file.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/ /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/AnsiballZ_file.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/AnsiballZ_file.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"path": "/etc/certmonger//pre-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//pre-scripts"}, "after": {"path": "/etc/certmonger//pre-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//pre-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//pre-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470321.189166-10082-191182177380312/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//pre-scripts" }, "before": { "path": "/etc/certmonger//pre-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//pre-scripts", "owner": "root", "path": "/etc/certmonger//pre-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Thursday 13 February 2025 13:12:01 -0500 (0:00:00.512) 0:00:08.132 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814 `" && echo ansible-tmp-1739470321.7089136-10105-211913769365814="` echo /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470321.7089136-10105-211913769365814=/root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/file.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmptv6dwevb TO /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/AnsiballZ_file.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmptv6dwevb /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/AnsiballZ_file.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/ /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/AnsiballZ_file.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/AnsiballZ_file.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"path": "/etc/certmonger//post-scripts", "changed": false, "diff": {"before": {"path": "/etc/certmonger//post-scripts"}, "after": {"path": "/etc/certmonger//post-scripts"}}, "uid": 0, "gid": 0, "owner": "root", "group": "root", "mode": "0700", "state": "directory", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "invocation": {"module_args": {"name": "/etc/certmonger//post-scripts", "owner": "root", "group": "root", "mode": "0700", "state": "directory", "path": "/etc/certmonger//post-scripts", "recurse": false, "force": false, "follow": true, "modification_time_format": "%Y%m%d%H%M.%S", "access_time_format": "%Y%m%d%H%M.%S", "unsafe_writes": false, "_original_basename": null, "_diff_peek": null, "src": null, "modification_time": null, "access_time": null, "seuser": null, "serole": null, "selevel": null, "setype": null, "attributes": null, "content": null, "backup": null, "remote_src": null, "regexp": null, "delimiter": null, "directory_mode": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470321.7089136-10105-211913769365814/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "diff": { "after": { "path": "/etc/certmonger//post-scripts" }, "before": { "path": "/etc/certmonger//post-scripts" } }, "gid": 0, "group": "root", "invocation": { "module_args": { "_diff_peek": null, "_original_basename": null, "access_time": null, "access_time_format": "%Y%m%d%H%M.%S", "attributes": null, "backup": null, "content": null, "delimiter": null, "directory_mode": null, "follow": true, "force": false, "group": "root", "mode": "0700", "modification_time": null, "modification_time_format": "%Y%m%d%H%M.%S", "name": "/etc/certmonger//post-scripts", "owner": "root", "path": "/etc/certmonger//post-scripts", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "unsafe_writes": false } }, "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Thursday 13 February 2025 13:12:02 -0500 (0:00:00.402) 0:00:08.534 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478 `" && echo ansible-tmp-1739470322.1021118-10131-64132419282478="` echo /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470322.1021118-10131-64132419282478=/root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/systemd.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp0n2mt7al TO /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/AnsiballZ_systemd.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp0n2mt7al /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/AnsiballZ_systemd.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/ /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/AnsiballZ_systemd.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"name": "certmonger", "changed": false, "status": {"Type": "dbus", "Restart": "no", "PIDFile": "/run/certmonger.pid", "NotifyAccess": "none", "RestartUSec": "100ms", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "RuntimeMaxUSec": "infinity", "WatchdogUSec": "0", "WatchdogTimestamp": "Thu 2025-02-13 13:11:44 EST", "WatchdogTimestampMonotonic": "282883656", "PermissionsStartOnly": "no", "RootDirectoryStartOnly": "no", "RemainAfterExit": "no", "GuessMainPID": "yes", "MainPID": "9121", "ControlPID": "0", "BusName": "org.fedorahosted.certmonger", "FileDescriptorStoreMax": "0", "NFileDescriptorStore": "0", "StatusErrno": "0", "Result": "success", "UID": "[not set]", "GID": "[not set]", "NRestarts": "0", "ExecMainStartTimestamp": "Thu 2025-02-13 13:11:44 EST", "ExecMainStartTimestampMonotonic": "282873392", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9121", "ExecMainCode": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:11:44 EST] ; stop_time=[n/a] ; pid=9121 ; code=(null) ; status=0/0 }", "Slice": "system.slice", "ControlGroup": "/system.slice/certmonger.service", "MemoryCurrent": "3088384", "CPUUsageNSec": "[not set]", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "TasksCurrent": "1", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "Delegate": "no", "CPUAccounting": "no", "CPUWeight": "[not set]", "StartupCPUWeight": "[not set]", "CPUShares": "[not set]", "StartupCPUShares": "[not set]", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "AllowedCPUs": "", "AllowedMemoryNodes": "", "IOAccounting": "no", "IOWeight": "[not set]", "StartupIOWeight": "[not set]", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "StartupBlockIOWeight": "[not set]", "MemoryAccounting": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "MemoryMin": "0", "MemoryLow": "0", "MemoryHigh": "infinity", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MemoryLimit": "infinity", "DevicePolicy": "auto", "TasksAccounting": "yes", "TasksMax": "22405", "IPAccounting": "no", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "UMask": "0022", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "OOMScoreAdjust": "0", "Nice": "0", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "NUMAPolicy": "n/a", "NUMAMask": "", "TimerSlackNSec": "50000", "CPUSchedulingResetOnFork": "no", "NonBlocking": "no", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StandardError": "inherit", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "SyslogPriority": "30", "SyslogLevelPrefix": "yes", "SyslogLevel": "6", "SyslogFacility": "3", "LogLevelMax": "-1", "LogRateLimitIntervalUSec": "0", "LogRateLimitBurst": "0", "SecureBits": "0", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "AmbientCapabilities": "", "DynamicUser": "no", "RemoveIPC": "no", "MountFlags": "", "PrivateTmp": "no", "PrivateDevices": "no", "ProtectKernelTunables": "no", "ProtectKernelModules": "no", "ProtectControlGroups": "no", "PrivateNetwork": "no", "PrivateUsers": "no", "PrivateMounts": "no", "ProtectHome": "no", "ProtectSystem": "no", "SameProcessGroup": "no", "UtmpMode": "init", "IgnoreSIGPIPE": "yes", "NoNewPrivileges": "no", "SystemCallErrorNumber": "0", "LockPersonality": "no", "RuntimeDirectoryPreserve": "no", "RuntimeDirectoryMode": "0755", "StateDirectoryMode": "0755", "CacheDirectoryMode": "0755", "LogsDirectoryMode": "0755", "ConfigurationDirectoryMode": "0755", "MemoryDenyWriteExecute": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "RestrictNamespaces": "no", "MountAPIVFS": "no", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "SendSIGKILL": "yes", "SendSIGHUP": "no", "Id": "certmonger.service", "Names": "certmonger.service", "Requires": "sysinit.target system.slice dbus.socket", "PartOf": "dbus.service", "WantedBy": "multi-user.target", "Conflicts": "shutdown.target", "Before": "multi-user.target shutdown.target", "After": "sysinit.target dbus.socket system.slice systemd-journald.socket network.target dbus.service basic.target syslog.target", "Description": "Certificate monitoring and PKI enrollment", "LoadState": "loaded", "ActiveState": "active", "FreezerState": "running", "SubState": "running", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "UnitFileState": "enabled", "UnitFilePreset": "disabled", "StateChangeTimestamp": "Thu 2025-02-13 13:11:44 EST", "StateChangeTimestampMonotonic": "282883658", "InactiveExitTimestamp": "Thu 2025-02-13 13:11:44 EST", "InactiveExitTimestampMonotonic": "282873425", "ActiveEnterTimestamp": "Thu 2025-02-13 13:11:44 EST", "ActiveEnterTimestampMonotonic": "282883658", "ActiveExitTimestampMonotonic": "0", "InactiveEnterTimestampMonotonic": "0", "CanStart": "yes", "CanStop": "yes", "CanReload": "no", "CanIsolate": "no", "CanFreeze": "yes", "StopWhenUnneeded": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "AllowIsolate": "no", "DefaultDependencies": "yes", "OnFailureJobMode": "replace", "IgnoreOnIsolate": "no", "NeedDaemonReload": "no", "JobTimeoutUSec": "infinity", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "ConditionResult": "yes", "AssertResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:11:44 EST", "ConditionTimestampMonotonic": "282872709", "AssertTimestamp": "Thu 2025-02-13 13:11:44 EST", "AssertTimestampMonotonic": "282872710", "Transient": "no", "Perpetual": "no", "StartLimitIntervalUSec": "10s", "StartLimitBurst": "5", "StartLimitAction": "none", "FailureAction": "none", "SuccessAction": "none", "InvocationID": "cc0d4353313d4732a0a3f51a1b261fc0", "CollectMode": "inactive"}, "enabled": true, "state": "started", "invocation": {"module_args": {"name": "certmonger", "state": "started", "enabled": true, "daemon_reload": false, "daemon_reexec": false, "no_block": false, "force": null, "masked": null, "user": null, "scope": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470322.1021118-10131-64132419282478/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => (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:11:44 EST", "ActiveEnterTimestampMonotonic": "282883658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target dbus.socket system.slice systemd-journald.socket network.target dbus.service basic.target syslog.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Thu 2025-02-13 13:11:44 EST", "AssertTimestampMonotonic": "282872710", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2025-02-13 13:11:44 EST", "ConditionTimestampMonotonic": "282872709", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9121", "ExecMainStartTimestamp": "Thu 2025-02-13 13:11:44 EST", "ExecMainStartTimestampMonotonic": "282873392", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[Thu 2025-02-13 13:11:44 EST] ; stop_time=[n/a] ; pid=9121 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2025-02-13 13:11:44 EST", "InactiveExitTimestampMonotonic": "282873425", "InvocationID": "cc0d4353313d4732a0a3f51a1b261fc0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9121", "MemoryAccounting": "yes", "MemoryCurrent": "3088384", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/certmonger.pid", "PartOf": "dbus.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Thu 2025-02-13 13:11:44 EST", "StateChangeTimestampMonotonic": "282883658", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2025-02-13 13:11:44 EST", "WatchdogTimestampMonotonic": "282883656", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Thursday 13 February 2025 13:12:02 -0500 (0:00:00.747) 0:00:09.282 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390 `" && echo ansible-tmp-1739470322.8981345-10161-250415856172390="` echo /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470322.8981345-10161-250415856172390=/root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390\n', b'') Using module file /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/plugins/modules/certificate_request.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp8ro28180 TO /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/AnsiballZ_certificate_request.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp8ro28180 /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/AnsiballZ_certificate_request.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/ /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/AnsiballZ_certificate_request.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"changed": true, "msg": "Certificate requested (new).", "invocation": {"module_args": {"name": "mycert_key_size", "dns": ["www.example.com"], "directory": "/etc/pki/tls", "key_size": 1024, "wait": true, "ca": "self-sign", "__header": "#\\n# Ansible managed\\n#\\n# system_role:certificate\\n", "provider_config_directory": "/etc/certmonger", "provider": "certmonger", "key_usage": ["digitalSignature", "keyEncipherment"], "extended_key_usage": ["id-kp-serverAuth", "id-kp-clientAuth"], "auto_renew": true, "ip": null, "email": null, "common_name": null, "country": null, "state": null, "locality": null, "organization": null, "organizational_unit": null, "contact_email": null, "owner": null, "group": null, "mode": null, "principal": null, "run_before": null, "run_after": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470322.8981345-10161-250415856172390/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') changed: [managed-node3] => (item={'name': 'mycert_key_size', 'dns': 'www.example.com', 'ca': 'self-sign', 'key_size': 1024}) => { "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": 1024, "key_usage": [ "digitalSignature", "keyEncipherment" ], "locality": null, "mode": null, "name": "mycert_key_size", "organization": null, "organizational_unit": null, "owner": null, "principal": null, "provider": "certmonger", "provider_config_directory": "/etc/certmonger", "run_after": null, "run_before": null, "state": null, "wait": true } }, "item": { "ca": "self-sign", "dns": "www.example.com", "key_size": 1024, "name": "mycert_key_size" } } MSG: Certificate requested (new). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.827) 0:00:10.109 ***** skipping: [managed-node3] => (item=['cert', {'name': 'mycert_key_size', 'dns': 'www.example.com', 'ca': 'self-sign', 'key_size': 1024}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "dns": "www.example.com", "key_size": 1024, "name": "mycert_key_size" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['key', {'name': 'mycert_key_size', 'dns': 'www.example.com', 'ca': 'self-sign', 'key_size': 1024}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "dns": "www.example.com", "key_size": 1024, "name": "mycert_key_size" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=['ca', {'name': 'mycert_key_size', 'dns': 'www.example.com', 'ca': 'self-sign', 'key_size': 1024}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "dns": "www.example.com", "key_size": 1024, "name": "mycert_key_size" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.062) 0:00:10.171 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.044) 0:00:10.216 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.044) 0:00:10.260 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify each certificate] ************************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:17 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.037) 0:00:10.298 ***** included: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml for managed-node3 TASK [Set virtualenv_path] ***************************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:2 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.068) 0:00:10.367 ***** ok: [managed-node3] => { "ansible_facts": { "__virtualenv_path": "/tmp/certificate-tests-venv" }, "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.023) 0:00:10.391 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:14 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.056) 0:00:10.447 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:18 Thursday 13 February 2025 13:12:03 -0500 (0:00:00.040) 0:00:10.488 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure python3 is installed] ********************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 Thursday 13 February 2025 13:12:04 -0500 (0:00:00.042) 0:00:10.530 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119 `" && echo ansible-tmp-1739470324.1272364-10227-44193977984119="` echo /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470324.1272364-10227-44193977984119=/root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/packaging/os/dnf.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp2w50o_2_ TO /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/AnsiballZ_dnf.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp2w50o_2_ /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/AnsiballZ_dnf.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/ /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/AnsiballZ_dnf.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"msg": "Nothing to do", "changed": false, "results": [], "rc": 0, "invocation": {"module_args": {"name": ["python3-cryptography", "python3-pyasn1"], "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null, "state": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470324.1272364-10227-44193977984119/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "changed": false, "invocation": { "module_args": { "allow_downgrade": false, "autoremove": false, "bugfix": false, "conf_file": null, "disable_excludes": null, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_dir": null, "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "install_repoquery": true, "install_weak_deps": true, "installroot": "/", "list": null, "lock_timeout": 30, "name": [ "python3-cryptography", "python3-pyasn1" ], "releasever": null, "security": false, "skip_broken": false, "state": null, "update_cache": false, "update_only": false, "validate_certs": true } }, "rc": 0, "results": [] } MSG: Nothing to do TASK [Retrieve certificate file stats] ***************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Thursday 13 February 2025 13:12:06 -0500 (0:00:02.830) 0:00:13.360 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143 `" && echo ansible-tmp-1739470326.9120288-10308-159588063172143="` echo /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470326.9120288-10308-159588063172143=/root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpoxgaodbq TO /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/AnsiballZ_stat.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpoxgaodbq /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/AnsiballZ_stat.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/ /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/certs/mycert_key_size.crt", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 1115, "inode": 7718636, "dev": 51713, "nlink": 1, "atime": 1739470323.4761748, "mtime": 1739470323.4731748, "ctime": 1739470323.4731748, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "647746ae25ec7d1521d324d91004a51a702aef52", "mimetype": "text/plain", "charset": "us-ascii", "version": "469357370", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/certs/mycert_key_size.crt", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470326.9120288-10308-159588063172143/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "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_key_size.crt" } }, "stat": { "atime": 1739470323.4761748, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "647746ae25ec7d1521d324d91004a51a702aef52", "ctime": 1739470323.4731748, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718636, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470323.4731748, "nlink": 1, "path": "/etc/pki/tls/certs/mycert_key_size.crt", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 1115, "uid": 0, "version": "469357370", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if certificate file exists] *************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:43 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.381) 0:00:13.741 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate file owner and group] ********************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:49 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.046) 0:00:13.788 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate permissions] ****************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:59 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.047) 0:00:13.835 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve key file stats] ************************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.044) 0:00:13.879 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774 `" && echo ansible-tmp-1739470327.4338346-10338-275389612999774="` echo /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470327.4338346-10338-275389612999774=/root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp7kub_c0x TO /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/AnsiballZ_stat.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmp7kub_c0x /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/AnsiballZ_stat.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/ /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"changed": false, "stat": {"exists": true, "path": "/etc/pki/tls/private/mycert_key_size.key", "mode": "0600", "isdir": false, "ischr": false, "isblk": false, "isreg": true, "isfifo": false, "islnk": false, "issock": false, "uid": 0, "gid": 0, "size": 916, "inode": 7718635, "dev": 51713, "nlink": 1, "atime": 1739470323.435175, "mtime": 1739470323.4731748, "ctime": 1739470323.4731748, "wusr": true, "rusr": true, "xusr": false, "wgrp": false, "rgrp": false, "xgrp": false, "woth": false, "roth": false, "xoth": false, "isuid": false, "isgid": false, "blocks": 8, "block_size": 4096, "device_type": 0, "readable": true, "writeable": true, "executable": false, "pw_name": "root", "gr_name": "root", "checksum": "d3ff7314a4d3f0a17d8e281428ad7ab91742ace1", "mimetype": "text/plain", "charset": "us-ascii", "version": "2763391416", "attributes": [], "attr_flags": ""}, "invocation": {"module_args": {"path": "/etc/pki/tls/private/mycert_key_size.key", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470327.4338346-10338-275389612999774/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "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_key_size.key" } }, "stat": { "atime": 1739470323.435175, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "d3ff7314a4d3f0a17d8e281428ad7ab91742ace1", "ctime": 1739470323.4731748, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 7718635, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0600", "mtime": 1739470323.4731748, "nlink": 1, "path": "/etc/pki/tls/private/mycert_key_size.key", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 916, "uid": 0, "version": "2763391416", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify if key file exists] *********************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:70 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.355) 0:00:14.235 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key file owner and group] ***************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:76 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.036) 0:00:14.271 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Parse certificate] ******************************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:86 Thursday 13 February 2025 13:12:07 -0500 (0:00:00.039) 0:00:14.311 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114 `" && echo ansible-tmp-1739470327.8619976-10352-140819405197114="` echo /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470327.8619976-10352-140819405197114=/root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114\n', b'') Using module file /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/library/certtojson.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpo10mr2ut TO /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/AnsiballZ_certtojson.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpo10mr2ut /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/AnsiballZ_certtojson.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/ /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/AnsiballZ_certtojson.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"changed": false, "certificate": {"validity": {"not_valid_after": "20260213181145Z", "not_valid_before": "20250213181203Z"}, "signature_algorithm": {"algorithm": "sha256WithRSAEncryption", "signature": "0A:06:BA:ED:BF:18:1D:8C:3F:D1:E3:0F:29:74:08:C4:2F:03:96:79:5C:2B:FC:03:65:4D:77:38:8F:7F:E9:F9:12:6F:6B:81:85:01:43:D8:13:5F:2D:89:CB:C2:E9:15:E8:79:D3:9C:6A:FB:19:A5:7D:6A:94:7B:9C:8E:5A:5E:D1:8D:A9:5D:0E:9B:92:4B:1C:89:79:44:2A:49:35:D5:AF:B7:4B:3B:83:01:91:07:A0:43:94:8E:2D:76:18:09:86:F4:59:C5:AC:EB:CE:3D:E1:AB:20:E8:36:D6:CB:0F:46:EE:0D:38:84:3C:A6:70:8D:FF:71:F4:43:7B:9B:3F:D8:D9:F5:27:0D:EE:0C:D8:08:59:E6:DE:32:6D:7C:C0:BB:3D:E8:33:7B:90:28:F3:07:F6:5F:81:AD:33:C6:82:2C:CB:16:3E:14:95:5F:47:A1:83:B0:F3:53:3B:41:41:2E:BE:38:E9:BB:D7:0C:F1:52:61:E1:0E:62:AD:1D:2F:52:97:1B:28:86:9C:0E:9B:56:B1:6E:7E:67:DF:CC:DC:36:AD:5E:B9:12:B6:B0:2E:CB:54:1F:88:71:B3:16:99:A7:37:CE:56:5B:72:38:BE:1A:CA:70:36:A5:21:87:D8:15:93:5F:29:4C:23:C7:F0:0F:A0:2C:0D:FE:77:88:B2"}, "key_size": 1024, "subject": [{"name": "commonName", "oid": "2.5.4.3", "value": "www.example.com"}], "extensions": {"keyUsage": {"critical": false, "value": ["digital_signature", "key_encipherment"]}, "subjectAltName": {"critical": false, "value": [{"name": "DNS", "value": "www.example.com"}]}, "extendedKeyUsage": {"critical": false, "value": [{"name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1"}, {"name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2"}]}, "basicConstraints": {"critical": true, "value": {"ca": false}}, "subjectKeyIdentifier": {"critical": false, "value": "7D:D7:0B:A5:91:2D:51:2A:54:7D:3C:71:E2:4C:1A:8E:03:C5:64:5C"}, "authorityKeyIdentifier": {"critical": false, "value": "34:B6:00:9C:F1:6C:B8:DC:69:D3:E4:58:30:90:DA:09:2B:5E:94:E4"}}}, "invocation": {"module_args": {"filename": "/etc/pki/tls/certs/mycert_key_size.crt"}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470327.8619976-10352-140819405197114/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "certificate": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "34:B6:00:9C:F1:6C:B8:DC:69:D3:E4:58:30:90:DA:09:2B:5E:94:E4" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "7D:D7:0B:A5:91:2D:51:2A:54:7D:3C:71:E2:4C:1A:8E:03:C5:64:5C" } }, "key_size": 1024, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0A:06:BA:ED:BF:18:1D:8C:3F:D1:E3:0F:29:74:08:C4:2F:03:96:79:5C:2B:FC:03:65:4D:77:38:8F:7F:E9:F9:12:6F:6B:81:85:01:43:D8:13:5F:2D:89:CB:C2:E9:15:E8:79:D3:9C:6A:FB:19:A5:7D:6A:94:7B:9C:8E:5A:5E:D1:8D:A9:5D:0E:9B:92:4B:1C:89:79:44:2A:49:35:D5:AF:B7:4B:3B:83:01:91:07:A0:43:94:8E:2D:76:18:09:86:F4:59:C5:AC:EB:CE:3D:E1:AB:20:E8:36:D6:CB:0F:46:EE:0D:38:84:3C:A6:70:8D:FF:71:F4:43:7B:9B:3F:D8:D9:F5:27:0D:EE:0C:D8:08:59:E6:DE:32:6D:7C:C0:BB:3D:E8:33:7B:90:28:F3:07:F6:5F:81:AD:33:C6:82:2C:CB:16:3E:14:95:5F:47:A1:83:B0:F3:53:3B:41:41:2E:BE:38:E9:BB:D7:0C:F1:52:61:E1:0E:62:AD:1D:2F:52:97:1B:28:86:9C:0E:9B:56:B1:6E:7E:67:DF:CC:DC:36:AD:5E:B9:12:B6:B0:2E:CB:54:1F:88:71:B3:16:99:A7:37:CE:56:5B:72:38:BE:1A:CA:70:36:A5:21:87:D8:15:93:5F:29:4C:23:C7:F0:0F:A0:2C:0D:FE:77:88:B2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181145Z", "not_valid_before": "20250213181203Z" } }, "changed": false, "invocation": { "module_args": { "filename": "/etc/pki/tls/certs/mycert_key_size.crt" } } } TASK [Load certificate YAML to cert_issued variable] *************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:92 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.528) 0:00:14.839 ***** ok: [managed-node3] => { "ansible_facts": { "cert_issued": { "extensions": { "authorityKeyIdentifier": { "critical": false, "value": "34:B6:00:9C:F1:6C:B8:DC:69:D3:E4:58:30:90:DA:09:2B:5E:94:E4" }, "basicConstraints": { "critical": true, "value": { "ca": false } }, "extendedKeyUsage": { "critical": false, "value": [ { "name": "id-kp-serverAuth", "oid": "1.3.6.1.5.5.7.3.1" }, { "name": "id-kp-clientAuth", "oid": "1.3.6.1.5.5.7.3.2" } ] }, "keyUsage": { "critical": false, "value": [ "digital_signature", "key_encipherment" ] }, "subjectAltName": { "critical": false, "value": [ { "name": "DNS", "value": "www.example.com" } ] }, "subjectKeyIdentifier": { "critical": false, "value": "7D:D7:0B:A5:91:2D:51:2A:54:7D:3C:71:E2:4C:1A:8E:03:C5:64:5C" } }, "key_size": 1024, "signature_algorithm": { "algorithm": "sha256WithRSAEncryption", "signature": "0A:06:BA:ED:BF:18:1D:8C:3F:D1:E3:0F:29:74:08:C4:2F:03:96:79:5C:2B:FC:03:65:4D:77:38:8F:7F:E9:F9:12:6F:6B:81:85:01:43:D8:13:5F:2D:89:CB:C2:E9:15:E8:79:D3:9C:6A:FB:19:A5:7D:6A:94:7B:9C:8E:5A:5E:D1:8D:A9:5D:0E:9B:92:4B:1C:89:79:44:2A:49:35:D5:AF:B7:4B:3B:83:01:91:07:A0:43:94:8E:2D:76:18:09:86:F4:59:C5:AC:EB:CE:3D:E1:AB:20:E8:36:D6:CB:0F:46:EE:0D:38:84:3C:A6:70:8D:FF:71:F4:43:7B:9B:3F:D8:D9:F5:27:0D:EE:0C:D8:08:59:E6:DE:32:6D:7C:C0:BB:3D:E8:33:7B:90:28:F3:07:F6:5F:81:AD:33:C6:82:2C:CB:16:3E:14:95:5F:47:A1:83:B0:F3:53:3B:41:41:2E:BE:38:E9:BB:D7:0C:F1:52:61:E1:0E:62:AD:1D:2F:52:97:1B:28:86:9C:0E:9B:56:B1:6E:7E:67:DF:CC:DC:36:AD:5E:B9:12:B6:B0:2E:CB:54:1F:88:71:B3:16:99:A7:37:CE:56:5B:72:38:BE:1A:CA:70:36:A5:21:87:D8:15:93:5F:29:4C:23:C7:F0:0F:A0:2C:0D:FE:77:88:B2" }, "subject": [ { "name": "commonName", "oid": "2.5.4.3", "value": "www.example.com" } ], "validity": { "not_valid_after": "20260213181145Z", "not_valid_before": "20250213181203Z" } } }, "changed": false } TASK [Verify certificate subject] ********************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.053) 0:00:14.893 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate SAN] ************************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:104 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.056) 0:00:14.949 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify key size] ********************************************************* task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.053) 0:00:15.002 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Key Usage] ******************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:119 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.054) 0:00:15.056 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Verify certificate Extended Key Usage] *********************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:130 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.048) 0:00:15.105 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Retrieve auto-renew flag] ************************************************ task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 Thursday 13 February 2025 13:12:08 -0500 (0:00:00.047) 0:00:15.153 ***** <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.44.207> (0, b'/root\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220 `" && echo ansible-tmp-1739470328.7167773-10405-53459218388220="` echo /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220 `" ) && sleep 0'"'"'' <10.31.44.207> (0, b'ansible-tmp-1739470328.7167773-10405-53459218388220=/root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.44.207> PUT /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpij9d7093 TO /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/AnsiballZ_command.py <10.31.44.207> 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/a2895baba1 '[10.31.44.207]' <10.31.44.207> (0, b'sftp> put /root/.ansible/tmp/ansible-local-95722dyuth0c/tmpij9d7093 /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/AnsiballZ_command.py\n', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/ /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/AnsiballZ_command.py && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 -tt 10.31.44.207 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/AnsiballZ_command.py && sleep 0'"'"'' <10.31.44.207> (0, b'\r\n{"cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_key_size.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "stdout": "yes", "stderr": "", "rc": 0, "start": "2025-02-13 13:12:09.055008", "end": "2025-02-13 13:12:09.100031", "delta": "0:00:00.045023", "changed": true, "invocation": {"module_args": {"_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_key_size.crt | grep \'auto-renew\' | sed \'s/^\\\\s\\\\+auto-renew: //g\'", "_uses_shell": true, "warn": true, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.44.207 closed.\r\n') <10.31.44.207> ESTABLISH SSH CONNECTION FOR USER: None <10.31.44.207> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o ControlPath=/root/.ansible/cp/a2895baba1 10.31.44.207 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1739470328.7167773-10405-53459218388220/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.44.207> (0, b'', b'') ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_key_size.crt | grep 'auto-renew' | sed 's/^\\s\\+auto-renew: //g'", "delta": "0:00:00.045023", "end": "2025-02-13 13:12:09.100031", "invocation": { "module_args": { "_raw_params": "set -euo pipefail; getcert list -f /etc/pki/tls/certs/mycert_key_size.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:12:09.055008" } STDOUT: yes TASK [Verify certificate auto-renew flag] ************************************** task path: /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:152 Thursday 13 February 2025 13:12:09 -0500 (0:00:00.496) 0:00:15.650 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=29 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 Thursday 13 February 2025 13:12:09 -0500 (0:00:00.036) 0:00:15.687 ***** =============================================================================== fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.04s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Ensure python3 is installed --------------------------------------------- 2.83s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:28 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 2.83s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Gathering Facts --------------------------------------------------------- 0.99s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.83s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.75s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Parse certificate ------------------------------------------------------- 0.53s /tmp/collections-njK/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.51s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Retrieve auto-renew flag ------------------------------------------------ 0.50s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:143 fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.47s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.40s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Retrieve certificate file stats ----------------------------------------- 0.38s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:38 Retrieve key file stats ------------------------------------------------- 0.36s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:65 fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.08s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Request certificate with key size --------------------------------------- 0.08s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:8 Verify each certificate ------------------------------------------------- 0.07s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_key_size.yml:17 fedora.linux_system_roles.certificate : Slurp the contents of the files --- 0.06s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Verify certificate subject ---------------------------------------------- 0.06s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:96 Check if system is ostree ----------------------------------------------- 0.06s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:9 Verify key size --------------------------------------------------------- 0.05s /tmp/collections-njK/ansible_collections/fedora/linux_system_roles/tests/certificate/tasks/assert_certificate_parameters.yml:112