ansible

package
v0.14.9 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallViaPip

func InstallViaPip(options *InstallOptions) error

func Module

func Module(options *Options, ansibleArgs []string) error

Module ansible playbook

func PlaybookRun

func PlaybookRun(options *Options, ansibleArgs []string) error

PlaybookRun ansible playbook

Types

type InstallOptions

type InstallOptions struct {
	RequirementsTXT string
	VirtualEnv      string
	Path            string
}

Options for installing ansible

type ModuleOptions

type ModuleOptions struct {
	ModuleHosts string
	Module      string
	ModulePath  string
	ModuleArgs  string
}

ModuleOptions for running ansible

type Options

type Options struct {
	SSHConfigFile   string
	SSHForwardAgent bool
	Provisioner     string
	Environment     string
	Inventory       string
	KnownHostsFile  string
	ModuleOptions
	PlaybookOptions
}

Options for running ansible

type PlaybookOptions

type PlaybookOptions struct {
}

PlaybookOptions for running ansible

Jump to

Keyboard shortcuts

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