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.
pull/10738/head
twiggy 5 years ago committed by GitHub
parent de50cadb5c
commit bf1046e970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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\""
]
}
],

Loading…
Cancel
Save