ansible-playbook [core 2.17.14] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-0gl executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 3 plays in /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Thursday 06 August 2026 19:28:33 -0400 (0:00:00.020) 0:00:00.020 ******* [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node3] TASK [Backup configuration files] ********************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Thursday 06 August 2026 19:28:34 -0400 (0:00:01.264) 0:00:01.285 ******* included: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node3 TASK [Setup] ******************************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Thursday 06 August 2026 19:28:34 -0400 (0:00:00.071) 0:00:01.356 ******* included: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node3 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Thursday 06 August 2026 19:28:34 -0400 (0:00:00.044) 0:00:01.401 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "'os_family' not in ansible_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Thursday 06 August 2026 19:28:34 -0400 (0:00:00.022) 0:00:01.423 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Thursday 06 August 2026 19:28:35 -0400 (0:00:00.477) 0:00:01.900 ******* ok: [managed-node3] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Thursday 06 August 2026 19:28:35 -0400 (0:00:00.023) 0:00:01.924 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Define common variables] ************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Thursday 06 August 2026 19:28:36 -0400 (0:00:01.161) 0:00:03.086 ******* 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-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Thursday 06 August 2026 19:28:36 -0400 (0:00:00.022) 0:00:03.109 ******* 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-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Thursday 06 August 2026 19:28:36 -0400 (0:00:00.089) 0:00:03.198 ******* ok: [managed-node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.e5nmscfq", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Thursday 06 August 2026 19:28:37 -0400 (0:00:00.610) 0:00:03.809 ******* 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.e5nmscfq/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.e5nmscfq/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003703", "end": "2026-08-06 19:28:37.616848", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-06 19:28:37.613145" } 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.e5nmscfq/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.e5nmscfq/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.003755", "end": "2026-08-06 19:28:38.035152", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-06 19:28:38.031397" } PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Thursday 06 August 2026 19:28:38 -0400 (0:00:00.939) 0:00:04.748 ******* ok: [managed-node3] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Thursday 06 August 2026 19:28:38 -0400 (0:00:00.769) 0:00:05.517 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1786058912.724998, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1786058721.6469998, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 121, "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": 1786058716.337, "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-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.388) 0:00:05.906 ******* ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-06 19:28:38" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.028) 0:00:05.934 ******* included: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml for managed-node3 TASK [Clear facts] ************************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:9 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.030) 0:00:05.965 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.001) 0:00:05.966 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.031) 0:00:05.998 ******* included: fedora.linux_system_roles.ssh for managed-node3 TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.171) 0:00:06.169 ******* included: /tmp/collections-0gl/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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 06 August 2026 19:28:39 -0400 (0:00:00.034) 0:00:06.204 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 06 August 2026 19:28:40 -0400 (0:00:00.725) 0:00:06.929 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-06T19:28:40-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-0gl/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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Thursday 06 August 2026 19:28:40 -0400 (0:00:00.486) 0:00:07.415 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "not __ssh_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Set flag to indicate system is ostree] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Thursday 06 August 2026 19:28:40 -0400 (0:00:00.017) 0:00:07.433 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "not __ssh_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Thursday 06 August 2026 19:28:40 -0400 (0:00:00.018) 0:00:07.452 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Thursday 06 August 2026 19:28:41 -0400 (0:00:00.407) 0:00:07.859 ******* 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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Thursday 06 August 2026 19:28:41 -0400 (0:00:00.042) 0:00:07.901 ******* skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node3] => (item=CentOS_9.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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node3] => (item=CentOS_9.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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 06 August 2026 19:28:41 -0400 (0:00:00.070) 0:00:07.972 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 06 August 2026 19:28:42 -0400 (0:00:01.340) 0:00:09.312 ******* skipping: [managed-node3] => { "false_condition": "__ssh_is_transactional | d(false)" } TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Thursday 06 August 2026 19:28:42 -0400 (0:00:00.021) 0:00:09.334 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "__ssh_is_transactional | d(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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Thursday 06 August 2026 19:28:42 -0400 (0:00:00.018) 0:00:09.352 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "__ssh_is_transactional | d(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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Thursday 06 August 2026 19:28:42 -0400 (0:00:00.014) 0:00:09.366 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ssh_user is not none", "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-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Thursday 06 August 2026 19:28:42 -0400 (0:00:00.029) 0:00:09.396 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "ssh_user is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Thursday 06 August 2026 19:28:42 -0400 (0:00:00.028) 0:00:09.424 ******* 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-1786058922.8670056-11779-132857159909858/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Thursday 06 August 2026 19:28:44 -0400 (0:00:01.226) 0:00:10.651 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-06T19:28:44-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Thursday 06 August 2026 19:28:44 -0400 (0:00:00.374) 0:00:11.025 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-06 19:28:38\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.010800", "end": "2026-08-06 19:28:44.748191", "rc": 0, "start": "2026-08-06 19:28:44.737391" } STDOUT: Aug 06 19:28:40 managed-node3 python3.9[14510]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:40-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False Aug 06 19:28:44 managed-node3 python3.9[15305]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:44-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Thursday 06 August 2026 19:28:44 -0400 (0:00:00.423) 0:00:11.449 ******* ok: [managed-node3] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOC0wNlQxOToyODo0MC0wNDowMCIsInJvbGVfbmFtZSI6InNzaCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtMGdsL2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9zc2giLCJzdGF0dXMiOiJiZWdpbiIsImFuc2libGVfdmVyc2lvbiI6IjIuMTcuMTQiLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTkiLCJwbGF5X2hvc3RzX251bWJlciI6MSwiYW5zaWJsZV9jaGVja19tb2RlIjpmYWxzZX0KeyJkYXRlIjoiMjAyNi0wOC0wNlQxOToyODo0NC0wNDowMCIsInJvbGVfbmFtZSI6InNzaCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtMGdsL2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9zc2giLCJzdGF0dXMiOiJzdWNjZXNzIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi4xNy4xNCIsIm1hbmFnZWRfbm9kZV9kaXN0cm8iOiJDZW50T1MtOSIsInBsYXlfaG9zdHNfbnVtYmVyIjoxLCJhbnNpYmxlX2NoZWNrX21vZGUiOmZhbHNlfQo=", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Thursday 06 August 2026 19:28:45 -0400 (0:00:00.547) 0:00:11.997 ******* ok: [managed-node3] => (item={"date":"2026-08-06T19:28:40-04:00","role_name":"ssh","role_path":"/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"begin","ansible_version":"2.17.14","managed_node_distro":"CentOS-9","play_hosts_number":1,"ansible_check_mode":false} {"date":"2026-08-06T19:28:44-04:00","role_name":"ssh","role_path":"/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"success","ansible_version":"2.17.14","managed_node_distro":"CentOS-9","play_hosts_number":1,"ansible_check_mode":false} ) => { "ansible_loop_var": "item", "item": "{\"date\":\"2026-08-06T19:28:40-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"begin\",\"ansible_version\":\"2.17.14\",\"managed_node_distro\":\"CentOS-9\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n{\"date\":\"2026-08-06T19:28:44-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"success\",\"ansible_version\":\"2.17.14\",\"managed_node_distro\":\"CentOS-9\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n" } ok: [managed-node3] => (item=['Aug 06 19:28:40 managed-node3 python3.9[14510]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:40-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False', 'Aug 06 19:28:44 managed-node3 python3.9[15305]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:44-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Aug 06 19:28:40 managed-node3 python3.9[14510]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:40-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False", "Aug 06 19:28:44 managed-node3 python3.9[15305]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:28:44-04:00 role_name=ssh role_path=/tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-9 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Thursday 06 August 2026 19:28:45 -0400 (0:00:00.048) 0:00:12.045 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Thursday 06 August 2026 19:28:45 -0400 (0:00:00.124) 0:00:12.170 ******* ok: [managed-node3] TASK [Restore configuration files] ********************************************* task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Thursday 06 August 2026 19:28:46 -0400 (0:00:00.819) 0:00:12.989 ******* included: /tmp/collections-0gl/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-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Thursday 06 August 2026 19:28:46 -0400 (0:00:00.033) 0:00:13.023 ******* ok: [managed-node3] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.e5nmscfq//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.e5nmscfq//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.003621", "end": "2026-08-06 19:28:46.747573", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-06 19:28:46.743952" } ok: [managed-node3] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.e5nmscfq//etc/ssh_config; then\n cp -a /tmp/ansible.e5nmscfq//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.003806", "end": "2026-08-06 19:28:47.111660", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-06 19:28:47.107854" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Thursday 06 August 2026 19:28:47 -0400 (0:00:00.784) 0:00:13.807 ******* ok: [managed-node3] => { "changed": false, "path": "/tmp/ansible.e5nmscfq", "state": "absent" } PLAY RECAP ********************************************************************* managed-node3 : ok=32 changed=1 unreachable=0 failed=0 skipped=9 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 06 August 2026 19:28:47 -0400 (0:00:00.534) 0:00:14.342 ******* =============================================================================== fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.34s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.23s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Make sure openssh is installed before creating backup ------------------- 1.16s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Backup files ------------------------------------------------------------ 0.94s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Gathering Facts --------------------------------------------------------- 0.82s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Restore backed up files and remove what was not present ----------------- 0.78s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Gathering Facts --------------------------------------------------------- 0.77s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.73s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.61s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Check that the log file was written ------------------------------------- 0.55s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Remove temporary directory for backup files ----------------------------- 0.53s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.49s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Check if system is ostree ----------------------------------------------- 0.48s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Get fingerprint entries from journal ------------------------------------ 0.42s /tmp/collections-0gl/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.41s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 See if /dev/log exists for the fingerprint check ------------------------ 0.39s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.37s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Run the role normally --------------------------------------------------- 0.17s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Assert content is correct ----------------------------------------------- 0.12s /tmp/collections-0gl/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65