Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Commit 9bbcbe1

Browse files
committed
feat: plugin settings in CLI config
1 parent aea5b13 commit 9bbcbe1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ansible/inventory.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ func CreateInventoryFile(ipAddress string, projectDefinitionFile string) (string
105105
conf.All.Hosts.Mackerel.Stackhead.Applications = append(conf.All.Hosts.Mackerel.Stackhead.Applications, projectDefinitionFilePath)
106106
}
107107

108-
conf.All.Vars.StackHeadConfigSetup = viper.GetStringMap("modules.config.setup")
109-
conf.All.Vars.StackHeadConfigDeployment = viper.GetStringMap("modules.config.deployment")
110-
conf.All.Vars.StackHeadConfigDestroy = viper.GetStringMap("modules.config.destroy")
108+
conf.All.Vars.StackHeadConfigSetup = viper.GetStringMap("config.setup")
109+
conf.All.Vars.StackHeadConfigDeployment = viper.GetStringMap("config.deployment")
110+
conf.All.Vars.StackHeadConfigDestroy = viper.GetStringMap("config.destroy")
111111

112112
d, err := yaml.Marshal(&conf)
113113
if err != nil {

0 commit comments

Comments
 (0)