executor

package
v0.8.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(playbookPath string, extraVars map[string]any, ctx context.Context) (resultChan <-chan TaskResult)

func WriteNodePlay

func WriteNodePlay(nodeDir, nodeName string, play []byte, bootstrap bool) (err error)

Types

type TaskResult

type TaskResult struct {
	Err     error  `json:"error"`
	Name    string `json:"task_name"`
	Status  string `json:"status"`
	Message string `json:"message"`
	Command string `json:"command"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL