|
|
|
@ -75,6 +75,8 @@ def main(args):
|
|
|
|
|
help="do list all tasks that would be executed")
|
|
|
|
|
parser.add_option('--step', dest='step', action='store_true',
|
|
|
|
|
help="one-step-at-a-time: confirm each task before running")
|
|
|
|
|
parser.add_option('--start-at-task', dest='start_at',
|
|
|
|
|
help="start the playbook with a task matching this name")
|
|
|
|
|
|
|
|
|
|
options, args = parser.parse_args(args)
|
|
|
|
|
|
|
|
|
@ -116,6 +118,8 @@ def main(args):
|
|
|
|
|
playbook_cb = callbacks.PlaybookCallbacks(verbose=utils.VERBOSITY)
|
|
|
|
|
if options.step:
|
|
|
|
|
playbook_cb.step = options.step
|
|
|
|
|
if options.start_at:
|
|
|
|
|
playbook_cb.start_at = options.start_at
|
|
|
|
|
runner_cb = callbacks.PlaybookRunnerCallbacks(stats, verbose=utils.VERBOSITY)
|
|
|
|
|
|
|
|
|
|
pb = ansible.playbook.PlayBook(
|
|
|
|
|