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/tmpharb6qhc 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_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:29:53 +0000 (0:00:00.012) 0:00:00.012 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:29:54 +0000 (0:00:00.990) 0:00:01.002 ********* included: /tmp/tmptgthu93e/tests/tasks/backup.yml for /cache/centos-6.qcow2c.snap TASK [Setup] ******************************************************************* task path: /tmp/tmptgthu93e/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:29:54 +0000 (0:00:00.028) 0:00:01.030 ********* included: /tmp/tmptgthu93e/tests/tasks/setup.yml for /cache/centos-6.qcow2c.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmptgthu93e/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:29:54 +0000 (0:00:00.027) 0:00:01.058 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmptgthu93e/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:29:54 +0000 (0:00:00.043) 0:00:01.101 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "openssh-clients-5.3p1-124.el6_10.x86_64 providing openssh-clients is already installed" ] } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmptgthu93e/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:29:55 +0000 (0:00:00.594) 0:00:01.696 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.c7B3LL", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmptgthu93e/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:29:55 +0000 (0:00:00.358) 0:00:02.055 ********* ok: [/cache/centos-6.qcow2c.snap] => (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.c7B3LL/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.c7B3LL/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003840", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-21 20:29:55.068581", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:29:55.064741" } ok: [/cache/centos-6.qcow2c.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.c7B3LL/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.c7B3LL/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008397", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-21 20:29:55.359759", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:29:55.351362" } TASK [Run role] **************************************************************** task path: /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:29:56 +0000 (0:00:00.678) 0:00:02.734 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:29:56 +0000 (0:00:00.036) 0:00:02.770 ********* included: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/centos-6.qcow2c.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:29:56 +0000 (0:00:00.030) 0:00:02.801 ********* ok: [/cache/centos-6.qcow2c.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:29:56 +0000 (0:00:00.379) 0:00:03.180 ********* skipping: [/cache/centos-6.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-6.qcow2c.snap] => (item=CentOS_6.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } }, "__ssh_supports_validate": false }, "ansible_included_var_files": [ "/tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/vars/CentOS_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_6.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=CentOS_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_6.10.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:29:56 +0000 (0:00:00.053) 0:00:03.234 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "openssh-5.3p1-124.el6_10.x86_64 providing openssh is already installed", "openssh-clients-5.3p1-124.el6_10.x86_64 providing openssh-clients is already installed" ] } TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:29:57 +0000 (0:00:00.473) 0:00:03.708 ********* skipping: [/cache/centos-6.qcow2c.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/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:29:57 +0000 (0:00:00.024) 0:00:03.732 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:29:57 +0000 (0:00:00.026) 0:00:03.759 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "checksum": "b30772e7b06add387e57b6cbf0bf265fc7741988", "dest": "/tmp/ssh_config_with_defaults", "gid": 0, "group": "root", "md5sum": "7fd767a76aa77ce62fd32eb45e5e72f5", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 314, "src": "/root/.ansible/tmp/ansible-tmp-1658435397.511946-52650-44768731872222/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Download the new configuration file] ************************************* task path: /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:29:58 +0000 (0:00:00.945) 0:00:04.705 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkxvY2FsRm9yd2FyZCAyMjIyIGxvY2FsaG9zdDoyMgpIb3N0ICoKICBGb3J3YXJkWDExVHJ1c3RlZCB5ZXMKICBHU1NBUElBdXRoZW50aWNhdGlvbiB5ZXMKICBTZW5kRW52IExBTkcgTENfQ1RZUEUgTENfTlVNRVJJQyBMQ19USU1FIExDX0NPTExBVEUgTENfTU9ORVRBUlkgTENfTUVTU0FHRVMKU2VuZEVudiBMQ19QQVBFUiBMQ19OQU1FIExDX0FERFJFU1MgTENfVEVMRVBIT05FIExDX01FQVNVUkVNRU5UClNlbmRFbnYgTENfSURFTlRJRklDQVRJT04gTENfQUxMIExBTkdVQUdFClNlbmRFbnYgWE1PRElGSUVSUwo=", "encoding": "base64", "source": "/tmp/ssh_config_with_defaults" } TASK [Check if the selected options are in] ************************************ task path: /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:29:58 +0000 (0:00:00.387) 0:00:05.092 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=13 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:29:58 +0000 (0:00:00.085) 0:00:05.178 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:2 --------------------------- linux-system-roles.ssh : Generate the configuration file ---------------- 0.95s /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Backup files ------------------------------------------------------------ 0.68s /tmp/tmptgthu93e/tests/tasks/backup.yml:13 ------------------------------------ Make sure openssh is installed before creating backup ------------------- 0.59s /tmp/tmptgthu93e/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 0.47s /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- Download the new configuration file ------------------------------------- 0.39s /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:32 -------------------------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.38s /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Create a temporary directory for backup files --------------------------- 0.36s /tmp/tmptgthu93e/tests/tasks/backup.yml:5 ------------------------------------- Check if the selected options are in ------------------------------------ 0.09s /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:37 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Ensure facts used by test ----------------------------------------------- 0.04s /tmp/tmptgthu93e/tests/tasks/setup.yml:2 -------------------------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:23 -------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmptgthu93e/tests/tests_no_skip_defaults.yml:20 -------------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmptgthu93e/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmptgthu93e/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/tmptgthu93e/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- 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/tmpharb6qhc 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_no_skip_defaults.yml ******************************************* 1 plays in /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml PLAY [Test we can write global config with default configuration] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:2 Thursday 21 July 2022 20:31:29 +0000 (0:00:00.012) 0:00:00.012 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] META: ran handlers TASK [Backup configuration files] ********************************************** task path: /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:20 Thursday 21 July 2022 20:31:30 +0000 (0:00:00.997) 0:00:01.010 ********* included: /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml for /cache/centos-6.qcow2c.snap TASK [Setup] ******************************************************************* task path: /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:31:30 +0000 (0:00:00.029) 0:00:01.039 ********* included: /tmp/tmpyajtit7a/tests/ssh/tasks/setup.yml for /cache/centos-6.qcow2c.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpyajtit7a/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:31:30 +0000 (0:00:00.027) 0:00:01.066 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpyajtit7a/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:31:30 +0000 (0:00:00.043) 0:00:01.110 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "openssh-clients-5.3p1-124.el6_10.x86_64 providing openssh-clients is already installed" ] } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:31:31 +0000 (0:00:00.605) 0:00:01.715 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.kG7Onl", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:31:31 +0000 (0:00:00.384) 0:00:02.100 ********* ok: [/cache/centos-6.qcow2c.snap] => (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.kG7Onl/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.kG7Onl/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003862", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-21 20:31:31.899116", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:31:31.895254" } ok: [/cache/centos-6.qcow2c.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.kG7Onl/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.kG7Onl/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.009800", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-21 20:31:32.169002", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:31:32.159202" } TASK [Run role] **************************************************************** task path: /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:23 Thursday 21 July 2022 20:31:32 +0000 (0:00:00.696) 0:00:02.796 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:31:32 +0000 (0:00:00.041) 0:00:02.837 ********* included: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:31:32 +0000 (0:00:00.033) 0:00:02.870 ********* ok: [/cache/centos-6.qcow2c.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:31:32 +0000 (0:00:00.381) 0:00:03.252 ********* skipping: [/cache/centos-6.qcow2c.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-6.qcow2c.snap] => (item=CentOS_6.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } }, "__ssh_supports_validate": false }, "ansible_included_var_files": [ "/tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_6.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=CentOS_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_6.10.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:31:33 +0000 (0:00:00.053) 0:00:03.305 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "rc": 0, "results": [ "openssh-5.3p1-124.el6_10.x86_64 providing openssh is already installed", "openssh-clients-5.3p1-124.el6_10.x86_64 providing openssh-clients is already installed" ] } TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:31:33 +0000 (0:00:00.465) 0:00:03.771 ********* skipping: [/cache/centos-6.qcow2c.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/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:31:33 +0000 (0:00:00.027) 0:00:03.798 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:31:33 +0000 (0:00:00.027) 0:00:03.826 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "checksum": "b30772e7b06add387e57b6cbf0bf265fc7741988", "dest": "/tmp/ssh_config_with_defaults", "gid": 0, "group": "root", "md5sum": "7fd767a76aa77ce62fd32eb45e5e72f5", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 314, "src": "/root/.ansible/tmp/ansible-tmp-1658435493.6010501-55261-56539306203127/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Download the new configuration file] ************************************* task path: /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:32 Thursday 21 July 2022 20:31:34 +0000 (0:00:00.932) 0:00:04.758 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "content": "IwojIEFuc2libGUgbWFuYWdlZAojCkxvY2FsRm9yd2FyZCAyMjIyIGxvY2FsaG9zdDoyMgpIb3N0ICoKICBGb3J3YXJkWDExVHJ1c3RlZCB5ZXMKICBHU1NBUElBdXRoZW50aWNhdGlvbiB5ZXMKICBTZW5kRW52IExBTkcgTENfQ1RZUEUgTENfTlVNRVJJQyBMQ19USU1FIExDX0NPTExBVEUgTENfTU9ORVRBUlkgTENfTUVTU0FHRVMKU2VuZEVudiBMQ19QQVBFUiBMQ19OQU1FIExDX0FERFJFU1MgTENfVEVMRVBIT05FIExDX01FQVNVUkVNRU5UClNlbmRFbnYgTENfSURFTlRJRklDQVRJT04gTENfQUxMIExBTkdVQUdFClNlbmRFbnYgWE1PRElGSUVSUwo=", "encoding": "base64", "source": "/tmp/ssh_config_with_defaults" } TASK [Check if the selected options are in] ************************************ task path: /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:37 Thursday 21 July 2022 20:31:34 +0000 (0:00:00.389) 0:00:05.148 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-6.qcow2c.snap : ok=13 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:31:34 +0000 (0:00:00.067) 0:00:05.216 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:2 ----------------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 0.93s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Backup files ------------------------------------------------------------ 0.70s /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:13 -------------------------------- Make sure openssh is installed before creating backup ------------------- 0.61s /tmp/tmpyajtit7a/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.47s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Download the new configuration file ------------------------------------- 0.39s /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:32 ---------------------- Create a temporary directory for backup files --------------------------- 0.38s /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:5 --------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.38s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Check if the selected options are in ------------------------------------ 0.07s /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:37 ---------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Ensure facts used by test ----------------------------------------------- 0.04s /tmp/tmpyajtit7a/tests/ssh/tasks/setup.yml:2 ---------------------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:23 ---------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpyajtit7a/tests/ssh/tests_no_skip_defaults.yml:20 ---------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Setup ------------------------------------------------------------------- 0.03s /tmp/tmpyajtit7a/tests/ssh/tasks/backup.yml:2 --------------------------------- fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmpharb6qhc/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10