]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/sshd/handlers/main.yml
Feat(remove-systemd) Split `remove-systemd` as a separate plabook
[ansible.git] / playbooks / roles / sshd / handlers / main.yml
index 9ec20b584553bfd0ed1c37d8223f2d4a41e042d8..b7beb0a35cb92686f4f9aa6a7163800ece47f352 100644 (file)
@@ -1,5 +1,5 @@
 - name: Reload sshd
   become: true
   service:
-    name: ssh
+    name: "ssh{{ ansible_facts.os_family == 'RedHat' and 'd' or '' }}"
     state: reloaded