# STDOUT:
---v---v---v---v---v---
ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/ansible-2.9/lib/python3.6/site-packages/ansible
  executable location = /opt/ansible-2.9/bin/ansible-playbook
  python version = 3.6.8 (default, Jun 23 2022, 19:01:59) [GCC 8.5.0 20210514 (Red Hat 8.5.0-13)]
Using /etc/ansible/ansible.cfg as config file
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_match.yml ******************************************************
1 plays in /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml

PLAY [Verify default packages as well as additional are installed] *************

TASK [Gathering Facts] *********************************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:2
Monday 26 September 2022  15:09:07 +0000 (0:00:00.665)       0:00:00.665 ****** 
ok: [sut]
META: ran handlers

TASK [Backup configuration files] **********************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:11
Monday 26 September 2022  15:09:22 +0000 (0:00:15.693)       0:00:16.359 ****** 
included: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml for sut

TASK [Setup] *******************************************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:2
Monday 26 September 2022  15:09:23 +0000 (0:00:00.756)       0:00:17.115 ****** 
included: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/setup.yml for sut

TASK [Ensure facts used by test] ***********************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/setup.yml:2
Monday 26 September 2022  15:09:24 +0000 (0:00:00.850)       0:00:17.966 ****** 
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [Make sure openssh is installed before creating backup] *******************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/setup.yml:7
Monday 26 September 2022  15:09:27 +0000 (0:00:02.736)       0:00:20.703 ****** 
ok: [sut] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do

TASK [Create a temporary directory for backup files] ***************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:5
Monday 26 September 2022  15:09:37 +0000 (0:00:10.086)       0:00:30.789 ****** 
ok: [sut] => {
    "changed": false,
    "gid": 0,
    "group": "root",
    "mode": "0700",
    "owner": "root",
    "path": "/tmp/ansible.piqz0i3l",
    "secontext": "unconfined_u:object_r:user_tmp_t:s0",
    "size": 40,
    "state": "directory",
    "uid": 0
}

TASK [Backup files] ************************************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:13
Monday 26 September 2022  15:09:45 +0000 (0:00:07.981)       0:00:38.771 ****** 
ok: [sut] => (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.piqz0i3l/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf);\n  cp /etc/ssh/ssh_config.d/00-ansible.conf /tmp/ansible.piqz0i3l/$(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nfi\n",
    "delta": "0:00:00.004325",
    "end": "2022-09-26 15:09:57.142439",
    "item": "/etc/ssh/ssh_config.d/00-ansible.conf",
    "rc": 0,
    "start": "2022-09-26 15:09:57.138114"
}
ok: [sut] => (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.piqz0i3l/$(dirname /etc/ssh/ssh_config);\n  cp /etc/ssh/ssh_config /tmp/ansible.piqz0i3l/$(dirname /etc/ssh/ssh_config)\nfi\n",
    "delta": "0:00:00.036335",
    "end": "2022-09-26 15:09:58.888448",
    "item": "/etc/ssh/ssh_config",
    "rc": 0,
    "start": "2022-09-26 15:09:58.852113"
}

TASK [Run role] ****************************************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:14
Monday 26 September 2022  15:09:59 +0000 (0:00:14.128)       0:00:52.899 ****** 

TASK [linux-system-roles.ssh : Set platform/version specific variables] ********
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:2
Monday 26 September 2022  15:10:00 +0000 (0:00:01.622)       0:00:54.522 ****** 
included: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml for sut

TASK [linux-system-roles.ssh : Ensure ansible_facts used by role] **************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2
Monday 26 September 2022  15:10:03 +0000 (0:00:02.180)       0:00:56.702 ****** 
ok: [sut]

TASK [linux-system-roles.ssh : Set platform/version specific variables] ********
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8
Monday 26 September 2022  15:10:07 +0000 (0:00:04.691)       0:01:01.393 ****** 
skipping: [sut] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "RedHat.yml",
    "skip_reason": "Conditional result was False"
}
ok: [sut] => (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": [
        "/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/vars/Fedora.yml"
    ],
    "ansible_loop_var": "item",
    "changed": false,
    "item": "Fedora.yml"
}
skipping: [sut] => (item=Fedora_35.yml)  => {
    "ansible_loop_var": "item",
    "changed": false,
    "item": "Fedora_35.yml",
    "skip_reason": "Conditional result was False"
}
skipping: [sut] => (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: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:5
Monday 26 September 2022  15:10:09 +0000 (0:00:01.503)       0:01:02.897 ****** 
ok: [sut] => {
    "changed": false,
    "rc": 0,
    "results": []
}

MSG:

Nothing to do

TASK [linux-system-roles.ssh : Gather information about the user for user configuration] ***
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:10
Monday 26 September 2022  15:10:12 +0000 (0:00:03.239)       0:01:06.137 ****** 
skipping: [sut] => {
    "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: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:17
Monday 26 September 2022  15:10:12 +0000 (0:00:00.280)       0:01:06.417 ****** 
skipping: [sut] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}

TASK [linux-system-roles.ssh : Generate the configuration file] ****************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:28
Monday 26 September 2022  15:10:13 +0000 (0:00:00.393)       0:01:06.811 ****** 
changed: [sut] => {
    "changed": true,
    "checksum": "2d52bd7a92154556a85b5648fae7b5c2c00ae1ff",
    "dest": "/etc/ssh/ssh_config.d/00-ansible.conf",
    "gid": 0,
    "group": "root",
    "md5sum": "fd6c6700f814034939d889b85fd00fed",
    "mode": "0644",
    "owner": "root",
    "secontext": "system_u:object_r:etc_t:s0",
    "size": 172,
    "src": "/root/.ansible/tmp/ansible-tmp-1664205013.4983685-9140-276337301340877/source",
    "state": "file",
    "uid": 0
}

TASK [Download the custom configuration file] **********************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:42
Monday 26 September 2022  15:10:16 +0000 (0:00:02.973)       0:01:09.785 ****** 
ok: [sut] => {
    "changed": false,
    "content": "IwojIEFuc2libGUgbWFuYWdlZAojCk1hdGNoIHVzZXIgdGVzdHVzZXIKICBDb21wcmVzc2lvbiB5ZXMKTWF0Y2ggaG9zdCBleGFtcGxlCiAgSG9zdG5hbWUgZXhhbXBsZS5jb20KSG9zdCBsb2NhbAogIFVzZXIgbG9jYWx1c2VyCkhvc3QgcmVtb3RlCiAgSG9zdG5hbWUgcmVtb3RlLmV4YW1wbGUuY29tCg==",
    "encoding": "base64",
    "source": "/etc/ssh/ssh_config.d/00-ansible.conf"
}

TASK [Verify the options are in the file] **************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:47
Monday 26 September 2022  15:10:17 +0000 (0:00:00.972)       0:01:10.758 ****** 
ok: [sut] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Run first ssh in test mode to evaluate the configuration] ****************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:61
Monday 26 September 2022  15:10:17 +0000 (0:00:00.206)       0:01:10.964 ****** 
changed: [sut] => {
    "changed": true,
    "cmd": [
        "ssh",
        "-G",
        "testuser@example"
    ],
    "delta": "0:00:00.009534",
    "end": "2022-09-26 15:10:17.815534",
    "rc": 0,
    "start": "2022-09-26 15:10:17.806000"
}

STDOUT:

user testuser
hostname example.com
port 22
addressfamily any
batchmode no
canonicalizefallbacklocal yes
canonicalizehostname false
checkhostip no
compression yes
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


STDERR:

Pseudo-terminal will not be allocated because stdin is not a terminal.

TASK [Run second ssh in test mode to evaluate the configuration] ***************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:65
Monday 26 September 2022  15:10:17 +0000 (0:00:00.465)       0:01:11.430 ****** 
changed: [sut] => {
    "changed": true,
    "cmd": [
        "ssh",
        "-G",
        "local"
    ],
    "delta": "0:00:00.007904",
    "end": "2022-09-26 15:10:18.270138",
    "rc": 0,
    "start": "2022-09-26 15:10:18.262234"
}

STDOUT:

user localuser
hostname local
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


STDERR:

Pseudo-terminal will not be allocated because stdin is not a terminal.

TASK [Run third ssh in test mode to evaluate the configuration] ****************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:69
Monday 26 September 2022  15:10:18 +0000 (0:00:00.478)       0:01:11.908 ****** 
changed: [sut] => {
    "changed": true,
    "cmd": [
        "ssh",
        "-G",
        "remote"
    ],
    "delta": "0:00:00.007902",
    "end": "2022-09-26 15:10:18.737795",
    "rc": 0,
    "start": "2022-09-26 15:10:18.729893"
}

STDOUT:

user root
hostname remote.example.com
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


STDERR:

Pseudo-terminal will not be allocated because stdin is not a terminal.

TASK [Verify the options are correctly evaluated] ******************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:73
Monday 26 September 2022  15:10:18 +0000 (0:00:00.438)       0:01:12.347 ****** 
ok: [sut] => {
    "changed": false
}

MSG:

All assertions passed

TASK [Restore configuration files] *********************************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:94
Monday 26 September 2022  15:10:19 +0000 (0:00:00.508)       0:01:12.855 ****** 
included: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/restore.yml for sut

TASK [Restore backed up files and remove what was not present] *****************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/restore.yml:2
Monday 26 September 2022  15:10:19 +0000 (0:00:00.077)       0:01:12.932 ****** 
ok: [sut] => (item=/etc/ssh/ssh_config.d/00-ansible.conf) => {
    "ansible_loop_var": "item",
    "changed": false,
    "cmd": "if test -f /tmp/ansible.piqz0i3l//etc/ssh/ssh_config.d/00-ansible.conf; then\n  cp /tmp/ansible.piqz0i3l//etc/ssh/ssh_config.d/00-ansible.conf $(dirname /etc/ssh/ssh_config.d/00-ansible.conf)\nelif test -f /etc/ssh/ssh_config.d/00-ansible.conf; then\n  rm /etc/ssh/ssh_config.d/00-ansible.conf\nfi\n",
    "delta": "0:00:00.005344",
    "end": "2022-09-26 15:10:19.745231",
    "item": "/etc/ssh/ssh_config.d/00-ansible.conf",
    "rc": 0,
    "start": "2022-09-26 15:10:19.739887"
}
ok: [sut] => (item=/etc/ssh/ssh_config) => {
    "ansible_loop_var": "item",
    "changed": false,
    "cmd": "if test -f /tmp/ansible.piqz0i3l//etc/ssh/ssh_config; then\n  cp /tmp/ansible.piqz0i3l//etc/ssh/ssh_config $(dirname /etc/ssh/ssh_config)\nelif test -f /etc/ssh/ssh_config; then\n  rm /etc/ssh/ssh_config\nfi\n",
    "delta": "0:00:00.006916",
    "end": "2022-09-26 15:10:20.048370",
    "item": "/etc/ssh/ssh_config",
    "rc": 0,
    "start": "2022-09-26 15:10:20.041454"
}

TASK [Remove temporary directory for backup files] *****************************
task path: /WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/restore.yml:15
Monday 26 September 2022  15:10:20 +0000 (0:00:00.737)       0:01:13.670 ****** 
ok: [sut] => {
    "changed": false,
    "path": "/tmp/ansible.piqz0i3l",
    "state": "absent"
}
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
sut                        : ok=20   changed=4    unreachable=0    failed=0    skipped=3    rescued=0    ignored=0   

Monday 26 September 2022  15:10:21 +0000 (0:00:01.774)       0:01:15.444 ****** 
=============================================================================== 
Gathering Facts -------------------------------------------------------- 15.69s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:2 ----------
Backup files ----------------------------------------------------------- 14.13s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:13 --------
Make sure openssh is installed before creating backup ------------------ 10.09s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/setup.yml:7 ----------
Create a temporary directory for backup files --------------------------- 7.98s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:5 ---------
linux-system-roles.ssh : Ensure ansible_facts used by role -------------- 4.69s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:2 
linux-system-roles.ssh : Ensure required packages are installed --------- 3.24s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:5 
linux-system-roles.ssh : Generate the configuration file ---------------- 2.97s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:28 
Ensure facts used by test ----------------------------------------------- 2.74s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/setup.yml:2 ----------
linux-system-roles.ssh : Set platform/version specific variables -------- 2.18s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/main.yml:2 
Remove temporary directory for backup files ----------------------------- 1.77s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/restore.yml:15 -------
Run role ---------------------------------------------------------------- 1.62s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:14 ---------
linux-system-roles.ssh : Set platform/version specific variables -------- 1.50s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/roles/linux-system-roles.ssh/tasks/set_vars.yml:8 
Download the custom configuration file ---------------------------------- 0.97s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:42 ---------
Setup ------------------------------------------------------------------- 0.85s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/backup.yml:2 ---------
Backup configuration files ---------------------------------------------- 0.76s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:11 ---------
Restore backed up files and remove what was not present ----------------- 0.74s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tasks/restore.yml:2 --------
Verify the options are correctly evaluated ------------------------------ 0.51s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:73 ---------
Run second ssh in test mode to evaluate the configuration --------------- 0.48s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:65 ---------
Run first ssh in test mode to evaluate the configuration ---------------- 0.47s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:61 ---------
Run third ssh in test mode to evaluate the configuration ---------------- 0.44s
/WORKDIR/dist-git-ssh-requiredrsasize-r_KA3U/tests/tests_match.yml:69 ---------

---^---^---^---^---^---

# STDERR:
---v---v---v---v---v---
/opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.exceptions import InvalidSignature

---^---^---^---^---^---