ansibleparemeteroptions

package
v0.465.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAnsibleGalaxyPath

func GetAnsibleGalaxyPath(options any) (string, error)

func GetAnsiblePath

func GetAnsiblePath(options any) (string, error)

func GetAnsiblePlaybookPath

func GetAnsiblePlaybookPath(options any) (string, error)

Types

type RunOptions

type RunOptions struct {
	// Path of the playbook to execute
	PlaybookPath string

	// The Limit to a host or group used by ansible
	Limit string

	// The tags to run. If empty the --tags argument is omitted.
	Tags []string

	// The remote user to use:
	RemoteUser string

	// Local path to the root directory of the python virtualenv containing ansible.
	AnsibleVirtualenvPath string

	// Local path to the ansible inventory. If not set the Limit will be used as adhoc inventoroy
	AnsibleInventoryPath string

	// Do not delete the temprary playbook (if one is in use) to allow easier debugging.
	KeepTemporaryPlaybook bool
}

func (*RunOptions) DeepCopy

func (r *RunOptions) DeepCopy() *RunOptions

func (*RunOptions) GetLimit

func (r *RunOptions) GetLimit() (string, error)

func (*RunOptions) GetPlaybookPath

func (r *RunOptions) GetPlaybookPath() (string, error)

Jump to

Keyboard shortcuts

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