diff --git a/tests/playbook.yml b/tests/playbook.yml
index d50e67187cc08e953aa74f5f9d614781a231629d..aec7729a9062d855ae3174e807d6152f6c7ebfa3 100644
--- a/tests/playbook.yml
+++ b/tests/playbook.yml
@@ -8,14 +8,16 @@
   roles: [adarnimrod.debian-bootstrap]
 
 - hosts: all
-  strategy: free
-  pre_tasks:
+  tasks:
       - name: Create SSH keypair
         become: False
         local_action: command ssh-keygen -t rsa -N '' -f files/id_rsa
         run_once: True
         args:
             creates: files/id_rsa
+
+- hosts: all
+  strategy: free
   roles:
     - role: adarnimrod.nginx
     - role: pelican-gitreceive