[ssh] feat: use actual ssh service name, not the symlink of sshd
This commit is contained in:
parent
192313804c
commit
8cf3eceead
1 changed files with 3 additions and 3 deletions
|
|
@ -48,9 +48,9 @@
|
|||
enabled: true
|
||||
state: "restarted"
|
||||
|
||||
# sshd
|
||||
- name: "restart sshd"
|
||||
# ssh
|
||||
- name: "restart ssh"
|
||||
ansible.builtin.systemd:
|
||||
name: "sshd.service"
|
||||
name: "ssh.service"
|
||||
state: "restarted"
|
||||
enabled: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue