From b713f1ca538b3a3cc9e6713594d570d19dd5db22 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 8bb13b4502..d509093730 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