provisioners/ansible_local: Use quotes for path checking
Without this fix, the ansible_local provisioner fails to check the existence of a filesystem path that contains a blank/space character.
This commit is contained in:
parent
432f79339c
commit
d56cf55a89
|
@ -156,7 +156,7 @@ module VagrantPlugins
|
|||
# and error if it doesn't exist.
|
||||
|
||||
remote_path = Helpers::expand_path_in_unix_style(path, config.provisioning_path)
|
||||
command = "test #{test_args} #{remote_path}"
|
||||
command = "test #{test_args} '#{remote_path}'"
|
||||
|
||||
@machine.communicate.execute(
|
||||
command,
|
||||
|
|
Loading…
Reference in New Issue