fix: disable PrintMotd only on RHEL 8+
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-09-19 09:55:08 +02:00
parent ed5821e9d5
commit cbf5bcaff3
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -121,7 +121,9 @@ X11Forwarding {{ sshd_x11_forwarding }}
#X11DisplayOffset 10
#X11UseLocalhost yes
#PermitTTY yes
{% if ansible_distribution_major_version is version('7', '>') %}
PrintMotd no
{% endif %}
#PrintLastLog no
TCPKeepAlive {{ sshd_tcp_keep_alive }}
#UseLogin no