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 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-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Saturday 29 August 2026 19:03:03 -0400 (0:00:00.034) 0:00:00.034 ******* ok: [managed-node3] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Saturday 29 August 2026 19:03:04 -0400 (0:00:01.021) 0:00:01.056 ******* included: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node3 TASK [Setup] ******************************************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.043) 0:00:01.099 ******* included: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node3 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.025) 0:00:01.125 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Saturday 29 August 2026 19:03:04 -0400 (0:00:00.040) 0:00:01.165 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Saturday 29 August 2026 19:03:05 -0400 (0:00:00.442) 0:00:01.608 ******* ok: [managed-node3] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Saturday 29 August 2026 19:03:05 -0400 (0:00:00.042) 0:00:01.651 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: openssh-clients TASK [Define common variables] ************************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Saturday 29 August 2026 19:03:07 -0400 (0:00:02.476) 0:00:04.127 ******* ok: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Saturday 29 August 2026 19:03:07 -0400 (0:00:00.027) 0:00:04.154 ******* ok: [managed-node3] => { "ansible_facts": { "main_ssh_config": "/etc/ssh/ssh_config.d/00-ansible.conf", "main_ssh_config_name": "00-ansible.conf", "main_ssh_config_path": "/etc/ssh/ssh_config.d/" }, "changed": false } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Saturday 29 August 2026 19:03:07 -0400 (0:00:00.072) 0:00:04.227 ******* ok: [managed-node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.4vbxeaj_", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Saturday 29 August 2026 19:03:08 -0400 (0:00:00.544) 0:00:04.772 ******* ok: [managed-node3] => (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.4vbxeaj_/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.4vbxeaj_/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.002699", "end": "2026-08-29 19:03:08.670752", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-29 19:03:08.668053" } ok: [managed-node3] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config; then\n mkdir -p /tmp/ansible.4vbxeaj_/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.4vbxeaj_/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.002792", "end": "2026-08-29 19:03:08.991834", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-29 19:03:08.989042" } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Saturday 29 August 2026 19:03:09 -0400 (0:00:00.850) 0:00:05.622 ******* ok: [managed-node3] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Saturday 29 August 2026 19:03:09 -0400 (0:00:00.771) 0:00:06.393 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1788044582.371901, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1788044256.57, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/journal/dev-log", "lnk_target": "/run/systemd/journal/dev-log", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1788044256.57, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 28, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.531) 0:00:06.925 ******* ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-29 19:03:09" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.039) 0:00:06.965 ******* included: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml for managed-node3 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.017) 0:00:06.982 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.033) 0:00:07.015 ******* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.068) 0:00:07.084 ******* included: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Saturday 29 August 2026 19:03:10 -0400 (0:00:00.023) 0:00:07.107 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Saturday 29 August 2026 19:03:11 -0400 (0:00:00.548) 0:00:07.656 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T19:03:11-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-lVT/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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Saturday 29 August 2026 19:03:11 -0400 (0:00:00.685) 0:00:08.341 ******* skipping: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Saturday 29 August 2026 19:03:11 -0400 (0:00:00.026) 0:00:08.367 ******* skipping: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Saturday 29 August 2026 19:03:11 -0400 (0:00:00.027) 0:00:08.395 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Saturday 29 August 2026 19:03:12 -0400 (0:00:00.380) 0:00:08.775 ******* ok: [managed-node3] => { "ansible_facts": { "__ssh_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Saturday 29 August 2026 19:03:12 -0400 (0:00:00.019) 0:00:08.795 ******* 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" } ok: [managed-node3] => (item=CentOS_8.yml) => { "ansible_facts": { "__ssh_defaults": { "Include": "/etc/ssh/ssh_config.d/*.conf" }, "__ssh_drop_in_name": "00-ansible", "__ssh_supports_drop_in": true }, "ansible_included_var_files": [ "/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node3] => (item=CentOS_8.yml) => { "ansible_facts": { "__ssh_defaults": { "Include": "/etc/ssh/ssh_config.d/*.conf" }, "__ssh_drop_in_name": "00-ansible", "__ssh_supports_drop_in": true }, "ansible_included_var_files": [ "/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Saturday 29 August 2026 19:03:12 -0400 (0:00:00.050) 0:00:08.846 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: openssh openssh-clients TASK [fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Saturday 29 August 2026 19:03:14 -0400 (0:00:02.660) 0:00:11.507 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Saturday 29 August 2026 19:03:14 -0400 (0:00:00.015) 0:00:11.522 ******* skipping: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Saturday 29 August 2026 19:03:14 -0400 (0:00:00.013) 0:00:11.536 ******* skipping: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Saturday 29 August 2026 19:03:14 -0400 (0:00:00.013) 0:00:11.549 ******* skipping: [managed-node3] => { "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-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Saturday 29 August 2026 19:03:14 -0400 (0:00:00.013) 0:00:11.563 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Saturday 29 August 2026 19:03:15 -0400 (0:00:00.014) 0:00:11.577 ******* changed: [managed-node3] => { "changed": true, "checksum": "f7064ac5462aad2cda2efeaddcf48db84a38b68b", "dest": "/etc/ssh/ssh_config.d/00-ansible.conf", "gid": 0, "group": "root", "md5sum": "b9842f12c77db4e7cba397c9fdad4642", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 41, "src": "/root/.ansible/tmp/ansible-tmp-1788044595.0639772-10706-238057357840274/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Saturday 29 August 2026 19:03:15 -0400 (0:00:00.973) 0:00:12.550 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-29T19:03:16-04:00", "managed_node_distro": "CentOS-8", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Saturday 29 August 2026 19:03:16 -0400 (0:00:00.355) 0:00:12.906 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-29 19:03:09\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.008117", "end": "2026-08-29 19:03:16.653954", "rc": 0, "start": "2026-08-29 19:03:16.645837" } STDOUT: Aug 29 19:03:11 managed-node3 platform-python[12155]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:11-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False Aug 29 19:03:16 managed-node3 platform-python[12817]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:16-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Saturday 29 August 2026 19:03:16 -0400 (0:00:00.354) 0:00:13.260 ******* ok: [managed-node3] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOC0yOVQxOTowMzoxMS0wNDowMCIsInJvbGVfbmFtZSI6InNzaCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtbFZUL2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9zc2giLCJzdGF0dXMiOiJiZWdpbiIsImFuc2libGVfdmVyc2lvbiI6IjIuOS4yNyIsIm1hbmFnZWRfbm9kZV9kaXN0cm8iOiJDZW50T1MtOCIsInBsYXlfaG9zdHNfbnVtYmVyIjoxLCJhbnNpYmxlX2NoZWNrX21vZGUiOmZhbHNlfQp7ImRhdGUiOiIyMDI2LTA4LTI5VDE5OjAzOjE2LTA0OjAwIiwicm9sZV9uYW1lIjoic3NoIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1sVlQvYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL3NzaCIsInN0YXR1cyI6InN1Y2Nlc3MiLCJhbnNpYmxlX3ZlcnNpb24iOiIyLjkuMjciLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTgiLCJwbGF5X2hvc3RzX251bWJlciI6MSwiYW5zaWJsZV9jaGVja19tb2RlIjpmYWxzZX0K", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Saturday 29 August 2026 19:03:17 -0400 (0:00:00.521) 0:00:13.781 ******* ok: [managed-node3] => (item={"date":"2026-08-29T19:03:11-04:00","role_name":"ssh","role_path":"/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"begin","ansible_version":"2.9.27","managed_node_distro":"CentOS-8","play_hosts_number":1,"ansible_check_mode":false} {"date":"2026-08-29T19:03:16-04:00","role_name":"ssh","role_path":"/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"success","ansible_version":"2.9.27","managed_node_distro":"CentOS-8","play_hosts_number":1,"ansible_check_mode":false} ) => { "ansible_loop_var": "item", "item": "{\"date\":\"2026-08-29T19:03:11-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"begin\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-8\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n{\"date\":\"2026-08-29T19:03:16-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"success\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-8\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n" } ok: [managed-node3] => (item=['Aug 29 19:03:11 managed-node3 platform-python[12155]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:11-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False', 'Aug 29 19:03:16 managed-node3 platform-python[12817]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:16-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Aug 29 19:03:11 managed-node3 platform-python[12155]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:11-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False", "Aug 29 19:03:16 managed-node3 platform-python[12817]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-29T19:03:16-04:00 role_name=ssh role_path=/tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-8 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Saturday 29 August 2026 19:03:17 -0400 (0:00:00.035) 0:00:13.817 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Saturday 29 August 2026 19:03:17 -0400 (0:00:00.056) 0:00:13.873 ******* ok: [managed-node3] META: ran handlers TASK [Restore configuration files] ********************************************* task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Saturday 29 August 2026 19:03:17 -0400 (0:00:00.614) 0:00:14.488 ******* included: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml for managed-node3 TASK [Restore backed up files and remove what was not present] ***************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Saturday 29 August 2026 19:03:17 -0400 (0:00:00.023) 0:00:14.512 ******* ok: [managed-node3] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.4vbxeaj_//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.4vbxeaj_//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.002884", "end": "2026-08-29 19:03:18.237888", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-29 19:03:18.235004" } ok: [managed-node3] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.4vbxeaj_//etc/ssh_config; then\n cp -a /tmp/ansible.4vbxeaj_//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.002965", "end": "2026-08-29 19:03:18.558166", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-29 19:03:18.555201" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Saturday 29 August 2026 19:03:18 -0400 (0:00:00.655) 0:00:15.167 ******* ok: [managed-node3] => { "changed": false, "path": "/tmp/ansible.4vbxeaj_", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=31 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 29 August 2026 19:03:19 -0400 (0:00:00.458) 0:00:15.625 ******* =============================================================================== fedora.linux_system_roles.ssh : Ensure required packages are installed --- 2.66s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Make sure openssh is installed before creating backup ------------------- 2.48s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 fedora.linux_system_roles.ssh : Generate the configuration file --------- 0.97s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Backup files ------------------------------------------------------------ 0.85s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Gathering Facts --------------------------------------------------------- 0.77s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.69s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Restore backed up files and remove what was not present ----------------- 0.66s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Gathering Facts --------------------------------------------------------- 0.61s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.55s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.54s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 See if /dev/log exists for the fingerprint check ------------------------ 0.53s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Check that the log file was written ------------------------------------- 0.52s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Remove temporary directory for backup files ----------------------------- 0.46s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Check if system is ostree ----------------------------------------------- 0.44s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin --- 0.38s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.36s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Get fingerprint entries from journal ------------------------------------ 0.35s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Define specific variables ----------------------------------------------- 0.07s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Run the role normally --------------------------------------------------- 0.07s /tmp/collections-lVT/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33