fix ssh handler

This commit is contained in:
2026-03-19 16:53:45 -05:00
parent 40ab77f061
commit 9ad585681f

View File

@@ -1,7 +1,6 @@
# ------------------------------------------------------------------------------
# FILE: roles/common/handlers/main.yml
# ------------------------------------------------------------------------------
- name: restart chrony
systemd:
name: chrony
@@ -9,5 +8,5 @@
- name: restart sshd
systemd:
name: sshd
name: "{{ 'ssh' if ansible_os_family == 'Debian' else 'sshd' }}"
state: restarted