provisioners/ansible: request SSH info within provisoin [GH-3111]

This commit is contained in:
Mitchell Hashimoto 2014-03-11 09:03:23 -07:00
parent 0f70ce7e46
commit 5a3a501455
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,8 @@ BUG FIXES:
- core: Upgrading the home directory for Vagrant 1.5 uses the Vagrant
temp dir. [GH-3095]
- core: Assume a box isn't metadata if it exceeds 20 MB. [GH-3107]
- provisioners/ansible: Request SSH info within the provision method,
when we know its available. [GH-3111]
## 1.5.0 (March 10, 2014)

View File

@ -6,10 +6,10 @@ module VagrantPlugins
super
@logger = Log4r::Logger.new("vagrant::provisioners::ansible")
@ssh_info = @machine.ssh_info
end
def provision
@ssh_info = @machine.ssh_info
#
# 1) Default Settings (lowest precedence)