[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
|
enabled: true
|
||||||
state: "restarted"
|
state: "restarted"
|
||||||
|
|
||||||
# sshd
|
# ssh
|
||||||
- name: "restart sshd"
|
- name: "restart ssh"
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
name: "sshd.service"
|
name: "ssh.service"
|
||||||
state: "restarted"
|
state: "restarted"
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue