Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnsibleGalaxyPath ¶
func GetAnsiblePath ¶
func GetAnsiblePlaybookPath ¶
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)
Click to show internal directories.
Click to hide internal directories.