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/tmp08vsdpvi 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/tmposga18ev/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:24:21 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:24:22 +0000 (0:00:01.116) 0:00:01.128 ********* META: end_host conditional evaluated to false, continuing execution for /cache/rhel-9.qcow2.snap skipping: [/cache/rhel-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-9.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:24:22 +0000 (0:00:00.031) 0:00:01.160 ********* included: /tmp/tmposga18ev/tests/tasks/backup.yml for /cache/rhel-9.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmposga18ev/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:24:22 +0000 (0:00:00.052) 0:00:01.213 ********* included: /tmp/tmposga18ev/tests/tasks/setup.yml for /cache/rhel-9.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmposga18ev/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:24:22 +0000 (0:00:00.026) 0:00:01.239 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmposga18ev/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:24:22 +0000 (0:00:00.020) 0:00:01.260 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmposga18ev/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:24:23 +0000 (0:00:01.038) 0:00:02.298 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.78xst0gv", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmposga18ev/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:24:24 +0000 (0:00:00.442) 0:00:02.741 ********* ok: [/cache/rhel-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.78xst0gv/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.78xst0gv/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.007503", "end": "2022-07-21 16:24:23.707423", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:24:23.699920" } ok: [/cache/rhel-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.78xst0gv/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.78xst0gv/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007424", "end": "2022-07-21 16:24:24.062821", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:24:24.055397" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:24:25 +0000 (0:00:00.856) 0:00:03.598 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.009383", "end": "2022-07-21 16:24:24.438365", "rc": 0, "start": "2022-07-21 16:24:24.428982" } 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 yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- 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 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr 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-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com 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/tmposga18ev/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:24:25 +0000 (0:00:00.378) 0:00:03.976 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:24:26 +0000 (0:00:00.473) 0:00:04.449 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:24:26 +0000 (0:00:00.033) 0:00:04.483 ********* included: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:24:26 +0000 (0:00:00.026) 0:00:04.509 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:24:26 +0000 (0:00:00.488) 0:00:04.998 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.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/tmposga18ev/tests/roles/linux-system-roles.ssh/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:24:26 +0000 (0:00:00.048) 0:00:05.046 ********* ok: [/cache/rhel-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/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:24:27 +0000 (0:00:00.841) 0:00:05.888 ********* skipping: [/cache/rhel-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/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:24:27 +0000 (0:00:00.024) 0:00:05.913 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:24:27 +0000 (0:00:00.033) 0:00:05.946 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "checksum": "0711aaca5717328025ff61450404b0b1238d40a7", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "5690ceaeff3e28be6c1b68a21ebd4f25", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 59, "src": "/root/.ansible/tmp/ansible-tmp-1658435067.6639109-46533-121162241504988/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:24:28 +0000 (0:00:01.155) 0:00:07.101 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007530", "end": "2022-07-21 16:24:27.937352", "rc": 0, "start": "2022-07-21 16:24:27.929822" } 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 yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- 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 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr 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-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com 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/tmposga18ev/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:24:29 +0000 (0:00:00.371) 0:00:07.473 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:24:29 +0000 (0:00:00.039) 0:00:07.513 ********* =============================================================================== linux-system-roles.ssh : Generate the configuration file ---------------- 1.16s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:2 ------------------------ Make sure openssh is installed before creating backup ------------------- 1.04s /tmp/tmposga18ev/tests/tasks/setup.yml:7 -------------------------------------- Backup files ------------------------------------------------------------ 0.86s /tmp/tmposga18ev/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure required packages are installed --------- 0.84s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.49s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Truncate configuration file --------------------------------------------- 0.47s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:24 ----------------------- Create a temporary directory for backup files --------------------------- 0.44s /tmp/tmposga18ev/tests/tasks/backup.yml:5 ------------------------------------- Record default values from configuration file --------------------------- 0.38s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:19 ----------------------- Record values in new configuration file --------------------------------- 0.37s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:36 ----------------------- Backup configuration files ---------------------------------------------- 0.05s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:16 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Verify configuration is same -------------------------------------------- 0.04s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:41 ----------------------- Run role ---------------------------------------------------------------- 0.03s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:29 ----------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmposga18ev/tests/tests_regenerate_defaults.yml:10 ----------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmposga18ev/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmposga18ev/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmposga18ev/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/tmp08vsdpvi 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/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:26:38 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:26:39 +0000 (0:00:01.101) 0:00:01.113 ********* META: end_host conditional evaluated to false, continuing execution for /cache/rhel-9.qcow2.snap skipping: [/cache/rhel-9.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-9.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-9.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:26:39 +0000 (0:00:00.031) 0:00:01.145 ********* included: /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml for /cache/rhel-9.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:26:39 +0000 (0:00:00.027) 0:00:01.172 ********* included: /tmp/tmpbvj7axe_/tests/ssh/tasks/setup.yml for /cache/rhel-9.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:26:39 +0000 (0:00:00.044) 0:00:01.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpbvj7axe_/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:26:39 +0000 (0:00:00.019) 0:00:01.236 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:26:40 +0000 (0:00:00.940) 0:00:02.176 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.m5g4ix9f", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:26:41 +0000 (0:00:00.441) 0:00:02.618 ********* ok: [/cache/rhel-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.m5g4ix9f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.m5g4ix9f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.007391", "end": "2022-07-21 16:26:40.414983", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:26:40.407592" } ok: [/cache/rhel-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.m5g4ix9f/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.m5g4ix9f/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007587", "end": "2022-07-21 16:26:40.752375", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:26:40.744788" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:26:41 +0000 (0:00:00.845) 0:00:03.464 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008288", "end": "2022-07-21 16:26:41.119256", "rc": 0, "start": "2022-07-21 16:26:41.110968" } 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 yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- 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 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr 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-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com 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/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:26:42 +0000 (0:00:00.369) 0:00:03.833 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:26:42 +0000 (0:00:00.487) 0:00:04.320 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:26:42 +0000 (0:00:00.037) 0:00:04.357 ********* included: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:26:42 +0000 (0:00:00.027) 0:00:04.385 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:26:43 +0000 (0:00:00.479) 0:00:04.864 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.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/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:26:43 +0000 (0:00:00.055) 0:00:04.920 ********* ok: [/cache/rhel-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/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:26:44 +0000 (0:00:00.851) 0:00:05.772 ********* skipping: [/cache/rhel-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/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:26:44 +0000 (0:00:00.023) 0:00:05.795 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:26:44 +0000 (0:00:00.024) 0:00:05.819 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "checksum": "0711aaca5717328025ff61450404b0b1238d40a7", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "5690ceaeff3e28be6c1b68a21ebd4f25", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 59, "src": "/root/.ansible/tmp/ansible-tmp-1658435204.3261049-49935-76748853874682/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:26:45 +0000 (0:00:01.087) 0:00:06.907 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008452", "end": "2022-07-21 16:26:44.572836", "rc": 0, "start": "2022-07-21 16:26:44.564384" } 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 yes gatewayports no gssapiauthentication yes gssapikeyexchange no gssapidelegatecredentials no gssapitrustdns no gssapirenewalforcesrekey no gssapikexalgorithms gss-curve25519-sha256-,gss-nistp256-sha256-,gss-group14-sha256-,gss-group16-sha512- 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 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes128-gcm@openssh.com,aes128-ctr 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-group14-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512 casignaturealgorithms ecdsa-sha2-nistp256,sk-ecdsa-sha2-nistp256@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-256,rsa-sha2-512 loglevel INFO macs hmac-sha2-256-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha1,umac-128@openssh.com,hmac-sha2-512 securitykeyprovider internal pubkeyacceptedalgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com 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/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:26:45 +0000 (0:00:00.384) 0:00:07.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:26:45 +0000 (0:00:00.042) 0:00:07.334 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.09s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Make sure openssh is installed before creating backup ------------------- 0.94s /tmp/tmpbvj7axe_/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.85s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Backup files ------------------------------------------------------------ 0.85s /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:13 -------------------------------- Truncate configuration file --------------------------------------------- 0.49s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.48s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.44s /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:5 --------------------------------- Record values in new configuration file --------------------------------- 0.38s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Record default values from configuration file --------------------------- 0.37s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.06s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Setup ------------------------------------------------------------------- 0.04s /tmp/tmpbvj7axe_/tests/ssh/tasks/backup.yml:2 --------------------------------- Verify configuration is same -------------------------------------------- 0.04s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpbvj7axe_/tests/ssh/tests_regenerate_defaults.yml:15 ------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.02s /tmp/tmp08vsdpvi/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmpbvj7axe_/tests/ssh/tasks/setup.yml:2 ----------------------------------