ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback '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-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml PLAY [Backup configuration files] ********************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Saturday 22 August 2026 17:18:21 -0400 (0:00:00.027) 0:00:00.027 ******* ok: [managed-node2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:9 Saturday 22 August 2026 17:18:22 -0400 (0:00:01.014) 0:00:01.041 ******* included: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml for managed-node2 TASK [Setup] ******************************************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:2 Saturday 22 August 2026 17:18:22 -0400 (0:00:00.074) 0:00:01.116 ******* included: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml for managed-node2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:2 Saturday 22 August 2026 17:18:22 -0400 (0:00:00.027) 0:00:01.143 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Saturday 22 August 2026 17:18:22 -0400 (0:00:00.052) 0:00:01.196 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:15 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.543) 0:00:01.739 ******* ok: [managed-node2] => { "ansible_facts": { "__ssh_is_ostree": false }, "changed": false } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 Saturday 22 August 2026 17:18:23 -0400 (0:00:00.060) 0:00:01.799 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: openssh-clients TASK [Define common variables] ************************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:31 Saturday 22 August 2026 17:18:24 -0400 (0:00:01.299) 0:00:03.098 ******* ok: [managed-node2] => { "ansible_facts": { "main_ssh_config": "/etc/ssh/ssh_config", "main_ssh_config_name": "ssh_config", "main_ssh_config_path": "/etc/ssh/" }, "changed": false } TASK [Define specific variables] *********************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:37 Saturday 22 August 2026 17:18:24 -0400 (0:00:00.015) 0:00:03.114 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 Saturday 22 August 2026 17:18:24 -0400 (0:00:00.083) 0:00:03.198 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.luDTx3", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.558) 0:00:03.757 ******* ok: [managed-node2] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config.d/00-ansible.conf; then\n mkdir -p /tmp/ansible.luDTx3/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp -a /etc/ssh_config.d/00-ansible.conf /tmp/ansible.luDTx3/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003301", "end": "2026-08-22 17:18:25.482979", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-22 17:18:25.479678" } ok: [managed-node2] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config; then\n mkdir -p /tmp/ansible.luDTx3/$(dirname /etc/ssh_config);\n cp -a /etc/ssh_config /tmp/ansible.luDTx3/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.003249", "end": "2026-08-22 17:18:25.831985", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-22 17:18:25.828736" } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Saturday 22 August 2026 17:18:25 -0400 (0:00:00.881) 0:00:04.638 ******* ok: [managed-node2] META: ran handlers TASK [See if /dev/log exists for the fingerprint check] ************************ task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Saturday 22 August 2026 17:18:26 -0400 (0:00:00.564) 0:00:05.203 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1787433506.8370533, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1787433315.761, "dev": 5, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 8077, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": true, "isuid": false, "mimetype": "inode/socket", "mode": "0666", "mtime": 1787433315.761, "nlink": 1, "path": "/dev/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set the start time for the journal search] ******************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20 Saturday 22 August 2026 17:18:26 -0400 (0:00:00.434) 0:00:05.638 ******* ok: [managed-node2] => { "ansible_facts": { "__journal_start_time": "2026-08-22 17:18:26" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:25 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.116) 0:00:05.755 ******* included: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.038) 0:00:05.793 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.067) 0:00:05.860 ******* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.146) 0:00:06.007 ******* included: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.049) 0:00:06.057 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.ssh : Record role begin fingerprint] *********** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Saturday 22 August 2026 17:18:27 -0400 (0:00:00.597) 0:00:06.654 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T17:18:28+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-V4Y/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-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:20 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.558) 0:00:07.213 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Set flag to indicate system is ostree] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:25 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.018) 0:00:07.231 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.021) 0:00:07.253 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ssh : Set flag if transactional-update exists] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:37 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.321) 0:00:07.574 ******* ok: [managed-node2] => { "ansible_facts": { "__ssh_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:41 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.037) 0:00:07.612 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } } }, "ansible_included_var_files": [ "/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Saturday 22 August 2026 17:18:28 -0400 (0:00:00.094) 0:00:07.707 ******* ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "openssh-7.4p1-23.el7_9.x86_64 providing openssh is already installed", "openssh-clients-7.4p1-23.el7_9.x86_64 providing openssh-clients is already installed" ] } lsrpackages: openssh openssh-clients TASK [fedora.linux_system_roles.ssh : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Saturday 22 August 2026 17:18:30 -0400 (0:00:01.101) 0:00:08.808 ******* skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.ssh : Reboot transactional update systems] ***** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:22 Saturday 22 August 2026 17:18:30 -0400 (0:00:00.016) 0:00:08.824 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Fail if reboot is needed and not set] **** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:27 Saturday 22 August 2026 17:18:30 -0400 (0:00:00.014) 0:00:08.839 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:35 Saturday 22 August 2026 17:18:30 -0400 (0:00:00.015) 0:00:08.855 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:42 Saturday 22 August 2026 17:18:30 -0400 (0:00:00.013) 0:00:08.868 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Saturday 22 August 2026 17:18:30 -0400 (0:00:00.015) 0:00:08.884 ******* changed: [managed-node2] => { "backup_file": "/etc/ssh/ssh_config.11303.2026-08-22@17:18:31~", "changed": true, "checksum": "3fcf53b13f73c417fcf66a49a43f079dff5182e9", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "f2baa8f9c7cdfef49e6065d7da67823b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 308, "src": "/root/.ansible/tmp/ansible-tmp-1787433510.2-12299-142557177340090/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ssh : Record role success fingerprint] ********* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Saturday 22 August 2026 17:18:31 -0400 (0:00:01.815) 0:00:10.700 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.9.27", "date": "2026-08-22T17:18:32+0000", "managed_node_distro": "CentOS-7.9", "play_hosts_number": 1, "role_name": "ssh", "role_path": "/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh", "status": "success" } } TASK [Get fingerprint entries from journal] ************************************ task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:31 Saturday 22 August 2026 17:18:32 -0400 (0:00:00.312) 0:00:11.012 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -eo pipefail; journalctl --since \"2026-08-22 17:18:26\" --no-pager | grep -v \" Invoked with\" | grep \"sr_fingerprint.*role_name=ssh\"", "delta": "0:00:00.007747", "end": "2026-08-22 17:18:32.620436", "rc": 0, "start": "2026-08-22 17:18:32.612689" } STDOUT: Aug 22 17:18:28 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11084]: date=2026-08-22T17:18:28+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False Aug 22 17:18:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11355]: date=2026-08-22T17:18:32+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False TASK [Check that the log file was written] ************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 Saturday 22 August 2026 17:18:32 -0400 (0:00:00.405) 0:00:11.417 ******* ok: [managed-node2] => { "changed": false, "content": "eyJzdGF0dXMiOiJiZWdpbiIsInBsYXlfaG9zdHNfbnVtYmVyIjoxLCJyb2xlX25hbWUiOiJzc2giLCJhbnNpYmxlX2NoZWNrX21vZGUiOmZhbHNlLCJkYXRlIjoiMjAyNi0wOC0yMlQxNzoxODoyOCswMDAwIiwicm9sZV9wYXRoIjoiL3RtcC9jb2xsZWN0aW9ucy1WNFkvYW5zaWJsZV9jb2xsZWN0aW9ucy9mZWRvcmEvbGludXhfc3lzdGVtX3JvbGVzL3JvbGVzL3NzaCIsImFuc2libGVfdmVyc2lvbiI6IjIuOS4yNyIsIm1hbmFnZWRfbm9kZV9kaXN0cm8iOiJDZW50T1MtNy45In0KeyJzdGF0dXMiOiJzdWNjZXNzIiwicGxheV9ob3N0c19udW1iZXIiOjEsInJvbGVfbmFtZSI6InNzaCIsImFuc2libGVfY2hlY2tfbW9kZSI6ZmFsc2UsImRhdGUiOiIyMDI2LTA4LTIyVDE3OjE4OjMyKzAwMDAiLCJyb2xlX3BhdGgiOiIvdG1wL2NvbGxlY3Rpb25zLVY0WS9hbnNpYmxlX2NvbGxlY3Rpb25zL2ZlZG9yYS9saW51eF9zeXN0ZW1fcm9sZXMvcm9sZXMvc3NoIiwiYW5zaWJsZV92ZXJzaW9uIjoiMi45LjI3IiwibWFuYWdlZF9ub2RlX2Rpc3RybyI6IkNlbnRPUy03LjkifQo=", "encoding": "base64", "source": "/var/log/sysroles.jsonl" } TASK [Print contents of logs] ************************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:58 Saturday 22 August 2026 17:18:33 -0400 (0:00:00.456) 0:00:11.874 ******* ok: [managed-node2] => (item={"status":"begin","play_hosts_number":1,"role_name":"ssh","ansible_check_mode":false,"date":"2026-08-22T17:18:28+0000","role_path":"/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} {"status":"success","play_hosts_number":1,"role_name":"ssh","ansible_check_mode":false,"date":"2026-08-22T17:18:32+0000","role_path":"/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh","ansible_version":"2.9.27","managed_node_distro":"CentOS-7.9"} ) => { "ansible_loop_var": "item", "item": "{\"status\":\"begin\",\"play_hosts_number\":1,\"role_name\":\"ssh\",\"ansible_check_mode\":false,\"date\":\"2026-08-22T17:18:28+0000\",\"role_path\":\"/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n{\"status\":\"success\",\"play_hosts_number\":1,\"role_name\":\"ssh\",\"ansible_check_mode\":false,\"date\":\"2026-08-22T17:18:32+0000\",\"role_path\":\"/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh\",\"ansible_version\":\"2.9.27\",\"managed_node_distro\":\"CentOS-7.9\"}\n" } ok: [managed-node2] => (item=[u'Aug 22 17:18:28 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11084]: date=2026-08-22T17:18:28+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False', u'Aug 22 17:18:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11355]: date=2026-08-22T17:18:32+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False']) => { "ansible_loop_var": "item", "item": [ "Aug 22 17:18:28 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11084]: date=2026-08-22T17:18:28+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=begin ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False", "Aug 22 17:18:32 managed-node2 ansible-fedora.linux_system_roles.sr_fingerprint[11355]: date=2026-08-22T17:18:32+0000 role_name=ssh role_path=/tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh status=success ansible_version=2.9.27 managed_node_distro=CentOS-7.9 play_hosts_number=1 ansible_check_mode=False" ] } TASK [Assert content is correct] *********************************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:65 Saturday 22 August 2026 17:18:33 -0400 (0:00:00.046) 0:00:11.921 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Restore configuration files] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 Saturday 22 August 2026 17:18:33 -0400 (0:00:00.082) 0:00:12.004 ******* ok: [managed-node2] META: ran handlers TASK [Restore configuration files] ********************************************* task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:80 Saturday 22 August 2026 17:18:33 -0400 (0:00:00.602) 0:00:12.606 ******* included: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml for managed-node2 TASK [Restore backed up files and remove what was not present] ***************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Saturday 22 August 2026 17:18:33 -0400 (0:00:00.025) 0:00:12.632 ******* ok: [managed-node2] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.luDTx3//etc/ssh_config.d/00-ansible.conf; then\n cp -a /tmp/ansible.luDTx3//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.003431", "end": "2026-08-22 17:18:34.190322", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2026-08-22 17:18:34.186891" } ok: [managed-node2] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.luDTx3//etc/ssh_config; then\n cp -a /tmp/ansible.luDTx3//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.003323", "end": "2026-08-22 17:18:34.506798", "item": "/etc/ssh_config", "rc": 0, "start": "2026-08-22 17:18:34.503475" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Saturday 22 August 2026 17:18:34 -0400 (0:00:00.653) 0:00:13.285 ******* ok: [managed-node2] => { "changed": false, "path": "/tmp/ansible.luDTx3", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=30 changed=1 unreachable=0 failed=0 skipped=10 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 Saturday 22 August 2026 17:18:35 -0400 (0:00:00.531) 0:00:13.817 ******* =============================================================================== fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.82s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:53 Make sure openssh is installed before creating backup ------------------- 1.30s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:19 fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.10s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 1.01s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:2 Backup files ------------------------------------------------------------ 0.88s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:13 Restore backed up files and remove what was not present ----------------- 0.65s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:2 Gathering Facts --------------------------------------------------------- 0.60s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:73 fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.60s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Gathering Facts --------------------------------------------------------- 0.56s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:12 Create a temporary directory for backup files --------------------------- 0.56s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/backup.yml:5 fedora.linux_system_roles.ssh : Record role begin fingerprint ----------- 0.56s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/setup.yml:10 Remove temporary directory for backup files ----------------------------- 0.53s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/restore.yml:15 Check that the log file was written ------------------------------------- 0.46s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:43 See if /dev/log exists for the fingerprint check ------------------------ 0.43s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:15 Get fingerprint entries from journal ------------------------------------ 0.41s /tmp/collections-V4Y/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.32s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:32 fedora.linux_system_roles.ssh : Record role success fingerprint --------- 0.31s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:69 Run the role normally --------------------------------------------------- 0.15s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tasks/run_role_with_clear_facts.yml:33 Set the start time for the journal search ------------------------------- 0.12s /tmp/collections-V4Y/ansible_collections/fedora/linux_system_roles/tests/ssh/tests_default.yml:20