diff --git a/tests/playbook.yml b/tests/playbook.yml
index 3b01e04384987d038c5854c63c6079c99d42dfd7..c036ee9ff7cd66ffde35180596f4b5a4c96d8998 100644
--- a/tests/playbook.yml
+++ b/tests/playbook.yml
@@ -16,6 +16,18 @@
         args:
             creates: files/id_rsa
 
+      - name: Install SSH server
+        when: ansible_pkg_mgr == 'apt'
+        apt:
+            name: openssh-server
+            state: present
+
+      - name: Start SSH service
+        when: ansible_pkg_mgr == 'apt'
+        service:
+            name: ssh
+            state: started
+
 - hosts: all
   strategy: free
   roles: