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_default.yml **************************************************** 3 plays in /tmp/tmpphxus3ul/tests/tests_default.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpphxus3ul/tests/tests_default.yml:2 Thursday 21 July 2022 20:39:51 +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_default.yml:9 Thursday 21 July 2022 20:39:52 +0000 (0:00:01.131) 0:00:01.144 ********* 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:39:52 +0000 (0:00:00.042) 0:00:01.186 ********* 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:39:52 +0000 (0:00:00.041) 0:00:01.228 ********* 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:39:52 +0000 (0:00:00.031) 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/tmpphxus3ul/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:39:53 +0000 (0:00:01.053) 0:00:02.312 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.1z7ourme", "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:39:54 +0000 (0:00:00.457) 0:00:02.770 ********* ok: [/cache/centos-9.qcow2.snap] => (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.1z7ourme/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp /etc/ssh_config.d/00-ansible.conf /tmp/ansible.1z7ourme/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003594", "end": "2022-07-21 16:39:54.509825", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:39:54.506231" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config; then\n mkdir -p /tmp/ansible.1z7ourme/$(dirname /etc/ssh_config);\n cp /etc/ssh_config /tmp/ansible.1z7ourme/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.003688", "end": "2022-07-21 16:39:54.864584", "item": "/etc/ssh_config", "rc": 0, "start": "2022-07-21 16:39:54.860896" } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** 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:39:55 +0000 (0:00:00.899) 0:00:03.670 ********* 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:39:55 +0000 (0:00:00.026) 0:00:03.696 ********* 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:39:55 +0000 (0:00:00.514) 0:00:04.210 ********* 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:39:55 +0000 (0:00:00.042) 0:00:04.253 ********* 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:39:56 +0000 (0:00:00.796) 0:00:05.049 ********* 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:39:56 +0000 (0:00:00.025) 0:00:05.075 ********* 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:39:56 +0000 (0:00:00.024) 0:00:05.099 ********* changed: [/cache/centos-9.qcow2.snap] => { "backup_file": "/etc/ssh/ssh_config.14376.2022-07-21@16:39:57~", "changed": true, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "88be21c8634b01869b9f694831b84c1d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "src": "/root/.ansible/tmp/ansible-tmp-1658435996.7919126-59912-59879296342408/source", "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_default.yml:18 Thursday 21 July 2022 20:39:57 +0000 (0:00:01.146) 0:00:06.246 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Restore configuration files] ********************************************* task path: /tmp/tmpphxus3ul/tests/tests_default.yml:25 Thursday 21 July 2022 20:39:58 +0000 (0:00:00.789) 0:00:07.036 ********* included: /tmp/tmpphxus3ul/tests/tasks/restore.yml for /cache/centos-9.qcow2.snap TASK [Restore backed up files and remove what was not present] ***************** task path: /tmp/tmpphxus3ul/tests/tasks/restore.yml:2 Thursday 21 July 2022 20:39:58 +0000 (0:00:00.025) 0:00:07.062 ********* ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.1z7ourme//etc/ssh_config.d/00-ansible.conf; then\n cp /tmp/ansible.1z7ourme//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.003712", "end": "2022-07-21 16:39:58.671807", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:39:58.668095" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.1z7ourme//etc/ssh_config; then\n cp /tmp/ansible.1z7ourme//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.003453", "end": "2022-07-21 16:39:59.020188", "item": "/etc/ssh_config", "rc": 0, "start": "2022-07-21 16:39:59.016735" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/tmpphxus3ul/tests/tasks/restore.yml:15 Thursday 21 July 2022 20:39:59 +0000 (0:00:00.735) 0:00:07.797 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "path": "/tmp/ansible.1z7ourme", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=14 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:39:59 +0000 (0:00:00.520) 0:00:08.318 ********* =============================================================================== linux-system-roles.ssh : Generate the configuration file ---------------- 1.15s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpphxus3ul/tests/tests_default.yml:2 ------------------------------------ Make sure openssh is installed before creating backup ------------------- 1.05s /tmp/tmpphxus3ul/tests/tasks/setup.yml:7 -------------------------------------- Backup files ------------------------------------------------------------ 0.90s /tmp/tmpphxus3ul/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure required packages are installed --------- 0.80s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpphxus3ul/tests/tests_default.yml:18 ----------------------------------- Restore backed up files and remove what was not present ----------------- 0.74s /tmp/tmpphxus3ul/tests/tasks/restore.yml:2 ------------------------------------ Remove temporary directory for backup files ----------------------------- 0.52s /tmp/tmpphxus3ul/tests/tasks/restore.yml:15 ----------------------------------- 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 ------ Create a temporary directory for backup files --------------------------- 0.46s /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 ------ Backup configuration files ---------------------------------------------- 0.04s /tmp/tmpphxus3ul/tests/tests_default.yml:9 ------------------------------------ Setup ------------------------------------------------------------------- 0.04s /tmp/tmpphxus3ul/tests/tasks/backup.yml:2 ------------------------------------- Ensure facts used by test ----------------------------------------------- 0.03s /tmp/tmpphxus3ul/tests/tasks/setup.yml:2 -------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- Restore configuration files --------------------------------------------- 0.03s /tmp/tmpphxus3ul/tests/tests_default.yml:25 ----------------------------------- 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 --------- 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 --------- 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_default.yml **************************************************** 3 plays in /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:2 Thursday 21 July 2022 20:42:01 +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_default.yml:9 Thursday 21 July 2022 20:42:03 +0000 (0:00:01.094) 0:00:01.107 ********* 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:03 +0000 (0:00:00.032) 0:00:01.139 ********* 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:03 +0000 (0:00:00.025) 0:00:01.164 ********* 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:03 +0000 (0:00:00.021) 0:00:01.185 ********* 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:04 +0000 (0:00:00.892) 0:00:02.078 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.xvduo3fe", "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:04 +0000 (0:00:00.452) 0:00:02.530 ********* ok: [/cache/centos-9.qcow2.snap] => (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.xvduo3fe/$(dirname /etc/ssh_config.d/00-ansible.conf);\n cp /etc/ssh_config.d/00-ansible.conf /tmp/ansible.xvduo3fe/$(dirname /etc/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003577", "end": "2022-07-21 16:42:04.050222", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:42:04.046645" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh_config; then\n mkdir -p /tmp/ansible.xvduo3fe/$(dirname /etc/ssh_config);\n cp /etc/ssh_config /tmp/ansible.xvduo3fe/$(dirname /etc/ssh_config)\nfi\n", "delta": "0:00:00.003338", "end": "2022-07-21 16:42:04.402329", "item": "/etc/ssh_config", "rc": 0, "start": "2022-07-21 16:42:04.398991" } META: ran handlers META: ran handlers PLAY [Ensure that the role runs with default parameters] *********************** 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:05 +0000 (0:00:00.889) 0:00:03.420 ********* 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:05 +0000 (0:00:00.026) 0:00:03.447 ********* 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:05 +0000 (0:00:00.510) 0:00:03.957 ********* 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:05 +0000 (0:00:00.038) 0:00:03.996 ********* 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:06 +0000 (0:00:00.749) 0:00:04.745 ********* 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:06 +0000 (0:00:00.023) 0:00:04.769 ********* 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:06 +0000 (0:00:00.022) 0:00:04.791 ********* changed: [/cache/centos-9.qcow2.snap] => { "backup_file": "/etc/ssh/ssh_config.14372.2022-07-21@16:42:06~", "changed": true, "checksum": "15062ec12da5e642a2b0fb64c5e03d43b80d9cf0", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "88be21c8634b01869b9f694831b84c1d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 22, "src": "/root/.ansible/tmp/ansible-tmp-1658436126.7991362-62848-2926745332519/source", "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_default.yml:18 Thursday 21 July 2022 20:42:07 +0000 (0:00:01.130) 0:00:05.922 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Restore configuration files] ********************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:25 Thursday 21 July 2022 20:42:08 +0000 (0:00:00.793) 0:00:06.715 ********* included: /tmp/tmp1qbds5ja/tests/ssh/tasks/restore.yml for /cache/centos-9.qcow2.snap TASK [Restore backed up files and remove what was not present] ***************** task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/restore.yml:2 Thursday 21 July 2022 20:42:08 +0000 (0:00:00.028) 0:00:06.744 ********* ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.xvduo3fe//etc/ssh_config.d/00-ansible.conf; then\n cp /tmp/ansible.xvduo3fe//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.003678", "end": "2022-07-21 16:42:08.141133", "item": "/etc/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:42:08.137455" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /tmp/ansible.xvduo3fe//etc/ssh_config; then\n cp /tmp/ansible.xvduo3fe//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.003242", "end": "2022-07-21 16:42:08.485130", "item": "/etc/ssh_config", "rc": 0, "start": "2022-07-21 16:42:08.481888" } TASK [Remove temporary directory for backup files] ***************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tasks/restore.yml:15 Thursday 21 July 2022 20:42:09 +0000 (0:00:00.733) 0:00:07.478 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "path": "/tmp/ansible.xvduo3fe", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=14 changed=1 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:42:09 +0000 (0:00:00.507) 0:00:07.985 ********* =============================================================================== fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.13s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:2 -------------------------------- Make sure openssh is installed before creating backup ------------------- 0.89s /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:7 ---------------------------------- Backup files ------------------------------------------------------------ 0.89s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:13 -------------------------------- Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:18 ------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.75s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Restore backed up files and remove what was not present ----------------- 0.73s /tmp/tmp1qbds5ja/tests/ssh/tasks/restore.yml:2 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.51s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Remove temporary directory for backup files ----------------------------- 0.51s /tmp/tmp1qbds5ja/tests/ssh/tasks/restore.yml:15 ------------------------------- Create a temporary directory for backup files --------------------------- 0.45s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:5 --------------------------------- 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 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:9 -------------------------------- Restore configuration files --------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_default.yml:25 ------------------------------- 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 Setup ------------------------------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.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 ----------------------------------