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-Fup executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] (/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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Thursday 06 August 2026 19:24:12 -0400 (0:00:00.035) 0:00:00.035 ******* [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.12, 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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Thursday 06 August 2026 19:24:13 -0400 (0:00:01.494) 0:00:01.529 ******* included: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node3 TASK [Setup] ******************************************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Thursday 06 August 2026 19:24:13 -0400 (0:00:00.024) 0:00:01.553 ******* included: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node3 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Thursday 06 August 2026 19:24:13 -0400 (0:00:00.030) 0:00:01.584 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Thursday 06 August 2026 19:24:13 -0400 (0:00:00.023) 0:00:01.607 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Thursday 06 August 2026 19:24:14 -0400 (0:00:00.523) 0:00:02.130 ******* ok: [managed-node3] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Thursday 06 August 2026 19:24:14 -0400 (0:00:00.034) 0:00:02.164 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Define common variables] ************************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Thursday 06 August 2026 19:24:15 -0400 (0:00:01.178) 0:00:03.342 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Thursday 06 August 2026 19:24:15 -0400 (0:00:00.012) 0:00:03.355 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Thursday 06 August 2026 19:24:15 -0400 (0:00:00.040) 0:00:03.396 ******* ok: [managed-node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.rib22kxm", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Thursday 06 August 2026 19:24:16 -0400 (0:00:00.481) 0:00:03.878 ******* 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.rib22kxm/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.rib22kxm/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.004093", "end": "2026-08-06 19:24:16.536192", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-06 19:24:16.532099" } 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.rib22kxm/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.rib22kxm/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.004087", "end": "2026-08-06 19:24:16.970428", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-06 19:24:16.966341" } PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Thursday 06 August 2026 19:24:17 -0400 (0:00:00.991) 0:00:04.869 ******* ok: [managed-node3] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Thursday 06 August 2026 19:24:18 -0400 (0:00:01.045) 0:00:05.915 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1786058657.7904859, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1786058481.281, "dev": 6, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 123, "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": 1786058475.6672828, "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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.440) 0:00:06.355 ******* ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-06 19:24:17" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.028) 0:00:06.383 ******* included: /tmp/collections-Fup/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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:9 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.035) 0:00:06.419 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.001) 0:00:06.420 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.031) 0:00:06.452 ******* included: fedora.linux_system_roles.ssh for managed-node3 TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.132) 0:00:06.585 ******* included: /tmp/collections-Fup/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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 06 August 2026 19:24:18 -0400 (0:00:00.054) 0:00:06.639 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 06 August 2026 19:24:19 -0400 (0:00:00.731) 0:00:07.371 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-06T19:24:20-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-Fup/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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.579) 0:00:07.951 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.017) 0:00:07.968 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.016) 0:00:07.985 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.446) 0:00:08.432 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.033) 0:00:08.466 ******* 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_10.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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } ok: [managed-node3] => (item=CentOS_10.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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_10.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_10.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 06 August 2026 19:24:20 -0400 (0:00:00.048) 0:00:08.514 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 06 August 2026 19:24:22 -0400 (0:00:01.400) 0:00:09.915 ******* skipping: [managed-node3] => { "false_condition": "__ssh_is_transactional | d(false)" } TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Thursday 06 August 2026 19:24:22 -0400 (0:00:00.017) 0:00:09.933 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Thursday 06 August 2026 19:24:22 -0400 (0:00:00.013) 0:00:09.946 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Thursday 06 August 2026 19:24:22 -0400 (0:00:00.013) 0:00:09.959 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Thursday 06 August 2026 19:24:22 -0400 (0:00:00.018) 0:00:09.978 ******* 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-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Thursday 06 August 2026 19:24:22 -0400 (0:00:00.019) 0:00:09.997 ******* 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-1786058662.2663455-11801-200145468027327/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Thursday 06 August 2026 19:24:23 -0400 (0:00:01.098) 0:00:11.095 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-06T19:24:23-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Thursday 06 August 2026 19:24:23 -0400 (0:00:00.427) 0:00:11.523 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-06 19:24:17\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.010764", "end": "2026-08-06 19:24:24.085100", "rc": 0, "start": "2026-08-06 19:24:24.074336" } STDOUT: Aug 06 19:24:20 managed-node3 python3.12[14735]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:20-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False Aug 06 19:24:23 managed-node3 python3.12[15530]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:23-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Thursday 06 August 2026 19:24:24 -0400 (0:00:00.420) 0:00:11.943 ******* ok: [managed-node3] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOC0wNlQxOToyNDoyMC0wNDowMCIsInJvbGVfbmFtZSI6InNzaCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtRnVwL2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9zc2giLCJzdGF0dXMiOiJiZWdpbiIsImFuc2libGVfdmVyc2lvbiI6IjIuMTcuMTQiLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTEwIiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9CnsiZGF0ZSI6IjIwMjYtMDgtMDZUMTk6MjQ6MjMtMDQ6MDAiLCJyb2xlX25hbWUiOiJzc2giLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLUZ1cC9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvc3NoIiwic3RhdHVzIjoic3VjY2VzcyIsImFuc2libGVfdmVyc2lvbiI6IjIuMTcuMTQiLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTEwIiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9Cg==", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Thursday 06 August 2026 19:24:24 -0400 (0:00:00.510) 0:00:12.454 ******* ok: [managed-node3] => (item={"date":"2026-08-06T19:24:20-04:00","role_name":"ssh","role_path":"/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"begin","ansible_version":"2.17.14","managed_node_distro":"CentOS-10","play_hosts_number":1,"ansible_check_mode":false} {"date":"2026-08-06T19:24:23-04:00","role_name":"ssh","role_path":"/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh","status":"success","ansible_version":"2.17.14","managed_node_distro":"CentOS-10","play_hosts_number":1,"ansible_check_mode":false} ) => { "ansible_loop_var": "item", "item": "{\"date\":\"2026-08-06T19:24:20-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"begin\",\"ansible_version\":\"2.17.14\",\"managed_node_distro\":\"CentOS-10\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n{\"date\":\"2026-08-06T19:24:23-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"status\":\"success\",\"ansible_version\":\"2.17.14\",\"managed_node_distro\":\"CentOS-10\",\"play_hosts_number\":1,\"ansible_check_mode\":false}\n" } ok: [managed-node3] => (item=['Aug 06 19:24:20 managed-node3 python3.12[14735]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:20-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False', 'Aug 06 19:24:23 managed-node3 python3.12[15530]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:23-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Aug 06 19:24:20 managed-node3 python3.12[14735]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:20-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False", "Aug 06 19:24:23 managed-node3 python3.12[15530]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-06T19:24:23-04:00 role_name=ssh role_path=/tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.17.14 managed_node_distro=CentOS-10 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Thursday 06 August 2026 19:24:24 -0400 (0:00:00.029) 0:00:12.483 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Thursday 06 August 2026 19:24:24 -0400 (0:00:00.050) 0:00:12.534 ******* ok: [managed-node3] TASK [Restore configuration files] ********************************************* task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Thursday 06 August 2026 19:24:25 -0400 (0:00:00.999) 0:00:13.533 ******* included: /tmp/collections-Fup/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-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Thursday 06 August 2026 19:24:25 -0400 (0:00:00.018) 0:00:13.552 ******* ok: [managed-node3] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.rib22kxm//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.rib22kxm//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.003951", "end": "2026-08-06 19:24:26.131238", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-06 19:24:26.127287" } ok: [managed-node3] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.rib22kxm//etc/ssh_config; then\n cp -a /tmp/ansible.rib22kxm//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.003936", "end": "2026-08-06 19:24:26.579510", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-06 19:24:26.575574" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Thursday 06 August 2026 19:24:26 -0400 (0:00:00.886) 0:00:14.439 ******* ok: [managed-node3] => { "changed": false, "path": "/tmp/ansible.rib22kxm", "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:24:27 -0400 (0:00:00.635) 0:00:15.074 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.49s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.40s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Make sure openssh is installed before creating backup ------------------- 1.18s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.10s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Gathering Facts --------------------------------------------------------- 1.05s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Gathering Facts --------------------------------------------------------- 1.00s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Backup files ------------------------------------------------------------ 0.99s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Restore backed up files and remove what was not present ----------------- 0.89s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.73s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Remove temporary directory for backup files ----------------------------- 0.64s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.58s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Check if system is ostree ----------------------------------------------- 0.52s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Check that the log file was written ------------------------------------- 0.51s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Create a temporary directory for backup files --------------------------- 0.48s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin --- 0.45s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 See if /dev/log exists for the fingerprint check ------------------------ 0.44s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.43s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Get fingerprint entries from journal ------------------------------------ 0.42s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Run the role normally --------------------------------------------------- 0.13s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/collections-Fup/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2