]> 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 264fd314a50a8545dc730f2d868d32eb0c9ddaf1..b7beb0a35cb92686f4f9aa6a7163800ece47f352 100644 (file)
@@ -1,5 +1,5 @@
 - name: Reload sshd
   become: true
   service:
-    name: "ssh{{ ansible_facts.distribution != 'Debian' and 'd' or '' }}"
+    name: "ssh{{ ansible_facts.os_family == 'RedHat' and 'd' or '' }}"
     state: reloaded