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/tmpppg9msr1 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 20:36:01 +0000 (0:00:00.019) 0:00:00.019 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.211680", "end": "2022-07-21 20:36:01.702609", "rc": 0, "start": "2022-07-21 20:36:01.490929" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:36:02 +0000 (0:00:00.798) 0:00:00.818 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:36:02 +0000 (0:00:00.012) 0:00:00.831 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:36:03 +0000 (0:00:01.020) 0:00:01.851 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-8.qcow2 skipping: [/cache/centos-8.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-8.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-8.qcow2 TASK [Backup configuration files] ********************************************** task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:16 Thursday 21 July 2022 20:36:03 +0000 (0:00:00.028) 0:00:01.879 ********* included: /tmp/tmptdmnrt7v/tests/tasks/backup.yml for /cache/centos-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:2 Thursday 21 July 2022 20:36:03 +0000 (0:00:00.026) 0:00:01.906 ********* included: /tmp/tmptdmnrt7v/tests/tasks/setup.yml for /cache/centos-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmptdmnrt7v/tests/tasks/setup.yml:2 Thursday 21 July 2022 20:36:03 +0000 (0:00:00.026) 0:00:01.932 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmptdmnrt7v/tests/tasks/setup.yml:7 Thursday 21 July 2022 20:36:03 +0000 (0:00:00.020) 0:00:01.953 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:5 Thursday 21 July 2022 20:36:05 +0000 (0:00:02.193) 0:00:04.146 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.rrquvpmt", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmptdmnrt7v/tests/tasks/backup.yml:13 Thursday 21 July 2022 20:36:06 +0000 (0:00:00.479) 0:00:04.625 ********* ok: [/cache/centos-8.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.rrquvpmt/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.rrquvpmt/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.007963", "end": "2022-07-21 20:36:05.892076", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:36:05.884113" } ok: [/cache/centos-8.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.rrquvpmt/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.rrquvpmt/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.008784", "end": "2022-07-21 20:36:06.240389", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:36:06.231605" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:19 Thursday 21 July 2022 20:36:06 +0000 (0:00:00.728) 0:00:05.354 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006934", "end": "2022-07-21 20:36:06.638686", "rc": 0, "start": "2022-07-21 20:36:06.631752" } STDOUT: user root hostname localhost port 22 addkeystoagent false addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardagent no 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-,gss-gex-sha1-,gss-group14-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa 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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,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,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 casignaturealgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa 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 pubkeyacceptedkeytypes ecdsa-sha2-nistp256,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,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com,ssh-rsa,ssh-rsa-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_xmss 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 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/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:24 Thursday 21 July 2022 20:36:07 +0000 (0:00:00.393) 0:00:05.747 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:29 Thursday 21 July 2022 20:36:07 +0000 (0:00:00.492) 0:00:06.239 ********* TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 Thursday 21 July 2022 20:36:07 +0000 (0:00:00.032) 0:00:06.272 ********* included: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] ************** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:36:07 +0000 (0:00:00.025) 0:00:06.297 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.ssh : Set platform/version specific variables] ******** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 Thursday 21 July 2022 20:36:08 +0000 (0:00:00.488) 0:00:06.786 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.ssh : Ensure required packages are installed] ********* task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 Thursday 21 July 2022 20:36:08 +0000 (0:00:00.082) 0:00:06.868 ********* ok: [/cache/centos-8.qcow2] => { "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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 Thursday 21 July 2022 20:36:10 +0000 (0:00:01.804) 0:00:08.673 ********* skipping: [/cache/centos-8.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/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 Thursday 21 July 2022 20:36:10 +0000 (0:00:00.029) 0:00:08.702 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ssh : Generate the configuration file] **************** task path: /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 Thursday 21 July 2022 20:36:10 +0000 (0:00:00.022) 0:00:08.725 ********* changed: [/cache/centos-8.qcow2] => { "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-1658435770.3111892-59238-1859638447997/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-8.qcow2 TASK [Record values in new configuration file] ********************************* task path: /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:36 Thursday 21 July 2022 20:36:11 +0000 (0:00:01.099) 0:00:09.824 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.006563", "end": "2022-07-21 20:36:11.081765", "rc": 0, "start": "2022-07-21 20:36:11.075202" } STDOUT: user root hostname localhost port 22 addkeystoagent false addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardagent no 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-,gss-gex-sha1-,gss-group14-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa 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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,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,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 casignaturealgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa 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 pubkeyacceptedkeytypes ecdsa-sha2-nistp256,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,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com,ssh-rsa,ssh-rsa-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_xmss 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 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/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:41 Thursday 21 July 2022 20:36:11 +0000 (0:00:00.367) 0:00:10.192 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=16 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:36:11 +0000 (0:00:00.039) 0:00:10.231 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 2.19s /tmp/tmptdmnrt7v/tests/tasks/setup.yml:7 -------------------------------------- linux-system-roles.ssh : Ensure required packages are installed --------- 1.80s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 ---------- linux-system-roles.ssh : Generate the configuration file ---------------- 1.10s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 --------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:2 ------------------------ Enable HA repos --------------------------------------------------------- 0.80s /cache/centos-8_setup.yml:5 --------------------------------------------------- Backup files ------------------------------------------------------------ 0.73s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:13 ------------------------------------ Truncate configuration file --------------------------------------------- 0.49s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:24 ----------------------- linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 0.49s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 ------ Create a temporary directory for backup files --------------------------- 0.48s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:5 ------------------------------------- Record default values from configuration file --------------------------- 0.39s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:19 ----------------------- Record values in new configuration file --------------------------------- 0.37s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:36 ----------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.08s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 ------ Verify configuration is same -------------------------------------------- 0.04s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:41 ----------------------- Run role ---------------------------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:29 ----------------------- linux-system-roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:10 --------- RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:10 ----------------------- Backup configuration files ---------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tests_regenerate_defaults.yml:16 ----------------------- Setup ------------------------------------------------------------------- 0.03s /tmp/tmptdmnrt7v/tests/tasks/backup.yml:2 ------------------------------------- linux-system-roles.ssh : Set platform/version specific variables -------- 0.03s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 ---------- linux-system-roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmptdmnrt7v/tests/roles/linux-system-roles.ssh/tasks/main.yml:17 --------- 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/tmpppg9msr1 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 20:39:31 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.221330", "end": "2022-07-21 20:39:30.949536", "rc": 0, "start": "2022-07-21 20:39:30.728206" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 20:39:32 +0000 (0:00:00.811) 0:00:00.829 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_regenerate_defaults.yml **************************************** 1 plays in /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml PLAY [Regenerate default configuration file] *********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:2 Thursday 21 July 2022 20:39:32 +0000 (0:00:00.013) 0:00:00.842 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [RHEL6 does not support test mode for ssh] ******************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:10 Thursday 21 July 2022 20:39:33 +0000 (0:00:01.044) 0:00:01.886 ********* META: end_host conditional evaluated to false, continuing execution for /cache/centos-8.qcow2 skipping: [/cache/centos-8.qcow2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for /cache/centos-8.qcow2" } MSG: end_host conditional evaluated to false, continuing execution for /cache/centos-8.qcow2 TASK [Backup configuration files] ********************************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:15 Thursday 21 July 2022 20:39:33 +0000 (0:00:00.028) 0:00:01.914 ********* included: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml for /cache/centos-8.qcow2 TASK [Setup] ******************************************************************* task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:2 Thursday 21 July 2022 20:39:33 +0000 (0:00:00.024) 0:00:01.939 ********* included: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml for /cache/centos-8.qcow2 TASK [Ensure facts used by test] *********************************************** task path: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:2 Thursday 21 July 2022 20:39:33 +0000 (0:00:00.023) 0:00:01.963 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure openssh is installed before creating backup] ******************* task path: /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:7 Thursday 21 July 2022 20:39:33 +0000 (0:00:00.020) 0:00:01.983 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create a temporary directory for backup files] *************************** task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:5 Thursday 21 July 2022 20:39:35 +0000 (0:00:02.186) 0:00:04.169 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.l1rqnm3f", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [Backup files] ************************************************************ task path: /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:13 Thursday 21 July 2022 20:39:35 +0000 (0:00:00.484) 0:00:04.654 ********* ok: [/cache/centos-8.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.l1rqnm3f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.l1rqnm3f/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n", "delta": "0:00:00.008128", "end": "2022-07-21 20:39:35.168536", "item": "/etc/ssh/ssh_config.d/00-ansible.conf", "rc": 0, "start": "2022-07-21 20:39:35.160408" } ok: [/cache/centos-8.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.l1rqnm3f/$(dirname /etc/ssh/ssh_config);\n cp /etc/ssh/ssh_config /tmp/ansible.l1rqnm3f/$(dirname /etc/ssh/ssh_config)\nfi\n", "delta": "0:00:00.007652", "end": "2022-07-21 20:39:35.505908", "item": "/etc/ssh/ssh_config", "rc": 0, "start": "2022-07-21 20:39:35.498256" } TASK [Record default values from configuration file] *************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:18 Thursday 21 July 2022 20:39:36 +0000 (0:00:00.719) 0:00:05.374 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007592", "end": "2022-07-21 20:39:35.868041", "rc": 0, "start": "2022-07-21 20:39:35.860449" } STDOUT: user root hostname localhost port 22 addkeystoagent false addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardagent no 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-,gss-gex-sha1-,gss-group14-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa 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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,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,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 casignaturealgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa 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 pubkeyacceptedkeytypes ecdsa-sha2-nistp256,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,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com,ssh-rsa,ssh-rsa-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_xmss 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 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/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:23 Thursday 21 July 2022 20:39:37 +0000 (0:00:00.364) 0:00:05.738 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "path": "/etc/ssh/ssh_config", "state": "absent" } TASK [Run role] **************************************************************** task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:28 Thursday 21 July 2022 20:39:37 +0000 (0:00:00.476) 0:00:06.215 ********* TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Thursday 21 July 2022 20:39:37 +0000 (0:00:00.035) 0:00:06.251 ********* included: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.ssh : Ensure ansible_facts used by role] ******* task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Thursday 21 July 2022 20:39:37 +0000 (0:00:00.026) 0:00:06.277 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.ssh : Set platform/version specific variables] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Thursday 21 July 2022 20:39:38 +0000 (0:00:00.487) 0:00:06.765 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.ssh : Ensure required packages are installed] *** task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 Thursday 21 July 2022 20:39:38 +0000 (0:00:00.057) 0:00:06.822 ********* ok: [/cache/centos-8.qcow2] => { "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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 Thursday 21 July 2022 20:39:39 +0000 (0:00:01.831) 0:00:08.654 ********* skipping: [/cache/centos-8.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/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Thursday 21 July 2022 20:39:39 +0000 (0:00:00.029) 0:00:08.684 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ssh : Generate the configuration file] ********* task path: /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Thursday 21 July 2022 20:39:39 +0000 (0:00:00.024) 0:00:08.708 ********* changed: [/cache/centos-8.qcow2] => { "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-1658435980.0453537-62943-179303623147760/source", "state": "file", "uid": 0 } META: role_complete for /cache/centos-8.qcow2 TASK [Record values in new configuration file] ********************************* task path: /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:35 Thursday 21 July 2022 20:39:41 +0000 (0:00:01.123) 0:00:09.831 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "ssh", "-G", "localhost", "-F", "/etc/ssh/ssh_config" ], "delta": "0:00:00.007312", "end": "2022-07-21 20:39:40.339262", "rc": 0, "start": "2022-07-21 20:39:40.331950" } STDOUT: user root hostname localhost port 22 addkeystoagent false addressfamily any batchmode no canonicalizefallbacklocal yes canonicalizehostname false challengeresponseauthentication yes checkhostip yes compression no controlmaster false enablesshkeysign no clearallforwardings no exitonforwardfailure no fingerprinthash SHA256 forwardagent no 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-,gss-gex-sha1-,gss-group14-sha1- hashknownhosts no hostbasedauthentication no identitiesonly no kbdinteractiveauthentication yes nohostauthenticationforlocalhost no passwordauthentication yes permitlocalcommand no proxyusefdpass no pubkeyauthentication yes requesttty auto streamlocalbindunlink no stricthostkeychecking ask tcpkeepalive yes tunnel false verifyhostkeydns false visualhostkey no updatehostkeys false canonicalizemaxdots 1 connectionattempts 1 forwardx11timeout 1200 numberofpasswordprompts 3 serveralivecountmax 3 serveraliveinterval 0 ciphers aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-ctr,aes256-cbc,aes128-gcm@openssh.com,aes128-ctr,aes128-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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa 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,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,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,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 casignaturealgorithms ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-256,rsa-sha2-512,ssh-rsa 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 pubkeyacceptedkeytypes ecdsa-sha2-nistp256,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,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com,ssh-rsa,ssh-rsa-cert-v01@openssh.com xauthlocation /usr/bin/xauth identityfile ~/.ssh/id_rsa identityfile ~/.ssh/id_dsa identityfile ~/.ssh/id_ecdsa identityfile ~/.ssh/id_ed25519 identityfile ~/.ssh/id_xmss 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 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/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:40 Thursday 21 July 2022 20:39:41 +0000 (0:00:00.379) 0:00:10.211 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=16 changed=3 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 21 July 2022 20:39:41 +0000 (0:00:00.037) 0:00:10.248 ********* =============================================================================== Make sure openssh is installed before creating backup ------------------- 2.19s /tmp/tmppdxivynv/tests/ssh/tasks/setup.yml:7 ---------------------------------- fedora.linux_system_roles.ssh : Ensure required packages are installed --- 1.83s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:5 fedora.linux_system_roles.ssh : Generate the configuration file --------- 1.12s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:28 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:2 -------------------- Enable HA repos --------------------------------------------------------- 0.81s /cache/centos-8_setup.yml:5 --------------------------------------------------- Backup files ------------------------------------------------------------ 0.72s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:13 -------------------------------- fedora.linux_system_roles.ssh : Ensure ansible_facts used by role ------- 0.49s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:2 Create a temporary directory for backup files --------------------------- 0.48s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:5 --------------------------------- Truncate configuration file --------------------------------------------- 0.48s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:23 ------------------- Record values in new configuration file --------------------------------- 0.38s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:35 ------------------- Record default values from configuration file --------------------------- 0.36s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:18 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.06s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/set_vars.yml:7 Verify configuration is same -------------------------------------------- 0.04s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:40 ------------------- Run role ---------------------------------------------------------------- 0.04s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:28 ------------------- fedora.linux_system_roles.ssh : Gather information about the user for user configuration --- 0.03s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:10 RHEL6 does not support test mode for ssh -------------------------------- 0.03s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:10 ------------------- fedora.linux_system_roles.ssh : Set platform/version specific variables --- 0.03s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:2 Backup configuration files ---------------------------------------------- 0.02s /tmp/tmppdxivynv/tests/ssh/tests_regenerate_defaults.yml:15 ------------------- fedora.linux_system_roles.ssh : Make sure the ~/.ssh/ directory exists and has expected permissions --- 0.02s /tmp/tmpppg9msr1/ansible_collections/fedora/linux_system_roles/roles/ssh/tasks/main.yml:17 Setup ------------------------------------------------------------------- 0.02s /tmp/tmppdxivynv/tests/ssh/tasks/backup.yml:2 ---------------------------------