Restore missing interpolation after merging ansible remote; fixes #3138

This commit is contained in:
Chris Bednarski 2016-02-01 13:28:49 -08:00
parent 314aad379a
commit 1f6749096a
1 changed files with 5 additions and 0 deletions

View File

@ -78,6 +78,11 @@ func (p *Provisioner) Prepare(raws ...interface{}) error {
err := config.Decode(&p.config, &config.DecodeOpts{
Interpolate: true,
InterpolateContext: &p.config.ctx,
InterpolateFilter: &interpolate.RenderFilter{
Exclude: []string{
"execute_command",
},
},
}, raws...)
if err != nil {
return err