Skip to content

Commit abd2896

Browse files
author
matclab
committed
Do not use PrintLastLog for Archlinux
1 parent 61c7c9a commit abd2896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ssh_hardening/templates/opensshd.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ UseDNS {{ 'yes' if (ssh_use_dns|bool) else 'no' }}
253253

254254
PrintMotd {{ 'yes' if (ssh_print_motd|bool) else 'no' }}
255255

256-
{% if ansible_facts.os_family != 'FreeBSD' %}
256+
{% if ansible_facts.os_family not in ('FreeBSD','Archlinux') %}
257257
PrintLastLog {{ 'yes' if (ssh_print_last_log|bool) else 'no' }}
258258
{% endif %}
259259

0 commit comments

Comments
 (0)