Versions in this module Expand all Collapse all v1 v1.5.111 Sep 22, 2022 Changes in this version + const AskVaultPasswordFlag + const CheckFlag + const DefaultAnsiblePlaybookBinary + const DiffFlag + const ExtraVarsFlag + const FlushCacheFlag + const ForceHandlersFlag + const ForksFlag + const InventoryFlag + const LimitFlag + const ListHostsFlag + const ListTagsFlag + const ListTasksFlag + const ModulePathFlag + const SkipTagsFlag + const StartAtTaskFlag + const StepFlag + const SyntaxCheckFlag + const TagsFlag + const VaultIDFlag + const VaultPasswordFileFlag + const VerboseFlag + const VersionFlag + type AnsiblePlaybookCmd struct + Binary string + ConnectionOptions *options.AnsibleConnectionOptions + Exec execute.Executor + Options *AnsiblePlaybookOptions + Playbooks []string + PrivilegeEscalationOptions *options.AnsiblePrivilegeEscalationOptions + StdoutCallback string + func (p *AnsiblePlaybookCmd) Command() ([]string, error) + func (p *AnsiblePlaybookCmd) Run(ctx context.Context) error + func (p *AnsiblePlaybookCmd) String() string + type AnsiblePlaybookOptions struct + AskVaultPassword bool + Check bool + Diff bool + ExtraVars map[string]interface{} + ExtraVarsFile []string + FlushCache bool + ForceHandlers bool + Forks string + Inventory string + Limit string + ListHosts bool + ListTags bool + ListTasks bool + ModulePath string + SkipTags string + StartAtTask string + Step bool + SyntaxCheck bool + Tags string + VaultID string + VaultPasswordFile string + Verbose bool + Version bool + func (o *AnsiblePlaybookOptions) AddExtraVar(name string, value interface{}) error + func (o *AnsiblePlaybookOptions) AddExtraVarsFile(file string) error + func (o *AnsiblePlaybookOptions) GenerateCommandOptions() ([]string, error) + func (o *AnsiblePlaybookOptions) String() string + type AnsiblePlaybookOptionsFunc func(*AnsiblePlaybookCmd)