From f56ddc980533311612129ce018a3e1459376bb38 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Thu, 16 Jul 2015 16:24:44 +0200 Subject: [PATCH] Add files to test vhosts --- tests/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test.yml b/tests/test.yml index 6533a4c..a9adb85 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -8,7 +8,7 @@ - lineinfile: dest=/etc/hosts line="127.0.2.2 {{ nginx_vhosts|map(attribute='name')| join(' ') }}" vars: nginx_php: true - nginx_php_unix_sockets: + nginx_php_sockets: - unix_socket: "/var/run/php5-fpm.sock" nginx_vhosts: - name: 'test.local' @@ -25,6 +25,10 @@ roles: - ../../ post_tasks: + - name: -- Add PHP file -- + copy: dest=/var/www/test-php.local/public/index.php content="