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_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:40:57 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:40:58 +0000 (0:00:01.137) 0:00:01.150 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap skipping: [/cache/centos-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:40:58 +0000 (0:00:00.049) 0:00:01.200 ********* included: /tmp/tmpphxus3ul/tests/tasks/backup.yml for /cache/centos-9.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmpphxus3ul/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:40:58 +0000 (0:00:00.042) 0:00:01.242 ********* included: /tmp/tmpphxus3ul/tests/tasks/setup.yml for /cache/centos-9.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpphxus3ul/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:40:58 +0000 (0:00:00.048) 0:00:01.291 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpphxus3ul/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:40:58 +0000 (0:00:00.021) 0:00:01.312 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpphxus3ul/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:40:59 +0000 (0:00:01.011) 0:00:02.323 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.nlps3p9p", "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:41:00 +0000 (0:00:00.461) 0:00:02.785 ********* ok: [/cache/centos-9.qcow2.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.nlps3p9p/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.nlps3p9p/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003530", "end": "2022-07-21 16:41:00.339979", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:41:00.336449" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config; then\n mkdir -p /tmp/ansible.nlps3p9p/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.nlps3p9p/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.009100", "end": "2022-07-21 16:41:00.694583", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:41:00.685483" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:41:01 +0000 (0:00:00.864) 0:00:03.649 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008254", "end": "2022-07-21 16:41:01.075832", "rc": 0, "start": "2022-07-21 16:41:01.067578" } STDOUT: user root hostname localhost port 222 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted no gatewayports no gssapiauthentication no gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking true tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 rsaminsize 1024 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 securitykeyprovider internal pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:41:01 +0000 (0:00:00.380) 0:00:04.030 ********* changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:41:01 +0000 (0:00:00.492) 0:00:04.523 ********* 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:41:02 +0000 (0:00:00.034) 0:00:04.557 ********* 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:41:02 +0000 (0:00:00.025) 0:00:04.583 ********* 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:41:02 +0000 (0:00:00.508) 0:00:05.092 ********* 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:41:02 +0000 (0:00:00.038) 0:00:05.130 ********* 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:41:03 +0000 (0:00:00.816) 0:00:05.947 ********* 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:41:03 +0000 (0:00:00.026) 0:00:05.973 ********* 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:41:03 +0000 (0:00:00.024) 0:00:05.998 ********* changed: [/cache/centos-9.qcow2.snap] => { "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-1658436063.5138834-61623-104561164875635/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-9.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:41:04 +0000 (0:00:01.118) 0:00:07.116 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007438", "end": "2022-07-21 16:41:04.534905", "rc": 0, "start": "2022-07-21 16:41:04.527467" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted no gatewayports no gssapiauthentication no gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 rsaminsize 1024 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 securitykeyprovider internal pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:41:04 +0000 (0:00:00.370) 0:00:07.487 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "assertion": "options_before.stdout == options_after.stdout", "changed": false, "evaluated_to": false } MSG: Assertion failed PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=13 changed=2 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:41:04 +0000 (0:00:00.023) 0:00:07.510 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:2 ------------------------ linux-system-roles.ssh : Generate the configuration file ---------------- 1.12s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Make sure openssh is installed before creating backup ------------------- 1.01s /tmp/tmpphxus3ul/tests/tasks/setup.yml:7 -------------------------------------- Backup files ------------------------------------------------------------ 0.86s /tmp/tmpphxus3ul/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure required packages are installed --------- 0.82s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.51s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Truncate configuration file --------------------------------------------- 0.49s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:24 ----------------------- Create a temporary directory for backup files --------------------------- 0.46s /tmp/tmpphxus3ul/tests/tasks/backup.yml:5 ------------------------------------- Record default values from configuration file --------------------------- 0.38s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:19 ----------------------- Record values in new configuration file --------------------------------- 0.37s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:36 ----------------------- RHEL6 does not support test mode for ssh -------------------------------- 0.05s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:10 ----------------------- Setup ------------------------------------------------------------------- 0.05s /tmp/tmpphxus3ul/tests/tasks/backup.yml:2 ------------------------------------- Backup configuration files ---------------------------------------------- 0.04s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:16 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.04s /tmp/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Run role ---------------------------------------------------------------- 0.03s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:29 ----------------------- 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 : Set platform/version specific variables -------- 0.03s /tmp/tmpphxus3ul/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/tmpphxus3ul/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- Verify configuration is same -------------------------------------------- 0.02s /tmp/tmpphxus3ul/tests/tests_regenerate_defaults.yml:41 ----------------------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmpphxus3ul/tests/tasks/setup.yml:2 -------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxzwiidf_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:43:07 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:43:08 +0000 (0:00:01.103) 0:00:01.116 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap skipping: [/cache/centos-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-9.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:43:08 +0000 (0:00:00.028) 0:00:01.145 ********* 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:43:08 +0000 (0:00:00.027) 0:00:01.172 ********* 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:43:08 +0000 (0:00:00.046) 0:00:01.218 ********* 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:43:08 +0000 (0:00:00.020) 0:00:01.238 ********* 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:43:09 +0000 (0:00:00.882) 0:00:02.121 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.gdz4zn8f", "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:43:09 +0000 (0:00:00.452) 0:00:02.574 ********* ok: [/cache/centos-9.qcow2.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.gdz4zn8f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.gdz4zn8f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003222", "end": "2022-07-21 16:43:09.528959", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:43:09.525737" } ok: [/cache/centos-9.qcow2.snap] => (item=/etc/ssh/ssh_config) => { "ansible_loop_var": "item", "changed": false, "cmd": "if test -f /etc/ssh/ssh_config; then\n mkdir -p /tmp/ansible.gdz4zn8f/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.gdz4zn8f/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008688", "end": "2022-07-21 16:43:09.876246", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:43:09.867558" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:43:10 +0000 (0:00:00.845) 0:00:03.420 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007008", "end": "2022-07-21 16:43:10.243032", "rc": 0, "start": "2022-07-21 16:43:10.236024" } STDOUT: user root hostname localhost port 222 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted no gatewayports no gssapiauthentication no gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking true tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 rsaminsize 1024 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 securitykeyprovider internal pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:43:11 +0000 (0:00:00.363) 0:00:03.783 ********* changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:43:11 +0000 (0:00:00.495) 0:00:04.278 ********* 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:43:11 +0000 (0:00:00.038) 0:00:04.317 ********* 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:43:11 +0000 (0:00:00.027) 0:00:04.344 ********* 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:43:12 +0000 (0:00:00.509) 0:00:04.853 ********* 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:43:12 +0000 (0:00:00.037) 0:00:04.891 ********* 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:43:13 +0000 (0:00:00.776) 0:00:05.668 ********* 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:43:13 +0000 (0:00:00.023) 0:00:05.692 ********* 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:43:13 +0000 (0:00:00.022) 0:00:05.714 ********* changed: [/cache/centos-9.qcow2.snap] => { "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-1658436193.1694756-64559-116696416986881/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-9.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:43:14 +0000 (0:00:01.099) 0:00:06.814 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006560", "end": "2022-07-21 16:43:13.633053", "rc": 0, "start": "2022-07-21 16:43:13.626493" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false checkhostip no compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardx11 no forwardx11trusted no gatewayports no gssapiauthentication no gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto sessiontype default stdinnull no forkafterauthentication no streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys true canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 rsaminsize 1024 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 securitykeyprovider internal pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ecdsa_sk identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_ed25519_sk identityfile ~/.ssh/id_xmss canonicaldomains none globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile /root/.ssh/known_hosts /root/.ssh/known_hosts2 logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:43:14 +0000 (0:00:00.356) 0:00:07.171 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "assertion": "options_before.stdout == options_after.stdout", "changed": false, "evaluated_to": false } MSG: Assertion failed PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=13 changed=2 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 Thursday 21 July 2022 20:43:14 +0000 (0:00:00.025) 0:00:07.197 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.10s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Make sure openssh is installed before creating backup ------------------- 0.88s /tmp/tmp1qbds5ja/tests/ssh/tasks/setup.yml:7 ---------------------------------- Backup files ------------------------------------------------------------ 0.85s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.78s /tmp/tmpxzwiidf_/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 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 Truncate configuration file --------------------------------------------- 0.50s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- Create a temporary directory for backup files --------------------------- 0.45s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:5 --------------------------------- Record default values from configuration file --------------------------- 0.36s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- Record values in new configuration file --------------------------------- 0.36s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Setup ------------------------------------------------------------------- 0.05s /tmp/tmp1qbds5ja/tests/ssh/tasks/backup.yml:2 --------------------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- 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 RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- 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 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:15 ------------------- Verify configuration is same -------------------------------------------- 0.03s /tmp/tmp1qbds5ja/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- 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 ----------------------------------