diff --git a/provisioner/ansible/provisioner.hcl2spec.go b/provisioner/ansible/provisioner.hcl2spec.go index e0b808af9..b0e5dd0d4 100644 --- a/provisioner/ansible/provisioner.hcl2spec.go +++ b/provisioner/ansible/provisioner.hcl2spec.go @@ -32,6 +32,7 @@ type FlatConfig struct { UseSFTP *bool `mapstructure:"use_sftp" cty:"use_sftp"` InventoryDirectory *string `mapstructure:"inventory_directory" cty:"inventory_directory"` InventoryFile *string `mapstructure:"inventory_file" cty:"inventory_file"` + KeepInventoryFile *bool `mapstructure:"keep_inventory_file" cty:"keep_inventory_file"` GalaxyFile *string `mapstructure:"galaxy_file" cty:"galaxy_file"` GalaxyCommand *string `mapstructure:"galaxy_command" cty:"galaxy_command"` GalaxyForceInstall *bool `mapstructure:"galaxy_force_install" cty:"galaxy_force_install"` @@ -74,6 +75,7 @@ func (*FlatConfig) HCL2Spec() map[string]hcldec.Spec { "use_sftp": &hcldec.AttrSpec{Name: "use_sftp", Type: cty.Bool, Required: false}, "inventory_directory": &hcldec.AttrSpec{Name: "inventory_directory", Type: cty.String, Required: false}, "inventory_file": &hcldec.AttrSpec{Name: "inventory_file", Type: cty.String, Required: false}, + "keep_inventory_file": &hcldec.AttrSpec{Name: "keep_inventory_file", Type: cty.Bool, Required: false}, "galaxy_file": &hcldec.AttrSpec{Name: "galaxy_file", Type: cty.String, Required: false}, "galaxy_command": &hcldec.AttrSpec{Name: "galaxy_command", Type: cty.String, Required: false}, "galaxy_force_install": &hcldec.AttrSpec{Name: "galaxy_force_install", Type: cty.Bool, Required: false},