provisioners/ansible: convert extra vars to strings [GH-2244]
This commit is contained in:
parent
d725e0e657
commit
36bd52713b
|
@ -15,6 +15,7 @@ BUG FIXES:
|
||||||
- guests/linux: Don't raise exception right away if mounting fails, allow
|
- guests/linux: Don't raise exception right away if mounting fails, allow
|
||||||
retries. [GH-2234]
|
retries. [GH-2234]
|
||||||
- hosts/arch: Vagrant won't crash on Arch anymore. [GH-2233]
|
- hosts/arch: Vagrant won't crash on Arch anymore. [GH-2233]
|
||||||
|
- provisioners/ansibe: Extra vars are converted to strings. [GH-2244]
|
||||||
- provisioners/puppet: Work with restrictive umask. [GH-2241]
|
- provisioners/puppet: Work with restrictive umask. [GH-2241]
|
||||||
|
|
||||||
## 1.3.3 (September 18, 2013)
|
## 1.3.3 (September 18, 2013)
|
||||||
|
|
|
@ -47,6 +47,12 @@ module VagrantPlugins
|
||||||
@start_at_task = nil if @start_at_task == UNSET_VALUE
|
@start_at_task = nil if @start_at_task == UNSET_VALUE
|
||||||
@raw_arguments = nil if @raw_arguments == UNSET_VALUE
|
@raw_arguments = nil if @raw_arguments == UNSET_VALUE
|
||||||
@host_key_checking = nil if @host_key_checking == UNSET_VALUE
|
@host_key_checking = nil if @host_key_checking == UNSET_VALUE
|
||||||
|
|
||||||
|
if @extra_vars && @extra_vars.is_a?(Hash)
|
||||||
|
@extra_vars.each do |k, v|
|
||||||
|
@extra_vars[k] = v.to_s
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def validate(machine)
|
def validate(machine)
|
||||||
|
|
Loading…
Reference in New Issue