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-CQU 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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Saturday 22 August 2026 17:18:14 -0400 (0:00:00.021) 0:00:00.021 ******* [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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Saturday 22 August 2026 17:18:15 -0400 (0:00:01.326) 0:00:01.348 ******* included: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node3 TASK [Setup] ******************************************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Saturday 22 August 2026 17:18:15 -0400 (0:00:00.022) 0:00:01.370 ******* included: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node3 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Saturday 22 August 2026 17:18:15 -0400 (0:00:00.026) 0:00:01.396 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Saturday 22 August 2026 17:18:15 -0400 (0:00:00.019) 0:00:01.416 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Saturday 22 August 2026 17:18:16 -0400 (0:00:00.537) 0:00:01.953 ******* ok: [managed-node3] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Saturday 22 August 2026 17:18:16 -0400 (0:00:00.022) 0:00:01.975 ******* ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: openssh-clients TASK [Define common variables] ************************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Saturday 22 August 2026 17:18:17 -0400 (0:00:01.029) 0:00:03.005 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Saturday 22 August 2026 17:18:17 -0400 (0:00:00.041) 0:00:03.048 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Saturday 22 August 2026 17:18:17 -0400 (0:00:00.138) 0:00:03.186 ******* ok: [managed-node3] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.w6ro84r4", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Saturday 22 August 2026 17:18:17 -0400 (0:00:00.571) 0:00:03.757 ******* 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.w6ro84r4/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.w6ro84r4/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003433", "end": "2026-08-22 17:18:18.232018", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-22 17:18:18.228585" } 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.w6ro84r4/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.w6ro84r4/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.003475", "end": "2026-08-22 17:18:18.581413", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-22 17:18:18.577938" } PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Saturday 22 August 2026 17:18:18 -0400 (0:00:00.846) 0:00:04.604 ******* ok: [managed-node3] TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Saturday 22 August 2026 17:18:19 -0400 (0:00:00.936) 0:00:05.541 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1787433499.2664075, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1787433322.6960003, "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": 1787433317.4954765, "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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Saturday 22 August 2026 17:18:19 -0400 (0:00:00.402) 0:00:05.943 ******* ok: [managed-node3] => { "ansible_facts": { "__journal_start_time": "2026-08-22 17:18:19" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.030) 0:00:05.974 ******* included: /tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.048) 0:00:06.023 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.002) 0:00:06.025 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.037) 0:00:06.063 ******* included: fedora.linux_system_roles.ssh for managed-node3 TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.097) 0:00:06.160 ******* included: /tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.038) 0:00:06.199 ******* ok: [managed-node3] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Saturday 22 August 2026 17:18:20 -0400 (0:00:00.746) 0:00:06.945 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T17:18:21-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Saturday 22 August 2026 17:18:21 -0400 (0:00:00.522) 0:00:07.468 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Saturday 22 August 2026 17:18:21 -0400 (0:00:00.018) 0:00:07.487 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Saturday 22 August 2026 17:18:21 -0400 (0:00:00.020) 0:00:07.507 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Saturday 22 August 2026 17:18:21 -0400 (0:00:00.423) 0:00:07.930 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Saturday 22 August 2026 17:18:22 -0400 (0:00:00.052) 0:00:07.982 ******* 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-CQU/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-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Saturday 22 August 2026 17:18:22 -0400 (0:00:00.073) 0:00:08.056 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Saturday 22 August 2026 17:18:23 -0400 (0:00:01.186) 0:00:09.242 ******* skipping: [managed-node3] => { "false_condition": "__ssh_is_transactional | d(false)" } TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.032) 0:00:09.275 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.020) 0:00:09.295 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.027) 0:00:09.322 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.023) 0:00:09.346 ******* 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-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.025) 0:00:09.371 ******* 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-1787433503.4850543-11766-51034632572999/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Saturday 22 August 2026 17:18:24 -0400 (0:00:01.014) 0:00:10.385 ******* ok: [managed-node3] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T17:18:24-04:00", "managed_node_distro": "CentOS-10", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Saturday 22 August 2026 17:18:24 -0400 (0:00:00.379) 0:00:10.765 ******* ok: [managed-node3] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-22 17:18:19\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.009683", "end": "2026-08-22 17:18:25.173703", "rc": 0, "start": "2026-08-22 17:18:25.164020" } STDOUT: Aug 22 17:18:21 managed-node3 python3.12[14723]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:21-04:00 role_name=ssh role_path=/tmp/collections-CQU/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 22 17:18:24 managed-node3 python3.12[15518]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:24-04:00 role_name=ssh role_path=/tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.417) 0:00:11.183 ******* ok: [managed-node3] => { "changed": false, "content": "eyJkYXRlIjoiMjAyNi0wOC0yMlQxNzoxODoyMS0wNDowMCIsInJvbGVfbmFtZSI6InNzaCIsInJvbGVfcGF0aCI6Ii90bXAvY29sbGVjdGlvbnMtQ1FVL2Fuc2libGVfY29sbGVjdGlvbnMvZmVkb3JhL2xpbnV4X3N5c3RlbV9yb2xlcy9yb2xlcy9zc2giLCJzdGF0dXMiOiJiZWdpbiIsImFuc2libGVfdmVyc2lvbiI6IjIuMTcuMTQiLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTEwIiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9CnsiZGF0ZSI6IjIwMjYtMDgtMjJUMTc6MTg6MjQtMDQ6MDAiLCJyb2xlX25hbWUiOiJzc2giLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLUNRVS9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvc3NoIiwic3RhdHVzIjoic3VjY2VzcyIsImFuc2libGVfdmVyc2lvbiI6IjIuMTcuMTQiLCJtYW5hZ2VkX25vZGVfZGlzdHJvIjoiQ2VudE9TLTEwIiwicGxheV9ob3N0c19udW1iZXIiOjEsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2V9Cg==", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.478) 0:00:11.662 ******* ok: [managed-node3] => (item={"date":"2026-08-22T17:18:21-04:00","role_name":"ssh","role_path":"/tmp/collections-CQU/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-22T17:18:24-04:00","role_name":"ssh","role_path":"/tmp/collections-CQU/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-22T17:18:21-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-CQU/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-22T17:18:24-04:00\",\"role_name\":\"ssh\",\"role_path\":\"/tmp/collections-CQU/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 22 17:18:21 managed-node3 python3.12[14723]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:21-04:00 role_name=ssh role_path=/tmp/collections-CQU/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 22 17:18:24 managed-node3 python3.12[15518]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:24-04:00 role_name=ssh role_path=/tmp/collections-CQU/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 22 17:18:21 managed-node3 python3.12[14723]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:21-04:00 role_name=ssh role_path=/tmp/collections-CQU/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 22 17:18:24 managed-node3 python3.12[15518]: ansible-fedora.linux_system_roles.sr_fingerprint date=2026-08-22T17:18:24-04:00 role_name=ssh role_path=/tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.047) 0:00:11.709 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.052) 0:00:11.762 ******* ok: [managed-node3] TASK [Restore configuration files] ********************************************* task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Saturday 22 August 2026 17:18:27 -0400 (0:00:01.907) 0:00:13.669 ******* included: /tmp/collections-CQU/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-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.017) 0:00:13.686 ******* ok: [managed-node3] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.w6ro84r4//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.w6ro84r4//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.003358", "end": "2026-08-22 17:18:28.094429", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-22 17:18:28.091071" } ok: [managed-node3] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.w6ro84r4//etc/ssh_config; then\n cp -a /tmp/ansible.w6ro84r4//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.003379", "end": "2026-08-22 17:18:28.494527", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-22 17:18:28.491148" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.812) 0:00:14.498 ******* ok: [managed-node3] => { "changed": false, "path": "/tmp/ansible.w6ro84r4", "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 ******************************************************************** Saturday 22 August 2026 17:18:29 -0400 (0:00:00.508) 0:00:15.007 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 1.91s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Gathering Facts --------------------------------------------------------- 1.33s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.19s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Make sure openssh is installed before creating backup ------------------- 1.03s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.01s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Gathering Facts --------------------------------------------------------- 0.94s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Backup files ------------------------------------------------------------ 0.85s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Restore backed up files and remove what was not present ----------------- 0.81s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.75s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.57s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.52s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Remove temporary directory for backup files ----------------------------- 0.51s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Check that the log file was written ------------------------------------- 0.48s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin --- 0.42s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Get fingerprint entries from journal ------------------------------------ 0.42s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 See if /dev/log exists for the fingerprint check ------------------------ 0.40s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.38s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Define specific variables ----------------------------------------------- 0.14s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Run the role normally --------------------------------------------------- 0.10s /tmp/collections-CQU/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33