From 85b9733c1a11e431a268fe30e51ad58858de6d32 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 12 Dec 2016 00:28:12 +0200
Subject: [PATCH] - Move pre_tasks to a seperate play because run_once is
 currently not supported with the free strategy.

# Conflicts:
#	tests/playbook.yml
---
 tests/playbook.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/playbook.yml b/tests/playbook.yml
index 57e3a41..aec7729 100644
--- a/tests/playbook.yml
+++ b/tests/playbook.yml
@@ -8,13 +8,16 @@
   roles: [adarnimrod.debian-bootstrap]
 
 - hosts: all
-  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
-- 
GitLab