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

View File

@@ -1,5 +1,5 @@
---
- name: Restart sshd
- name: Restart ssh service
ansible.builtin.systemd_service:
name: sshd.service
name: "{{ _ssh_service_name }}"
state: restarted