{% if ssh_result.success %}
SSH CONNECTION SUCCESSFUL
Server
{{ ssh_result.server_name }}
IP
{{ ssh_result.ip_address }}
{% if ssh_result.transport %}
Transport
{{ ssh_result.transport }}
{% endif %}
Hostname
{{ ssh_result.hostname }}
OS
{{ ssh_result.os_release }}
Architecture
{{ ssh_result.architecture }}
uname
{{ ssh_result.uname }}
{% else %}
SSH CONNECTION FAILED
Server
{{ ssh_result.server_name }}
IP
{{ ssh_result.ip_address or "—" }}
{% if ssh_result.transport %}
Transport
{{ ssh_result.transport }}
{% endif %}
Error
{{ ssh_result.error }}
{% endif %}