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/tmpn177r5cy 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 20:02:58 +0000 (0:00:00.018) 0:00:00.018 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:02:59 +0000 (0:00:01.296) 0:00:01.314 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:02:59 +0000 (0:00:00.010) 0:00:01.324 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:03:00 +0000 (0:00:01.030) 0:00:02.355 ********* included: /tmp/tmprk79jc_d/tests/tasks/backup.yml for /cache/rhel-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmprk79jc_d/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:03:00 +0000 (0:00:00.025) 0:00:02.380 ********* included: /tmp/tmprk79jc_d/tests/tasks/setup.yml for /cache/rhel-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmprk79jc_d/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:03:00 +0000 (0:00:00.024) 0:00:02.404 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmprk79jc_d/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:03:00 +0000 (0:00:00.019) 0:00:02.424 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmprk79jc_d/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:03:02 +0000 (0:00:01.395) 0:00:03.819 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.sp1fxhyk", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmprk79jc_d/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:03:02 +0000 (0:00:00.502) 0:00:04.322 ********* ok: [/cache/rhel-8.qcow2] => (item=/etc/ssh/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config.d/00-ansible.conf; then\n mkdir -p /tmp/ansible.sp1fxhyk/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.sp1fxhyk/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008109", "end": "2022-07-21 16:03:01.973139", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:03:01.965030" } ok: [/cache/rhel-8.qcow2] => (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.sp1fxhyk/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.sp1fxhyk/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007852", "end": "2022-07-21 16:03:02.331392", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:03:02.323540" } TASK [Run role] **************************************************************** task path: /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:03:03 +0000 (0:00:00.867) 0:00:05.190 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:03:03 +0000 (0:00:00.033) 0:00:05.223 ********* included: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:03:03 +0000 (0:00:00.025) 0:00:05.249 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:03:04 +0000 (0:00:00.515) 0:00:05.765 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.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/tmprk79jc_d/tests/roles/linux-system-roles.ssh/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:03:04 +0000 (0:00:00.052) 0:00:05.817 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:03:05 +0000 (0:00:01.298) 0:00:07.115 ********* skipping: [/cache/rhel-8.qcow2] => { "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/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:03:05 +0000 (0:00:00.025) 0:00:07.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:03:05 +0000 (0:00:00.023) 0:00:07.165 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "c7d2fdf0c071ab237e59a08c06f23bcc2c2e68c1", "dest": "/tmp/ssh_config_with_defaults", "gid": 0, "group": "root", "md5sum": "cd5804b194841f54730c3be38600d19d", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1658433785.5427983-20325-103400905914276/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-8.qcow2 TASK [Download the new configuration file] ************************************* task path: /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:03:06 +0000 (0:00:01.110) 0:00:08.276 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkluY2x1ZGUgL2V0Yy9zc2gvc3NoX2NvbmZpZy5kLyouY29uZgpMb2NhbEZvcndhcmQgMjIyMiBsb2NhbGhvc3Q6MjIK", "encoding": "base64", "source": "/tmp/ssh_config_with_defaults" } TASK [Check if the selected options are in] ************************************ task path: /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:03:07 +0000 (0:00:00.497) 0:00:08.773 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=14 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:03:07 +0000 (0:00:00.056) 0:00:08.829 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.40s /tmp/tmprk79jc_d/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.30s /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- set up internal repositories -------------------------------------------- 1.30s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.ssh : Generate the configuration file ---------------- 1.11s /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:2 --------------------------- Backup files ------------------------------------------------------------ 0.87s /tmp/tmprk79jc_d/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.52s /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Create a temporary directory for backup files --------------------------- 0.50s /tmp/tmprk79jc_d/tests/tasks/backup.yml:5 ------------------------------------- Download the new configuration file ------------------------------------- 0.50s /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:32 -------------------------- Check if the selected options are in ------------------------------------ 0.06s /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:37 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Run role ---------------------------------------------------------------- 0.03s /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:23 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmprk79jc_d/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/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmprk79jc_d/tests/tests_no_skip_defaults.yml:20 -------------------------- Setup ------------------------------------------------------------------- 0.02s /tmp/tmprk79jc_d/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmprk79jc_d/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmprk79jc_d/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/tmpn177r5cy 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 20:05:58 +0000 (0:00:00.017) 0:00:00.017 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:06:00 +0000 (0:00:01.273) 0:00:01.291 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:06:00 +0000 (0:00:00.010) 0:00:01.301 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:06:01 +0000 (0:00:01.050) 0:00:02.352 ********* included: /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml for /cache/rhel-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:06:01 +0000 (0:00:00.026) 0:00:02.379 ********* included: /tmp/tmpl5tsfk0r/tests/ssh/tasks/setup.yml for /cache/rhel-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpl5tsfk0r/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:06:01 +0000 (0:00:00.026) 0:00:02.406 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpl5tsfk0r/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:06:01 +0000 (0:00:00.020) 0:00:02.426 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:06:02 +0000 (0:00:01.461) 0:00:03.887 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.dc3cxrzs", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:06:03 +0000 (0:00:00.481) 0:00:04.368 ********* ok: [/cache/rhel-8.qcow2] => (item=/etc/ssh/ssh_config.d/00-ansible.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config.d/00-ansible.conf; then\n mkdir -p /tmp/ansible.dc3cxrzs/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.dc3cxrzs/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008105", "end": "2022-07-21 16:06:03.521738", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:06:03.513633" } ok: [/cache/rhel-8.qcow2] => (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.dc3cxrzs/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.dc3cxrzs/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008012", "end": "2022-07-21 16:06:03.872652", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:06:03.864640" } TASK [Run role] **************************************************************** task path: /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:06:03 +0000 (0:00:00.869) 0:00:05.238 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:06:03 +0000 (0:00:00.037) 0:00:05.275 ********* included: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:06:04 +0000 (0:00:00.028) 0:00:05.304 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:06:04 +0000 (0:00:00.520) 0:00:05.824 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_8.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/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:06:04 +0000 (0:00:00.050) 0:00:05.875 ********* ok: [/cache/rhel-8.qcow2] => { "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/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:06:05 +0000 (0:00:01.220) 0:00:07.095 ********* skipping: [/cache/rhel-8.qcow2] => { "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/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:06:05 +0000 (0:00:00.024) 0:00:07.120 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:06:05 +0000 (0:00:00.032) 0:00:07.153 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "checksum": "c7d2fdf0c071ab237e59a08c06f23bcc2c2e68c1", "dest": "/tmp/ssh_config_with_defaults", "gid": 0, "group": "root", "md5sum": "cd5804b194841f54730c3be38600d19d", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 90, "src": "/root/.ansible/tmp/ansible-tmp-1658433965.9458675-24348-68807869537406/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-8.qcow2 TASK [Download the new configuration file] ************************************* task path: /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:06:07 +0000 (0:00:01.167) 0:00:08.320 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkluY2x1ZGUgL2V0Yy9zc2gvc3NoX2NvbmZpZy5kLyouY29uZgpMb2NhbEZvcndhcmQgMjIyMiBsb2NhbGhvc3Q6MjIK", "encoding": "base64", "source": "/tmp/ssh_config_with_defaults" } TASK [Check if the selected options are in] ************************************ task path: /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:06:07 +0000 (0:00:00.485) 0:00:08.805 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=14 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:06:07 +0000 (0:00:00.061) 0:00:08.867 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.46s /tmp/tmpl5tsfk0r/tests/ssh/tasks/setup.yml:7 ---------------------------------- set up internal repositories -------------------------------------------- 1.27s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.22s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.17s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:2 ----------------------- Backup files ------------------------------------------------------------ 0.87s /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.52s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Download the new configuration file ------------------------------------- 0.49s /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:32 ---------------------- Create a temporary directory for backup files --------------------------- 0.48s /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:5 --------------------------------- Check if the selected options are in ------------------------------------ 0.06s /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:37 ---------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Run role ---------------------------------------------------------------- 0.04s /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:23 ---------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpl5tsfk0r/tests/ssh/tests_no_skip_defaults.yml:20 ---------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmpl5tsfk0r/tests/ssh/tasks/backup.yml:2 --------------------------------- fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmpn177r5cy/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmpl5tsfk0r/tests/ssh/tasks/setup.yml:2 ----------------------------------