From 2440861b1b039a8a44aade3dcee99c3fd406d52f Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sun, 5 May 2013 11:05:32 -0500 Subject: [PATCH] BUGFIX - --start-at-task= works only with --step From issue #2820, --start-at-task does not actually run tasks unless --step is specified. This appears to be because skip_task is being evaluated as True in PlayBook._run_task(). This patch ensures skip_task is set to False in the callback. --- lib/ansible/callbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/callbacks.py b/lib/ansible/callbacks.py index 1b03d8ef97..e00e231536 100644 --- a/lib/ansible/callbacks.py +++ b/lib/ansible/callbacks.py @@ -554,6 +554,7 @@ class PlaybookCallbacks(object): else: self.skip_task = True else: + self.skip_task = False display(banner(msg)) call_callback_module('playbook_on_task_start', name, is_conditional)