Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnsiblePlaybookErrorCodeGeneralError AnsiblePlaybookErrorCodeGeneralError = 1 // AnsiblePlaybookErrorCodeOneOrMoreHostFailed AnsiblePlaybookErrorCodeOneOrMoreHostFailed = 2 // AnsiblePlaybookErrorCodeOneOrMoreHostUnreachable AnsiblePlaybookErrorCodeOneOrMoreHostUnreachable = 3 // AnsiblePlaybookErrorCodeParserError AnsiblePlaybookErrorCodeParserError = 4 // AnsiblePlaybookErrorCodeBadOrIncompleteOptions AnsiblePlaybookErrorCodeBadOrIncompleteOptions = 5 // AnsiblePlaybookErrorCodeUserInterruptedExecution AnsiblePlaybookErrorCodeUserInterruptedExecution = 99 // AnsiblePlaybookErrorCodeUnexpectedError AnsiblePlaybookErrorCodeUnexpectedError = 250 // AnsiblePlaybookErrorMessageGeneralError AnsiblePlaybookErrorMessageGeneralError = "ansible-playbook error: general error" // AnsiblePlaybookErrorMessageOneOrMoreHostFailed AnsiblePlaybookErrorMessageOneOrMoreHostFailed = "ansible-playbook error: one or more host failed" // AnsiblePlaybookErrorMessageOneOrMoreHostUnreachable AnsiblePlaybookErrorMessageOneOrMoreHostUnreachable = "ansible-playbook error: one or more host unreachable" // AnsiblePlaybookErrorMessageParserError AnsiblePlaybookErrorMessageParserError = "ansible-playbook error: parser error" // AnsiblePlaybookErrorMessageBadOrIncompleteOptions AnsiblePlaybookErrorMessageBadOrIncompleteOptions = "ansible-playbook error: bad or incomplete options" // AnsiblePlaybookErrorMessageUserInterruptedExecution AnsiblePlaybookErrorMessageUserInterruptedExecution = "ansible-playbook error: user interrupted execution" // AnsiblePlaybookErrorMessageUnexpectedError AnsiblePlaybookErrorMessageUnexpectedError = "ansible-playbook error: unexpected error" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultExecute ¶
type DefaultExecute struct { Write io.Writer ResultsFunc stdoutcallback.StdoutCallbackResultsFunc ShowDuration bool }
DefaultExecute is a simple definition of an executor
Click to show internal directories.
Click to hide internal directories.