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/tmpkn11ymek 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/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:44:48 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:44:49 +0000 (0:00:01.126) 0:00:01.138 ********* META: end_host conditional evaluated to false, continuing execution for /cache/fedora-36.qcow2.snap skipping: [/cache/fedora-36.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-36.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-36.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:44:49 +0000 (0:00:00.029) 0:00:01.168 ********* included: /tmp/tmp_b_5f9t_/tests/tasks/backup.yml for /cache/fedora-36.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:44:49 +0000 (0:00:00.049) 0:00:01.217 ********* included: /tmp/tmp_b_5f9t_/tests/tasks/setup.yml for /cache/fedora-36.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmp_b_5f9t_/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:44:49 +0000 (0:00:00.026) 0:00:01.243 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmp_b_5f9t_/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:44:49 +0000 (0:00:00.020) 0:00:01.264 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:44:51 +0000 (0:00:01.923) 0:00:03.187 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.ohll1fdr", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:44:51 +0000 (0:00:00.506) 0:00:03.694 ********* ok: [/cache/fedora-36.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.ohll1fdr/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.ohll1fdr/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.009797", "end": "2022-07-21 20:44:51.994867", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:44:51.985070" } ok: [/cache/fedora-36.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.ohll1fdr/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.ohll1fdr/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.009333", "end": "2022-07-21 20:44:52.390424", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:44:52.381091" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:44:52 +0000 (0:00:00.930) 0:00:04.624 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007784", "end": "2022-07-21 20:44:52.803031", "rc": 0, "start": "2022-07-21 20:44:52.795247" } 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-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 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-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 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 sendenv LANG sendenv LC_CTYPE sendenv LC_NUMERIC sendenv LC_TIME sendenv LC_COLLATE sendenv LC_MONETARY sendenv LC_MESSAGES sendenv LC_PAPER sendenv LC_NAME sendenv LC_ADDRESS sendenv LC_TELEPHONE sendenv LC_MEASUREMENT sendenv LC_IDENTIFICATION sendenv LC_ALL sendenv LANGUAGE sendenv XMODIFIERS logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any canonicalizePermittedcnames none controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:44:53 +0000 (0:00:00.409) 0:00:05.034 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:44:53 +0000 (0:00:00.520) 0:00:05.555 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:44:53 +0000 (0:00:00.033) 0:00:05.588 ********* included: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:44:53 +0000 (0:00:00.025) 0:00:05.614 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:44:54 +0000 (0:00:00.527) 0:00:06.142 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.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/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:44:54 +0000 (0:00:00.051) 0:00:06.193 ********* ok: [/cache/fedora-36.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/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:44:56 +0000 (0:00:01.810) 0:00:08.004 ********* skipping: [/cache/fedora-36.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/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:44:56 +0000 (0:00:00.027) 0:00:08.031 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:44:56 +0000 (0:00:00.025) 0:00:08.057 ********* changed: [/cache/fedora-36.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-1658436296.331036-66612-133350144188078/source", "state": "file", "uid": 0 } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:44:57 +0000 (0:00:01.195) 0:00:09.252 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007630", "end": "2022-07-21 20:44:57.428052", "rc": 0, "start": "2022-07-21 20:44:57.420422" } 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-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 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-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 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 sendenv LANG sendenv LC_CTYPE sendenv LC_NUMERIC sendenv LC_TIME sendenv LC_COLLATE sendenv LC_MONETARY sendenv LC_MESSAGES sendenv LC_PAPER sendenv LC_NAME sendenv LC_ADDRESS sendenv LC_TELEPHONE sendenv LC_MEASUREMENT sendenv LC_IDENTIFICATION sendenv LC_ALL sendenv LANGUAGE sendenv XMODIFIERS logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any canonicalizePermittedcnames none controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:44:57 +0000 (0:00:00.406) 0:00:09.659 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:44:57 +0000 (0:00:00.069) 0:00:09.729 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.92s /tmp/tmp_b_5f9t_/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.81s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Generate the configuration file ---------------- 1.20s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:2 ------------------------ Backup files ------------------------------------------------------------ 0.93s /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.53s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Truncate configuration file --------------------------------------------- 0.52s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:24 ----------------------- Create a temporary directory for backup files --------------------------- 0.51s /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:5 ------------------------------------- Record default values from configuration file --------------------------- 0.41s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:19 ----------------------- Record values in new configuration file --------------------------------- 0.41s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:36 ----------------------- Verify configuration is same -------------------------------------------- 0.07s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:41 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Backup configuration files ---------------------------------------------- 0.05s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:16 ----------------------- Run role ---------------------------------------------------------------- 0.03s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:29 ----------------------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmp_b_5f9t_/tests/tests_regenerate_defaults.yml:10 ----------------------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmp_b_5f9t_/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmp_b_5f9t_/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.03s /tmp/tmp_b_5f9t_/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmp_b_5f9t_/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/tmpkn11ymek 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/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:47:40 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:47:41 +0000 (0:00:01.135) 0:00:01.149 ********* META: end_host conditional evaluated to false, continuing execution for /cache/fedora-36.qcow2.snap skipping: [/cache/fedora-36.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-36.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-36.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:47:41 +0000 (0:00:00.029) 0:00:01.179 ********* included: /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml for /cache/fedora-36.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:47:41 +0000 (0:00:00.043) 0:00:01.222 ********* included: /tmp/tmp7s9fngkn/tests/ssh/tasks/setup.yml for /cache/fedora-36.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:47:41 +0000 (0:00:00.025) 0:00:01.248 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmp7s9fngkn/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:47:41 +0000 (0:00:00.019) 0:00:01.267 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:47:43 +0000 (0:00:01.870) 0:00:03.138 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.nb0t0eag", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:47:44 +0000 (0:00:00.515) 0:00:03.654 ********* ok: [/cache/fedora-36.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.nb0t0eag/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.nb0t0eag/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.010101", "end": "2022-07-21 20:47:43.795931", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:47:43.785830" } ok: [/cache/fedora-36.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.nb0t0eag/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.nb0t0eag/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008795", "end": "2022-07-21 20:47:44.179061", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:47:44.170266" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:47:45 +0000 (0:00:00.911) 0:00:04.565 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006792", "end": "2022-07-21 20:47:44.567501", "rc": 0, "start": "2022-07-21 20:47:44.560709" } 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-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 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-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 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 sendenv LANG sendenv LC_CTYPE sendenv LC_NUMERIC sendenv LC_TIME sendenv LC_COLLATE sendenv LC_MONETARY sendenv LC_MESSAGES sendenv LC_PAPER sendenv LC_NAME sendenv LC_ADDRESS sendenv LC_TELEPHONE sendenv LC_MEASUREMENT sendenv LC_IDENTIFICATION sendenv LC_ALL sendenv LANGUAGE sendenv XMODIFIERS logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any canonicalizePermittedcnames none controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:47:45 +0000 (0:00:00.387) 0:00:04.952 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:47:46 +0000 (0:00:00.532) 0:00:05.484 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:47:46 +0000 (0:00:00.037) 0:00:05.522 ********* included: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:47:46 +0000 (0:00:00.028) 0:00:05.550 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:47:46 +0000 (0:00:00.542) 0:00:06.093 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-36.qcow2.snap] => (item=Fedora.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/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:47:46 +0000 (0:00:00.053) 0:00:06.147 ********* ok: [/cache/fedora-36.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/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:47:48 +0000 (0:00:01.712) 0:00:07.860 ********* skipping: [/cache/fedora-36.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/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:47:48 +0000 (0:00:00.029) 0:00:07.889 ********* skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:47:48 +0000 (0:00:00.024) 0:00:07.914 ********* changed: [/cache/fedora-36.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-1658436468.5524-69982-265236545081002/source", "state": "file", "uid": 0 } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:47:49 +0000 (0:00:01.166) 0:00:09.080 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007568", "end": "2022-07-21 20:47:49.110049", "rc": 0, "start": "2022-07-21 20:47:49.102481" } 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-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 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-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 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 sendenv LANG sendenv LC_CTYPE sendenv LC_NUMERIC sendenv LC_TIME sendenv LC_COLLATE sendenv LC_MONETARY sendenv LC_MESSAGES sendenv LC_PAPER sendenv LC_NAME sendenv LC_ADDRESS sendenv LC_TELEPHONE sendenv LC_MEASUREMENT sendenv LC_IDENTIFICATION sendenv LC_ALL sendenv LANGUAGE sendenv XMODIFIERS logverbose none permitremoteopen any addkeystoagent false forwardagent no connecttimeout none tunneldevice any:any canonicalizePermittedcnames none controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:47:50 +0000 (0:00:00.422) 0:00:09.503 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:47:50 +0000 (0:00:00.044) 0:00:09.548 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.87s /tmp/tmp7s9fngkn/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.71s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.17s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- Backup files ------------------------------------------------------------ 0.91s /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.54s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Truncate configuration file --------------------------------------------- 0.53s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- Create a temporary directory for backup files --------------------------- 0.52s /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:5 --------------------------------- Record values in new configuration file --------------------------------- 0.42s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Record default values from configuration file --------------------------- 0.39s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Verify configuration is same -------------------------------------------- 0.04s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- Backup configuration files ---------------------------------------------- 0.04s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:15 ------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmp7s9fngkn/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Setup ------------------------------------------------------------------- 0.03s /tmp/tmp7s9fngkn/tests/ssh/tasks/backup.yml:2 --------------------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmpkn11ymek/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmp7s9fngkn/tests/ssh/tasks/setup.yml:2 ----------------------------------