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/tmpppg9msr1 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 20:35:09 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.195530", "end": "2022-07-21 20:35:09.806790", "rc": 0, "start": "2022-07-21 20:35:09.611260" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:35:10 +0000 (0:00:00.776) 0:00:00.794 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:35:10 +0000 (0:00:00.012) 0:00:00.806 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:35:11 +0000 (0:00:01.038) 0:00:01.845 ********* included: /tmp/tmptdmnrt7v/tests/tasks/backup.yml for /cache/centos-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:35:11 +0000 (0:00:00.027) 0:00:01.873 ********* included: /tmp/tmptdmnrt7v/tests/tasks/setup.yml for /cache/centos-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmptdmnrt7v/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:35:11 +0000 (0:00:00.025) 0:00:01.898 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmptdmnrt7v/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:35:11 +0000 (0:00:00.021) 0:00:01.919 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:35:28 +0000 (0:00:17.427) 0:00:19.347 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.yny8bnok", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:35:29 +0000 (0:00:00.504) 0:00:19.851 ********* ok: [/cache/centos-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.yny8bnok/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.yny8bnok/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008071", "end": "2022-07-21 20:35:29.272544", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:35:29.264473" } ok: [/cache/centos-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.yny8bnok/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.yny8bnok/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007144", "end": "2022-07-21 20:35:29.649863", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:35:29.642719" } TASK [Run role] **************************************************************** task path: /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:35:30 +0000 (0:00:00.776) 0:00:20.628 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:35:30 +0000 (0:00:00.032) 0:00:20.661 ********* included: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:35:30 +0000 (0:00:00.024) 0:00:20.686 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:35:30 +0000 (0:00:00.518) 0:00:21.205 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:35:30 +0000 (0:00:00.062) 0:00:21.267 ********* ok: [/cache/centos-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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:35:32 +0000 (0:00:01.848) 0:00:23.116 ********* skipping: [/cache/centos-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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:35:32 +0000 (0:00:00.023) 0:00:23.139 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:35:32 +0000 (0:00:00.024) 0:00:23.164 ********* changed: [/cache/centos-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-1658435732.8906012-58758-248472960995493/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-8.qcow2 TASK [Download the new configuration file] ************************************* task path: /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:35:33 +0000 (0:00:01.120) 0:00:24.284 ********* ok: [/cache/centos-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/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:35:34 +0000 (0:00:00.482) 0:00:24.767 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:35:34 +0000 (0:00:00.055) 0:00:24.822 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------ 17.43s /tmp/tmptdmnrt7v/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.85s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Generate the configuration file ---------------- 1.12s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:2 --------------------------- Backup files ------------------------------------------------------------ 0.78s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:13 ------------------------------------ Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.52s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Create a temporary directory for backup files --------------------------- 0.50s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:5 ------------------------------------- Download the new configuration file ------------------------------------- 0.48s /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:32 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.06s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Check if the selected options are in ------------------------------------ 0.06s /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:37 -------------------------- Run role ---------------------------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:23 -------------------------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tests_no_skip_defaults.yml:20 -------------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.02s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmptdmnrt7v/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/tmpppg9msr1 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 20:39:09 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.218432", "end": "2022-07-21 20:39:09.523307", "rc": 0, "start": "2022-07-21 20:39:09.304875" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:39:10 +0000 (0:00:00.795) 0:00:00.814 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:39:10 +0000 (0:00:00.012) 0:00:00.827 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:39:11 +0000 (0:00:01.025) 0:00:01.853 ********* included: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml for /cache/centos-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:39:11 +0000 (0:00:00.025) 0:00:01.878 ********* included: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml for /cache/centos-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:39:11 +0000 (0:00:00.024) 0:00:01.902 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:39:11 +0000 (0:00:00.018) 0:00:01.920 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:39:13 +0000 (0:00:02.213) 0:00:04.134 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.l0tf8z91", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:39:14 +0000 (0:00:00.481) 0:00:04.616 ********* ok: [/cache/centos-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.l0tf8z91/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.l0tf8z91/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.007527", "end": "2022-07-21 20:39:13.708620", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:39:13.701093" } ok: [/cache/centos-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.l0tf8z91/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.l0tf8z91/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007618", "end": "2022-07-21 20:39:14.053600", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:39:14.045982" } TASK [Run role] **************************************************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:39:15 +0000 (0:00:00.722) 0:00:05.338 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:39:15 +0000 (0:00:00.037) 0:00:05.376 ********* included: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:39:15 +0000 (0:00:00.028) 0:00:05.405 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:39:15 +0000 (0:00:00.516) 0:00:05.921 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:39:15 +0000 (0:00:00.062) 0:00:05.984 ********* ok: [/cache/centos-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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:39:17 +0000 (0:00:01.813) 0:00:07.798 ********* skipping: [/cache/centos-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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:39:17 +0000 (0:00:00.025) 0:00:07.823 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:39:17 +0000 (0:00:00.030) 0:00:07.854 ********* changed: [/cache/centos-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-1658435957.7825017-62470-243780308129794/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-8.qcow2 TASK [Download the new configuration file] ************************************* task path: /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:39:18 +0000 (0:00:01.099) 0:00:08.953 ********* ok: [/cache/centos-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/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:39:19 +0000 (0:00:00.471) 0:00:09.424 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=14 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:39:19 +0000 (0:00:00.054) 0:00:09.479 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 2.21s /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.81s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.10s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:2 ----------------------- Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- Backup files ------------------------------------------------------------ 0.72s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.52s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.48s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:5 --------------------------------- Download the new configuration file ------------------------------------- 0.47s /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:32 ---------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.06s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Check if the selected options are in ------------------------------------ 0.05s /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:37 ---------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmppdxivynv/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/tmpppg9msr1/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/tmpppg9msr1/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.03s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmppdxivynv/tests/ssh/tests_no_skip_defaults.yml:20 ---------------------- Setup ------------------------------------------------------------------- 0.02s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:2 --------------------------------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:2 ----------------------------------