This commit is contained in:
@@ -18,6 +18,7 @@ type InventoryHost struct {
|
||||
Password string
|
||||
DeployType string
|
||||
Token string
|
||||
GRPCURL string
|
||||
}
|
||||
|
||||
// Inventory represents an Ansible inventory file
|
||||
@@ -32,6 +33,7 @@ const inventoryTemplateText = `{{ range .Hosts }}
|
||||
deploy_type={{ .DeployType }}
|
||||
agent_token={{ .Token }}
|
||||
agent_label={{ .Name }}
|
||||
grpc_url={{ .GRPCURL }}
|
||||
|
||||
{{ end }}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user