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/tmpb2a4zynw 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/tmp507tgphv/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:34:01 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:34:03 +0000 (0:00:01.128) 0:00:01.141 ********* META: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap skipping: [/cache/fedora-35.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-35.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:34:03 +0000 (0:00:00.029) 0:00:01.171 ********* included: /tmp/tmp507tgphv/tests/tasks/backup.yml for /cache/fedora-35.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmp507tgphv/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:34:03 +0000 (0:00:00.048) 0:00:01.219 ********* included: /tmp/tmp507tgphv/tests/tasks/setup.yml for /cache/fedora-35.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmp507tgphv/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:34:03 +0000 (0:00:00.026) 0:00:01.246 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmp507tgphv/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:34:03 +0000 (0:00:00.020) 0:00:01.267 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmp507tgphv/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:34:05 +0000 (0:00:01.891) 0:00:03.158 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.1hc7lrfg", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmp507tgphv/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:34:05 +0000 (0:00:00.495) 0:00:03.654 ********* ok: [/cache/fedora-35.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.1hc7lrfg/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.1hc7lrfg/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008122", "end": "2022-07-21 20:34:05.410681", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:34:05.402559" } ok: [/cache/fedora-35.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.1hc7lrfg/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.1hc7lrfg/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008125", "end": "2022-07-21 20:34:05.772299", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:34:05.764174" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:34:06 +0000 (0:00:00.876) 0:00:04.531 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006730", "end": "2022-07-21 20:34:06.156764", "rc": 0, "start": "2022-07-21 20:34:06.150034" } 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 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 controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:34:06 +0000 (0:00:00.385) 0:00:04.916 ********* changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:34:07 +0000 (0:00:00.504) 0:00:05.421 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:34:07 +0000 (0:00:00.034) 0:00:05.455 ********* included: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:34:07 +0000 (0:00:00.028) 0:00:05.484 ********* ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:34:07 +0000 (0:00:00.519) 0:00:06.003 ********* skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.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/tmp507tgphv/tests/roles/linux-system-roles.ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:34:07 +0000 (0:00:00.051) 0:00:06.054 ********* ok: [/cache/fedora-35.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/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:34:09 +0000 (0:00:01.784) 0:00:07.839 ********* skipping: [/cache/fedora-35.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/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:34:09 +0000 (0:00:00.029) 0:00:07.868 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:34:09 +0000 (0:00:00.024) 0:00:07.893 ********* changed: [/cache/fedora-35.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-1658435649.872696-55004-87706117875637/source", "state": "file", "uid": 0 } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:34:10 +0000 (0:00:01.110) 0:00:09.004 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.005651", "end": "2022-07-21 20:34:10.624575", "rc": 0, "start": "2022-07-21 20:34:10.618924" } 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 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 controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:34:11 +0000 (0:00:00.376) 0:00:09.380 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:34:11 +0000 (0:00:00.038) 0:00:09.419 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.89s /tmp/tmp507tgphv/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.78s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:2 ------------------------ linux-system-roles.ssh : Generate the configuration file ---------------- 1.11s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Backup files ------------------------------------------------------------ 0.88s /tmp/tmp507tgphv/tests/tasks/backup.yml:13 ------------------------------------ linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.52s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Truncate configuration file --------------------------------------------- 0.50s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:24 ----------------------- Create a temporary directory for backup files --------------------------- 0.50s /tmp/tmp507tgphv/tests/tasks/backup.yml:5 ------------------------------------- Record default values from configuration file --------------------------- 0.39s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:19 ----------------------- Record values in new configuration file --------------------------------- 0.38s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:36 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Backup configuration files ---------------------------------------------- 0.05s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:16 ----------------------- Verify configuration is same -------------------------------------------- 0.04s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:41 ----------------------- Run role ---------------------------------------------------------------- 0.03s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:29 ----------------------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmp507tgphv/tests/tests_regenerate_defaults.yml:10 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmp507tgphv/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmp507tgphv/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmp507tgphv/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/tmpb2a4zynw 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/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:36:50 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:36:51 +0000 (0:00:01.104) 0:00:01.118 ********* META: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap skipping: [/cache/fedora-35.qcow2.snap] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/fedora-35.qcow2.snap" } MSG: end_host conditional evaluated to false, continuing execution for /cache/fedora-35.qcow2.snap TASK [Backup configuration files] ********************************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:36:51 +0000 (0:00:00.029) 0:00:01.147 ********* included: /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml for /cache/fedora-35.qcow2.snap TASK [Setup] ******************************************************************* task path: /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:36:51 +0000 (0:00:00.027) 0:00:01.174 ********* included: /tmp/tmpdljjmvxt/tests/ssh/tasks/setup.yml for /cache/fedora-35.qcow2.snap TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:36:51 +0000 (0:00:00.043) 0:00:01.217 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpdljjmvxt/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:36:51 +0000 (0:00:00.018) 0:00:01.236 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:36:53 +0000 (0:00:01.907) 0:00:03.143 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.qe9y1412", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 40, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:36:53 +0000 (0:00:00.484) 0:00:03.628 ********* ok: [/cache/fedora-35.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.qe9y1412/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.qe9y1412/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008067", "end": "2022-07-21 20:36:53.802363", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:36:53.794296" } ok: [/cache/fedora-35.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.qe9y1412/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.qe9y1412/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.009969", "end": "2022-07-21 20:36:54.175089", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:36:54.165120" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:36:54 +0000 (0:00:00.875) 0:00:04.503 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006043", "end": "2022-07-21 20:36:54.535380", "rc": 0, "start": "2022-07-21 20:36:54.529337" } 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 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 controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Truncate configuration file] ********************************************* task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:36:55 +0000 (0:00:00.360) 0:00:04.863 ********* changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:36:55 +0000 (0:00:00.509) 0:00:05.372 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:36:55 +0000 (0:00:00.040) 0:00:05.413 ********* included: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:36:55 +0000 (0:00:00.027) 0:00:05.440 ********* ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:36:56 +0000 (0:00:00.520) 0:00:05.961 ********* skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/fedora-35.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/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:36:56 +0000 (0:00:00.052) 0:00:06.013 ********* ok: [/cache/fedora-35.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/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:36:58 +0000 (0:00:01.850) 0:00:07.864 ********* skipping: [/cache/fedora-35.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/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:36:58 +0000 (0:00:00.026) 0:00:07.890 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:36:58 +0000 (0:00:00.026) 0:00:07.917 ********* changed: [/cache/fedora-35.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-1658435818.1845036-58381-14203891471711/source", "state": "file", "uid": 0 } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Record values in new configuration file] ********************************* task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:36:59 +0000 (0:00:01.134) 0:00:09.051 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006206", "end": "2022-07-21 20:36:59.099286", "rc": 0, "start": "2022-07-21 20:36:59.093080" } 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 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 controlpersist no escapechar ~ ipqos af21 cs1 rekeylimit 0 0 streamlocalbindmask 0177 syslogfacility USER TASK [Verify configuration is same] ******************************************** task path: /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:36:59 +0000 (0:00:00.376) 0:00:09.428 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=15 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:36:59 +0000 (0:00:00.042) 0:00:09.470 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 1.91s /tmp/tmpdljjmvxt/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.85s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.13s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- Backup files ------------------------------------------------------------ 0.88s /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.52s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Truncate configuration file --------------------------------------------- 0.51s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- Create a temporary directory for backup files --------------------------- 0.48s /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:5 --------------------------------- Record values in new configuration file --------------------------------- 0.38s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Record default values from configuration file --------------------------- 0.36s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Setup ------------------------------------------------------------------- 0.04s /tmp/tmpdljjmvxt/tests/ssh/tasks/backup.yml:2 --------------------------------- Verify configuration is same -------------------------------------------- 0.04s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpdljjmvxt/tests/ssh/tests_regenerate_defaults.yml:15 ------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmpb2a4zynw/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.03s /tmp/tmpb2a4zynw/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Ensure facts used by test ----------------------------------------------- 0.02s /tmp/tmpdljjmvxt/tests/ssh/tasks/setup.yml:2 ----------------------------------