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/tmp0677phw8 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 20:09:23 +0000 (0:00:00.017) 0:00:00.017 ********* ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:09:25 +0000 (0:00:01.398) 0:00:01.416 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:09:25 +0000 (0:00:00.010) 0:00:01.427 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:09:26 +0000 (0:00:00.920) 0:00:02.347 ********* META: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 skipping: [/cache/rhel-7.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-7.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 TASK [Backup configuration files] ********************************************** task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:09:26 +0000 (0:00:00.027) 0:00:02.375 ********* included: /tmp/tmpwdhrsu3c/tests/tasks/backup.yml for /cache/rhel-7.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:09:26 +0000 (0:00:00.026) 0:00:02.402 ********* included: /tmp/tmpwdhrsu3c/tests/tasks/setup.yml for /cache/rhel-7.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpwdhrsu3c/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:09:26 +0000 (0:00:00.026) 0:00:02.429 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpwdhrsu3c/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:09:26 +0000 (0:00:00.020) 0:00:02.449 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "openssh-clients-7.4p1-22.el7_9.x86_64 providing openssh-clients is already installed" ] } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:09:27 +0000 (0:00:00.641) 0:00:03.091 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.K6xeFH", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:09:27 +0000 (0:00:00.406) 0:00:03.497 ********* ok: [/cache/rhel-7.qcow2] => (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.K6xeFH/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.K6xeFH/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.004163", "end": "2022-07-21 16:09:28.125777", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:09:28.121614" } ok: [/cache/rhel-7.qcow2] => (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.K6xeFH/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.K6xeFH/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008777", "end": "2022-07-21 16:09:28.405640", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:09:28.396863" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:09:28 +0000 (0:00:00.699) 0:00:04.197 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008331", "end": "2022-07-21 16:09:28.698042", "rc": 0, "start": "2022-07-21 16:09:28.689711" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no forwardagent no forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapidelegatecredentials no hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no protocol 2 proxyusefdpass no pubkeyauthentication yes requesttty auto rhostsrsaauthentication no rsaauthentication yes streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false useprivilegedport no verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 compressionlevel 6 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc hostkeyalgorithms ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss hostbasedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 pubkeyacceptedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 canonicaldomains globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile ~/.ssh/known_hosts ~/.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 fingerprinthash SHA256 MD5 connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos lowdelay throughput rekeylimit 0 0 streamlocalbindmask 0177 TASK [Truncate configuration file] ********************************************* task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:09:28 +0000 (0:00:00.292) 0:00:04.489 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:09:28 +0000 (0:00:00.423) 0:00:04.912 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:09:28 +0000 (0:00:00.034) 0:00:04.946 ********* included: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:09:28 +0000 (0:00:00.025) 0:00:04.971 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:09:29 +0000 (0:00:00.395) 0:00:05.367 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } } }, "ansible_included_var_files": [ "/tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:09:29 +0000 (0:00:00.047) 0:00:05.415 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "openssh-7.4p1-22.el7_9.x86_64 providing openssh is already installed", "openssh-clients-7.4p1-22.el7_9.x86_64 providing openssh-clients is already installed" ] } TASK [linux-system-roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:09:29 +0000 (0:00:00.485) 0:00:05.900 ********* skipping: [/cache/rhel-7.qcow2] => { "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/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:09:29 +0000 (0:00:00.029) 0:00:05.930 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:09:29 +0000 (0:00:00.030) 0:00:05.960 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "7f797790c0b65e6418951c0ad66d72cb0692cf6d", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "edbf8b0886fd29d002d3152e037b8df9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 283, "src": "/root/.ansible/tmp/ansible-tmp-1658434169.9778721-28683-229675091644658/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-7.qcow2 TASK [Record values in new configuration file] ********************************* task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:09:30 +0000 (0:00:00.993) 0:00:06.954 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008359", "end": "2022-07-21 16:09:31.497159", "rc": 0, "start": "2022-07-21 16:09:31.488800" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no forwardagent no forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapidelegatecredentials no hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no protocol 2 proxyusefdpass no pubkeyauthentication yes requesttty auto rhostsrsaauthentication no rsaauthentication yes streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false useprivilegedport no verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 compressionlevel 6 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc hostkeyalgorithms ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss hostbasedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 pubkeyacceptedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 canonicaldomains globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile ~/.ssh/known_hosts ~/.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 fingerprinthash SHA256 MD5 connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos lowdelay throughput rekeylimit 0 0 streamlocalbindmask 0177 TASK [Verify configuration is same] ******************************************** task path: /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:09:31 +0000 (0:00:00.335) 0:00:07.290 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=16 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:09:31 +0000 (0:00:00.072) 0:00:07.362 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.ssh : Generate the configuration file ---------------- 0.99s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 0.92s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:2 ------------------------ Backup files ------------------------------------------------------------ 0.70s /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:13 ------------------------------------ Make sure openssh is installed before creating backup ------------------- 0.64s /tmp/tmpwdhrsu3c/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 0.49s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- Truncate configuration file --------------------------------------------- 0.42s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:24 ----------------------- Create a temporary directory for backup files --------------------------- 0.41s /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:5 ------------------------------------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.40s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Record values in new configuration file --------------------------------- 0.34s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:36 ----------------------- Record default values from configuration file --------------------------- 0.29s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:19 ----------------------- Verify configuration is same -------------------------------------------- 0.07s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:41 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.05s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Run role ---------------------------------------------------------------- 0.03s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:29 ----------------------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:10 ----------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmpwdhrsu3c/tests/tasks/backup.yml:2 ------------------------------------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpwdhrsu3c/tests/tests_regenerate_defaults.yml:16 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmpwdhrsu3c/tests/roles/linux-system-roles.ssh/tasks/main.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/tmp0677phw8 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 20:11:37 +0000 (0:00:00.018) 0:00:00.018 ********* ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:11:38 +0000 (0:00:01.409) 0:00:01.428 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:11:38 +0000 (0:00:00.010) 0:00:01.438 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:11:39 +0000 (0:00:00.938) 0:00:02.377 ********* META: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 skipping: [/cache/rhel-7.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/rhel-7.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/rhel-7.qcow2 TASK [Backup configuration files] ********************************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:11:39 +0000 (0:00:00.029) 0:00:02.406 ********* included: /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml for /cache/rhel-7.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:11:39 +0000 (0:00:00.026) 0:00:02.433 ********* included: /tmp/tmpxz37r5cb/tests/ssh/tasks/setup.yml for /cache/rhel-7.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:11:39 +0000 (0:00:00.029) 0:00:02.462 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmpxz37r5cb/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:11:39 +0000 (0:00:00.019) 0:00:02.482 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "openssh-clients-7.4p1-22.el7_9.x86_64 providing openssh-clients is already installed" ] } TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:11:40 +0000 (0:00:00.667) 0:00:03.150 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.Bdct0M", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:11:40 +0000 (0:00:00.415) 0:00:03.565 ********* ok: [/cache/rhel-7.qcow2] => (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.Bdct0M/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.Bdct0M/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.003876", "end": "2022-07-21 16:11:41.342845", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 16:11:41.338969" } ok: [/cache/rhel-7.qcow2] => (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.Bdct0M/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.Bdct0M/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.009417", "end": "2022-07-21 16:11:41.628035", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 16:11:41.618618" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:11:41 +0000 (0:00:00.713) 0:00:04.279 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008391", "end": "2022-07-21 16:11:41.926552", "rc": 0, "start": "2022-07-21 16:11:41.918161" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no forwardagent no forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapidelegatecredentials no hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no protocol 2 proxyusefdpass no pubkeyauthentication yes requesttty auto rhostsrsaauthentication no rsaauthentication yes streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false useprivilegedport no verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 compressionlevel 6 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc hostkeyalgorithms ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss hostbasedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 pubkeyacceptedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 canonicaldomains globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile ~/.ssh/known_hosts ~/.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 fingerprinthash SHA256 MD5 connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos lowdelay throughput rekeylimit 0 0 streamlocalbindmask 0177 TASK [Truncate configuration file] ********************************************* task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:11:41 +0000 (0:00:00.298) 0:00:04.577 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:11:42 +0000 (0:00:00.425) 0:00:05.003 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:11:42 +0000 (0:00:00.037) 0:00:05.040 ********* included: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:11:42 +0000 (0:00:00.029) 0:00:05.070 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:11:42 +0000 (0:00:00.389) 0:00:05.460 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__ssh_defaults": { "Host": { "Condition": "*", "ForwardX11Trusted": true, "GSSAPIAuthentication": true, "SendEnv": [ "LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES", "LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT", "LC_IDENTIFICATION LC_ALL LANGUAGE", "XMODIFIERS" ] } } }, "ansible_included_var_files": [ "/tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:11:42 +0000 (0:00:00.049) 0:00:05.509 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "openssh-7.4p1-22.el7_9.x86_64 providing openssh is already installed", "openssh-clients-7.4p1-22.el7_9.x86_64 providing openssh-clients is already installed" ] } TASK [fedora.linux_system_roles.ssh : Gather information about the user for user configuration] *** task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:11:43 +0000 (0:00:00.489) 0:00:05.998 ********* skipping: [/cache/rhel-7.qcow2] => { "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/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:11:43 +0000 (0:00:00.031) 0:00:06.030 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:11:43 +0000 (0:00:00.028) 0:00:06.059 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "checksum": "7f797790c0b65e6418951c0ad66d72cb0692cf6d", "dest": "/etc/ssh/ssh_config", "gid": 0, "group": "root", "md5sum": "edbf8b0886fd29d002d3152e037b8df9", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 283, "src": "/root/.ansible/tmp/ansible-tmp-1658434303.4675143-32485-143923071700571/source", "state": "file", "uid": 0 } META: role_complete for /cache/rhel-7.qcow2 TASK [Record values in new configuration file] ********************************* task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:11:44 +0000 (0:00:00.980) 0:00:07.039 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.008557", "end": "2022-07-21 16:11:44.695472", "rc": 0, "start": "2022-07-21 16:11:44.686915" } STDOUT: user root hostname localhost port 22 addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no forwardagent no forwardx11 no forwardx11trusted yes gatewayports no gssapiauthentication yes gssapidelegatecredentials no hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no protocol 2 proxyusefdpass no pubkeyauthentication yes requesttty auto rhostsrsaauthentication no rsaauthentication yes streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false useprivilegedport no verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 compressionlevel 6 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc hostkeyalgorithms ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss hostbasedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss kexalgorithms curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 loglevel INFO macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 pubkeyacceptedkeytypes ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 canonicaldomains globalknownhostsfile /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 userknownhostsfile ~/.ssh/known_hosts ~/.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 fingerprinthash SHA256 MD5 connecttimeout none tunneldevice any:any controlpersist no escapechar ~ ipqos lowdelay throughput rekeylimit 0 0 streamlocalbindmask 0177 TASK [Verify configuration is same] ******************************************** task path: /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:11:44 +0000 (0:00:00.310) 0:00:07.349 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=16 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:11:44 +0000 (0:00:00.036) 0:00:07.386 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.ssh : Generate the configuration file --------- 0.98s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 0.94s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- Backup files ------------------------------------------------------------ 0.71s /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:13 -------------------------------- Make sure openssh is installed before creating backup ------------------- 0.67s /tmp/tmpxz37r5cb/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 0.49s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Truncate configuration file --------------------------------------------- 0.43s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- Create a temporary directory for backup files --------------------------- 0.42s /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:5 --------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.39s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Record values in new configuration file --------------------------------- 0.31s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Record default values from configuration file --------------------------- 0.30s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.05s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Run role ---------------------------------------------------------------- 0.04s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- Verify configuration is same -------------------------------------------- 0.04s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Setup ------------------------------------------------------------------- 0.03s /tmp/tmpxz37r5cb/tests/ssh/tasks/backup.yml:2 --------------------------------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.03s /tmp/tmp0677phw8/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Backup configuration files ---------------------------------------------- 0.03s /tmp/tmpxz37r5cb/tests/ssh/tests_regenerate_defaults.yml:15 -------------------