From 1f6749096ad0b3d260cdde7af3730ad3cd5b655b Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Mon, 1 Feb 2016 13:28:49 -0800 Subject: [PATCH] Restore missing interpolation after merging ansible remote; fixes #3138 --- provisioner/shell/provisioner.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/provisioner/shell/provisioner.go b/provisioner/shell/provisioner.go index 583f598a4..78826b638 100644 --- a/provisioner/shell/provisioner.go +++ b/provisioner/shell/provisioner.go @@ -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