ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles 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 'jsonl', 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_default.yml **************************************************** 3 plays in /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Saturday 29 August 2026 19:02:57 -0400 (0:00:00.035) 0:00:00.035 ******* ok: [managed-node2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Saturday 29 August 2026 19:02:58 -0400 (0:00:00.983) 0:00:01.018 ******* included: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node2 TASK [Setup] ******************************************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Saturday 29 August 2026 19:02:58 -0400 (0:00:00.105) 0:00:01.124 ******* included: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Saturday 29 August 2026 19:02:58 -0400 (0:00:00.049) 0:00:01.173 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Saturday 29 August 2026 19:02:58 -0400 (0:00:00.048) 0:00:01.222 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Saturday 29 August 2026 19:02:59 -0400 (0:00:00.589) 0:00:01.812 ******* ok: [managed-node2] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Saturday 29 August 2026 19:02:59 -0400 (0:00:00.141) 0:00:01.953 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: openssh-clients TASK [Define common variables] ************************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Saturday 29 August 2026 19:03:00 -0400 (0:00:01.001) 0:00:02.955 ******* ok: [managed-node2] => { "ansible_facts": { "main_ssh_config": "/etc/ssh/ssh_config", "main_ssh_config_name": "ssh_config", "main_ssh_config_path": "/etc/ssh/" }, "changed": false } TASK [Define specific variables] *********************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Saturday 29 August 2026 19:03:00 -0400 (0:00:00.028) 0:00:02.984 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Saturday 29 August 2026 19:03:00 -0400 (0:00:00.067) 0:00:03.051 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.cX2obA", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Saturday 29 August 2026 19:03:01 -0400 (0:00:00.644) 0:00:03.695 ******* ok: [managed-node2] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config.d/00-ansible.conf; then\n mkdir -p /tmp/ansible.cX2obA/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.cX2obA/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.002684", "end": "2026-08-29 19:03:01.610707", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-29 19:03:01.608023" } ok: [managed-node2] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config; then\n mkdir -p /tmp/ansible.cX2obA/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.cX2obA/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.002798", "end": "2026-08-29 19:03:01.996595", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-29 19:03:01.993797" } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Saturday 29 August 2026 19:03:02 -0400 (0:00:00.933) 0:00:04.629 ******* ok: [managed-node2] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Saturday 29 August 2026 19:03:02 -0400 (0:00:00.609) 0:00:05.238 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1788044583.1677222, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1788044258.702, "dev": 5, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8345, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": true, "isuid": false, "mimetype": "inode/socket", "mode": "0666", "mtime": 1788044258.702, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.552) 0:00:05.791 ******* ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-08-29 19:03:02" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.074) 0:00:05.865 ******* included: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.074) 0:00:05.940 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.102) 0:00:06.043 ******* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.126) 0:00:06.169 ******* included: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.091) 0:00:06.260 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.567) 0:00:06.828 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T19:03:04+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "begin" } } TASK [fedora.linux_system_roles.ssh : Check if system is ostree] *************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.536) 0:00:07.365 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Set flag to indicate system is ostree] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.036) 0:00:07.401 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.030) 0:00:07.432 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Saturday 29 August 2026 19:03:05 -0400 (0:00:00.288) 0:00:07.720 ******* ok: [managed-node2] => { "ansible_facts": { "__ssh_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Saturday 29 August 2026 19:03:05 -0400 (0:00:00.024) 0:00:07.744 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } } }, "ansible_included_var_files": [ "/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Saturday 29 August 2026 19:03:05 -0400 (0:00:00.070) 0:00:07.815 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "openssh-7.4p1-23.el7_9.x86_64 providing openssh is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: openssh openssh-clients TASK [fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.943) 0:00:08.759 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.026) 0:00:08.785 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Fail if reboot is needed and not set] **** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.025) 0:00:08.811 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.033) 0:00:08.844 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.027) 0:00:08.872 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Saturday 29 August 2026 19:03:06 -0400 (0:00:00.039) 0:00:08.912 ******* changed: [managed-node2] => { "backup_file": "/etc/ssh/ssh_config.11304.2026-08-29@19:03:07~", "changed": true, "checksum": "3fcf53b13f73c417fcf66a49a43f079dff5182e9", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "f2baa8f9c7cdfef49e6065d7da67823b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 308, "src": "/root/.ansible/tmp/ansible-tmp-1788044586.44-12223-854401277656/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Saturday 29 August 2026 19:03:08 -0400 (0:00:01.682) 0:00:10.594 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T19:03:08+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Saturday 29 August 2026 19:03:08 -0400 (0:00:00.389) 0:00:10.984 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-29 19:03:02\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.006757", "end": "2026-08-29 19:03:08.722684", "rc": 0, "start": "2026-08-29 19:03:08.715927" } STDOUT: Aug 29 19:03:04 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11085]: date=2026-08-29T19:03:04+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False Aug 29 19:03:08 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11356]: date=2026-08-29T19:03:08+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Saturday 29 August 2026 19:03:08 -0400 (0:00:00.339) 0:00:11.324 ******* ok: [managed-node2] => { "changed": false, "content": "eyJzdGF0dXMiOiJiZWdpbiIsInBsYXlfaG9zdHNfbnVtYmVyIjoxLCJyb2xlX25hbWUiOiJzc2giLCJhbnNpYmxlX2NoZWNrX21vZGUiOmZhbHNlLCJkYXRlIjoiMjAyNi0wOC0yOVQxOTowMzowNCswMDAwIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1ZWVovYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL3NzaCIsImFuc2libGVfdmVyc2lvbiI6IjIuOS4yNyIsIm1hbmFnZWRfbm9kZV9kaXN0cm8iOiJDZW50T1MtNy45In0KeyJzdGF0dXMiOiJzdWNjZXNzIiwicGxheV9ob3N0c19udW1iZXIiOjEsInJvbGVfbmFtZSI6InNzaCIsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2UsImRhdGUiOiIyMDI2LTA4LTI5VDE5OjAzOjA4KzAwMDAiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLVlZWi9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvc3NoIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy03LjkifQo=", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Saturday 29 August 2026 19:03:09 -0400 (0:00:00.614) 0:00:11.938 ******* ok: [managed-node2] => (item={"status":"begin","play_hosts_number":1,"role_name":"ssh","ansible_check_mode":false,"date":"2026-08-29T19:03:04+0000","role_path":"/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} {"status":"success","play_hosts_number":1,"role_name":"ssh","ansible_check_mode":false,"date":"2026-08-29T19:03:08+0000","role_path":"/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} ) => { "ansible_loop_var": "item", "item": "{\"status\":\"begin\",\"play_hosts_number\":1,\"role_name\":\"ssh\",\"ansible_check_mode\":false,\"date\":\"2026-08-29T19:03:04+0000\",\"role_path\":\"/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n{\"status\":\"success\",\"play_hosts_number\":1,\"role_name\":\"ssh\",\"ansible_check_mode\":false,\"date\":\"2026-08-29T19:03:08+0000\",\"role_path\":\"/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n" } ok: [managed-node2] => (item=[u'Aug 29 19:03:04 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11085]: date=2026-08-29T19:03:04+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False', u'Aug 29 19:03:08 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11356]: date=2026-08-29T19:03:08+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Aug 29 19:03:04 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11085]: date=2026-08-29T19:03:04+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False", "Aug 29 19:03:08 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11356]: date=2026-08-29T19:03:08+0000 role_name=ssh role_path=/tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Saturday 29 August 2026 19:03:09 -0400 (0:00:00.043) 0:00:11.982 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Saturday 29 August 2026 19:03:09 -0400 (0:00:00.051) 0:00:12.033 ******* ok: [managed-node2] META: ran handlers TASK [Restore configuration files] ********************************************* task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.596) 0:00:12.629 ******* included: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml for managed-node2 TASK [Restore backed up files and remove what was not present] ***************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.058) 0:00:12.688 ******* ok: [managed-node2] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.cX2obA//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.cX2obA//etc/ssh_config.d/00-ansible.conf $(dirname /etc/ssh_config.d/00-ansible.conf)\nelif test -f /etc/ssh_config.d/00-ansible.conf; then\n rm /etc/ssh_config.d/00-ansible.conf\nfi\n", "delta": "0:00:00.002757", "end": "2026-08-29 19:03:10.418367", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-29 19:03:10.415610" } ok: [managed-node2] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.cX2obA//etc/ssh_config; then\n cp -a /tmp/ansible.cX2obA//etc/ssh_config $(dirname /etc/ssh_config)\nelif test -f /etc/ssh_config; then\n rm /etc/ssh_config\nfi\n", "delta": "0:00:00.002737", "end": "2026-08-29 19:03:10.773326", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-29 19:03:10.770589" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.688) 0:00:13.376 ******* ok: [managed-node2] => { "changed": false, "path": "/tmp/ansible.cX2obA", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=30 changed=1 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 29 August 2026 19:03:11 -0400 (0:00:00.538) 0:00:13.914 ******* =============================================================================== fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.68s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Make sure openssh is installed before creating backup ------------------- 1.00s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Gathering Facts --------------------------------------------------------- 0.98s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.94s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Backup files ------------------------------------------------------------ 0.93s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Restore backed up files and remove what was not present ----------------- 0.69s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Create a temporary directory for backup files --------------------------- 0.64s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Check that the log file was written ------------------------------------- 0.61s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Check if system is ostree ----------------------------------------------- 0.59s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.57s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 See if /dev/log exists for the fingerprint check ------------------------ 0.55s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Remove temporary directory for backup files ----------------------------- 0.54s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.54s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.39s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Get fingerprint entries from journal ------------------------------------ 0.34s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin --- 0.29s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Set flag to indicate system is ostree ----------------------------------- 0.14s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Run the role normally --------------------------------------------------- 0.13s /tmp/collections-YYZ/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33