From 94afe2f0dee7392f842d2e153b054a1752594182 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 5 Feb 2016 10:35:50 -0500 Subject: [PATCH] Fix for copy test as ansible_ssh_user is not set by default now --- test/integration/roles/test_copy/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_copy/tasks/main.yml b/test/integration/roles/test_copy/tasks/main.yml index 8bb13b45022..d509093730e 100644 --- a/test/integration/roles/test_copy/tasks/main.yml +++ b/test/integration/roles/test_copy/tasks/main.yml @@ -166,7 +166,7 @@ # register: failed_copy - name: copy already copied directory again - copy: src=subdir dest={{output_subdir | expanduser}} owner={{ansible_ssh_user}} + copy: src=subdir dest={{output_subdir | expanduser}} owner={{ansible_ssh_user|default(omit)}} register: copy_result5 - name: assert that the directory was not changed