ssh: Ensure ssh enabled, use ssh.service unit on debian

This commit is contained in:
uumas
2026-08-02 00:10:15 +03:00
parent a1e6c03827
commit 1afc3338b1
3 changed files with 10 additions and 3 deletions

2
roles/ssh/vars/main.yaml Normal file
View File

@@ -0,0 +1,2 @@
---
_ssh_service_name: "{{ 'ssh.service' if ansible_facts.os_family == 'Debian' else 'sshd.service' }}"