feat: Create role

This commit is contained in:
2025-04-11 13:47:58 +02:00
committed by pulsar
parent d7fd830a52
commit 4d321f490a
7 changed files with 85 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
# {{ ansible_managed }}
Port {{ ssh_listen_port }}
+10
View File
@@ -0,0 +1,10 @@
# {{ ansible_managed }}
PermitRootLogin {{ ssh_permit_root_login }}
PasswordAuthentication no
PermitEmptyPasswords no
LoginGraceTime 30
{{ 'DebianBanner no' if (ansible_facts['distribution'] | lower) == 'debian' }}
X11Forwarding no
StrictModes yes