playbook

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Playbook

type Playbook struct {
	Config *config.Config
	Raw    map[string]interface{}
}

func New

func New(baseConfig *config.BaseConfig, target *target.Target, skipEval bool, skipClusterInv bool) (*Playbook, error)

New creates a Playbook for one specific target. For a given BaseConfig, each target as an individual list of plays, based on the groups of the target and the plays.

func (*Playbook) JSON

func (p *Playbook) JSON(raw bool) ([]byte, error)

func (*Playbook) Map

func (p *Playbook) Map(raw bool) (map[string]interface{}, error)

func (*Playbook) YAML

func (p *Playbook) YAML(raw bool) ([]byte, error)

type Set

type Set map[string]*Playbook

func NewSet

func NewSet(path string, targets *target.Targets, skipEval bool, skipClusterInv bool) (Set, error)

func NewSetFromReader

func NewSetFromReader(reader *bufio.Reader, targets *target.Targets, skipEval bool, skipClusterInv bool) (Set, error)

Directories

Path Synopsis
Package config implements the playbook config format Package config implements the playbook config format Package config implements the playbook config format Package config implements the playbook config format
Package config implements the playbook config format Package config implements the playbook config format Package config implements the playbook config format Package config implements the playbook config format

Jump to

Keyboard shortcuts

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