From bf1046e970ac3942c455e8e6c3eb43391726fac4 Mon Sep 17 00:00:00 2001 From: twiggy Date: Mon, 8 Mar 2021 11:29:33 -0600 Subject: [PATCH] Wrap more than one extra var in quotes. When multiple extra vars are passed the list of vars must be wrapped in "s. At least with ansible-local it will not parse correctly leading to an error stating the second extra var is a playbook file that cannot be found. --- website/content/docs/provisioners/ansible.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/provisioners/ansible.mdx b/website/content/docs/provisioners/ansible.mdx index 2bffbf775..d6c093e27 100644 --- a/website/content/docs/provisioners/ansible.mdx +++ b/website/content/docs/provisioners/ansible.mdx @@ -442,7 +442,7 @@ Platform: "--connection", "packer", "--extra-vars", - "ansible_shell_type=powershell ansible_shell_executable=None" + "\"ansible_shell_type=powershell ansible_shell_executable=None\"" ] } ],