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.
This commit is contained in:
twiggy 2021-03-08 11:29:33 -06:00 committed by GitHub
parent de50cadb5c
commit bf1046e970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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