Fix SSH service name (sshd->ssh), add Include directive to sshd_config template

This commit is contained in:
2026-02-02 13:16:33 -06:00
parent c9a5f95886
commit 9607dc167b
5 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
---
- name: Restart sshd
ansible.builtin.systemd:
name: sshd
name: ssh
state: restarted
+1 -1
View File
@@ -40,7 +40,7 @@
- name: Ensure SSH is running
ansible.builtin.systemd:
name: sshd
name: ssh
state: started
enabled: true
tags: [common, ssh]
+1
View File
@@ -1,4 +1,5 @@
# Managed by Ansible - do not edit manually
Include /etc/ssh/sshd_config.d/*.conf
Port {{ sshd_port }}
AddressFamily any
ListenAddress 0.0.0.0