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:
parent
de50cadb5c
commit
bf1046e970
|
@ -442,7 +442,7 @@ Platform:
|
||||||
"--connection",
|
"--connection",
|
||||||
"packer",
|
"packer",
|
||||||
"--extra-vars",
|
"--extra-vars",
|
||||||
"ansible_shell_type=powershell ansible_shell_executable=None"
|
"\"ansible_shell_type=powershell ansible_shell_executable=None\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue