ssh: Ensure ssh enabled, use ssh.service unit on debian
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: Restart sshd
|
||||
- name: Restart ssh service
|
||||
ansible.builtin.systemd_service:
|
||||
name: sshd.service
|
||||
name: "{{ _ssh_service_name }}"
|
||||
state: restarted
|
||||
|
||||
Reference in New Issue
Block a user