From 97a60c1e86eebaef3b28dbb84e62fd6d790619fe Mon Sep 17 00:00:00 2001 From: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:06:53 -0400 Subject: [PATCH] Fix csvfile test - quote file argument (#83751) file was intended to be a string, not an undefined variable --- test/integration/targets/lookup_csvfile/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/lookup_csvfile/tasks/main.yml b/test/integration/targets/lookup_csvfile/tasks/main.yml index f01f06a818a..bc330e73771 100644 --- a/test/integration/targets/lookup_csvfile/tasks/main.yml +++ b/test/integration/targets/lookup_csvfile/tasks/main.yml @@ -6,7 +6,7 @@ - name: using modern syntax but missing keyword set_fact: - this_will_error: "{{ lookup('csvfile', file=people.csv, delimiter=' ', col=1) }}" + this_will_error: "{{ lookup('csvfile', file='people.csv', delimiter=' ', col=1) }}" ignore_errors: yes register: modern_no_keyword