diff --git a/installer/install/tpot.yml b/installer/install/tpot.yml
index 0113ac31..5351dd87 100644
--- a/installer/install/tpot.yml
+++ b/installer/install/tpot.yml
@@ -302,7 +302,7 @@
 
     - name: Restart SSH
       service:
-        name: "{{ 'sshd' if ansible_distribution == 'Debian|Fedora|openSUSE Tumbleweed' else 'ssh' }}"
+        name: "{{ 'sshd' if ansible_distribution in ['Debian', 'Fedora', 'openSUSE Tumbleweed'] else 'ssh' }}"
         state: restarted
         enabled: true
       when: ansible_distribution in ["Debian", "Fedora", "openSUSE Tumbleweed", "Ubuntu"]