appansible

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package appansible contains app specific ansible code

Index

Constants

This section is empty.

Variables

View Source
var PlaybookPath = "ansible"

Functions

This section is empty.

Types

type IOConfig

type IOConfig struct {
	RunName string
	RunDir  string

	LoggerConfig *ansible.LoggerConfig
	CloseFiles   func()
}

func NewIOConfig

func NewIOConfig(runName string, runOptions RunOptions) (*IOConfig, error)

type Playbook

type Playbook struct {
	Name      string
	Inventory string

	PlaybookOptions *ansible.PlaybookOptions
}

func NewPlaybook

func NewPlaybook(name, inventory string, playbookOptions *ansible.PlaybookOptions) *Playbook

func (*Playbook) Filename

func (p *Playbook) Filename() string

func (*Playbook) Run

func (p *Playbook) Run(runOptions RunOptions) error

type RunOptions

type RunOptions struct {
	Out           io.Writer
	ErrOut        io.Writer
	RunsDirectory string
	Verbosity     logging.Verbosity
}

Jump to

Keyboard shortcuts

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