chore: ansible-lint

This commit is contained in:
Clément Désiles
2025-11-02 21:18:15 +01:00
parent 2c6da106b2
commit 2c421611ae
53 changed files with 390 additions and 350 deletions
+14
View File
@@ -0,0 +1,14 @@
# SSH server
## Enable authorized_keys fallback
When you encrypt your home data, you cannot allow hardened remote SSH connection.
To make this still possible, here is the trick: a fallback authorized_key file: /etc/ssh/authorized_keys/myuser
Simply enable this setting to get this working:
```
ssh_authorized_keys_fallback_enabled: true
```
And you're set.
+1
View File
@@ -1,3 +1,4 @@
---
ssh_port: 22
ssh_allowed_network: "192.168.1.0/24"
ssh_allowed_vpn_network: "192.168.27.0/27"
+1 -1
View File
@@ -17,7 +17,7 @@
- name: Enable SSH
service:
name: "{{ ssh_service_name }}"
enabled: yes
enabled: true
- name: Allow local network incoming connection
ufw:
+1
View File
@@ -1,2 +1,3 @@
---
ssh_package_name: "openssh"
ssh_service_name: "sshd"
+1
View File
@@ -1,2 +1,3 @@
---
ssh_package_name: "openssh-server"
ssh_service_name: "ssh"