ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxzwiidf_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', 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_global_drop_in_role.yml **************************************** 4 plays in /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml PLAY [Test forced creation of the configuration snippet in drop in directory] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:2 Thursday 21 July 2022 20:40:21 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:11 Thursday 21 July 2022 20:40:22 +0000 (0:00:01.085) 0:00:01.098 ********* included: /tmp/tmpphxus3ul/tests/tasks/backup.yml for /cache/centos-9.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmpphxus3ul/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:40:22 +0000 (0:00:00.025) 0:00:01.123 ********* included: /tmp/tmpphxus3ul/tests/tasks/setup.yml for /cache/centos-9.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpphxus3ul/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:40:22 +0000 (0:00:00.023) 0:00:01.147 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpphxus3ul/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:40:22 +0000 (0:00:00.019) 0:00:01.166 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpphxus3ul/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:40:23 +0000 (0:00:01.003) 0:00:02.169 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.iy_00fh8", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpphxus3ul/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:40:24 +0000 (0:00:00.452) 0:00:02.622 ********* ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config.d/99-last.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config.d/99-last.conf; then\n mkdir -p /tmp/ansible.iy_00fh8/$(dirname /etc/ssh/ssh_config.d/99-last.conf);\n cp /etc/ssh/ssh_config.d/99-last.conf /tmp/ansible.iy_00fh8/$(dirname /etc/ssh/ssh_config.d/99-last.conf)\nfi\n", "delta": "0:00:00.003553", "end": "2022-07-21 16:40:24.166935", "item": "/etc/ssh/ssh_config.d/99-last.conf", "rc": 0, "start": "2022-07-21 16:40:24.163382" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config; then\n mkdir -p /tmp/ansible.iy_00fh8/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.iy_00fh8/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008058", "end": "2022-07-21 16:40:24.502273", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:40:24.494215" } META: ran handlers META: ran handlers PLAY [Run role] **************************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:14 Thursday 21 July 2022 20:40:24 +0000 (0:00:00.871) 0:00:03.494 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:40:25 +0000 (0:00:00.777) 0:00:04.271 ********* included: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:40:25 +0000 (0:00:00.027) 0:00:04.299 ********* ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:40:26 +0000 (0:00:00.510) 0:00:04.809 ********* skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:40:26 +0000 (0:00:00.037) 0:00:04.847 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:40:27 +0000 (0:00:00.768) 0:00:05.615 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions] *** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:40:27 +0000 (0:00:00.025) 0:00:05.640 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:40:27 +0000 (0:00:00.024) 0:00:05.665 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "checksum": "33e5d453ffc19413f8e74630b334c90d4e22a1dd", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/ssh/ssh_config", "secontext": "system_u:object_r:etc_t:s0", "size": 98, "state": "file", "uid": 0 } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:27 Thursday 21 July 2022 20:40:28 +0000 (0:00:01.073) 0:00:06.739 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Skip if the system does not support drop in directory] ******************* task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:29 Thursday 21 July 2022 20:40:28 +0000 (0:00:00.787) 0:00:07.526 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap skipping: [/cache/centos-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap TASK [Download the included configuration file] ******************************** task path: /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:40 Thursday 21 July 2022 20:40:28 +0000 (0:00:00.036) 0:00:07.562 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: file not found: /etc/ssh/ssh_config.d/99-last.conf PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=12 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:40:29 +0000 (0:00:00.475) 0:00:08.038 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:2 ------------------------ linux-system-roles.ssh : Generate the configuration file ---------------- 1.07s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Make sure openssh is installed before creating backup ------------------- 1.00s /tmp/tmpphxus3ul/tests/tasks/setup.yml:7 -------------------------------------- Backup files ------------------------------------------------------------ 0.87s /tmp/tmpphxus3ul/tests/tasks/backup.yml:13 ------------------------------------ Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:27 ----------------------- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:14 ----------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 0.77s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.51s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Download the included configuration file -------------------------------- 0.48s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:40 ----------------------- Create a temporary directory for backup files --------------------------- 0.45s /tmp/tmpphxus3ul/tests/tasks/backup.yml:5 ------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.04s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Skip if the system does not support drop in directory ------------------- 0.04s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:29 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpphxus3ul/tests/tests_global_drop_in_role.yml:11 ----------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- Setup ------------------------------------------------------------------- 0.02s /tmp/tmpphxus3ul/tests/tasks/backup.yml:2 ------------------------------------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmpphxus3ul/tests/tasks/setup.yml:2 -------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxzwiidf_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', 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_global_drop_in_role.yml **************************************** 4 plays in /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml PLAY [Test forced creation of the configuration snippet in drop in directory] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:2 Thursday 21 July 2022 20:42:31 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:11 Thursday 21 July 2022 20:42:32 +0000 (0:00:01.151) 0:00:01.164 ********* included: /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml for /cache/centos-9.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:42:32 +0000 (0:00:00.027) 0:00:01.191 ********* included: /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml for /cache/centos-9.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:42:32 +0000 (0:00:00.046) 0:00:01.238 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:42:32 +0000 (0:00:00.021) 0:00:01.259 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:42:33 +0000 (0:00:00.879) 0:00:02.139 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.be50qedo", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:42:34 +0000 (0:00:00.445) 0:00:02.585 ********* ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config.d/99-last.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config.d/99-last.conf; then\n mkdir -p /tmp/ansible.be50qedo/$(dirname /etc/ssh/ssh_config.d/99-last.conf);\n cp /etc/ssh/ssh_config.d/99-last.conf /tmp/ansible.be50qedo/$(dirname /etc/ssh/ssh_config.d/99-last.conf)\nfi\n", "delta": "0:00:00.003082", "end": "2022-07-21 16:42:33.765503", "item": "/etc/ssh/ssh_config.d/99-last.conf", "rc": 0, "start": "2022-07-21 16:42:33.762421" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config; then\n mkdir -p /tmp/ansible.be50qedo/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.be50qedo/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007851", "end": "2022-07-21 16:42:34.124933", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:42:34.117082" } META: ran handlers META: ran handlers PLAY [Run role] **************************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:14 Thursday 21 July 2022 20:42:35 +0000 (0:00:00.884) 0:00:03.469 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:42:35 +0000 (0:00:00.767) 0:00:04.237 ********* included: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:42:35 +0000 (0:00:00.027) 0:00:04.264 ********* ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:42:36 +0000 (0:00:00.526) 0:00:04.791 ********* skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:42:36 +0000 (0:00:00.041) 0:00:04.833 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:42:37 +0000 (0:00:00.776) 0:00:05.609 ********* skipping: [/cache/centos-9.qcow2.snap] => { "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/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:42:37 +0000 (0:00:00.023) 0:00:05.632 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:42:37 +0000 (0:00:00.022) 0:00:05.655 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "checksum": "33e5d453ffc19413f8e74630b334c90d4e22a1dd", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/ssh/ssh_config", "secontext": "system_u:object_r:etc_t:s0", "size": 98, "state": "file", "uid": 0 } META: role_complete for /cache/centos-9.qcow2.snap META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:27 Thursday 21 July 2022 20:42:38 +0000 (0:00:01.062) 0:00:06.717 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Skip if the system does not support drop in directory] ******************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:29 Thursday 21 July 2022 20:42:39 +0000 (0:00:00.784) 0:00:07.502 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap skipping: [/cache/centos-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap TASK [Download the included configuration file] ******************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:38 Thursday 21 July 2022 20:42:39 +0000 (0:00:00.032) 0:00:07.535 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": false } MSG: file not found: /etc/ssh/ssh_config.d/99-last.conf PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=12 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:42:39 +0000 (0:00:00.565) 0:00:08.101 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:2 -------------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.06s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Backup files ------------------------------------------------------------ 0.88s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:13 -------------------------------- Make sure openssh is installed before creating backup ------------------- 0.88s /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:7 ---------------------------------- Gathering Facts --------------------------------------------------------- 0.78s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:27 ------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.78s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Gathering Facts --------------------------------------------------------- 0.77s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:14 ------------------- Download the included configuration file -------------------------------- 0.57s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:38 ------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.53s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.45s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:5 --------------------------------- Setup ------------------------------------------------------------------- 0.05s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:2 --------------------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.04s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Skip if the system does not support drop in directory ------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:29 ------------------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_global_drop_in_role.yml:11 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:2 ----------------------------------