Merge pull request #6418 from bcoca/template_itnore_errors

templates ignore_errors
pull/6479/merge
Michael DeHaan 11 years ago
commit a9896afc66

@ -402,6 +402,10 @@ class PlayBook(object):
ansible.callbacks.set_task(self.runner_callbacks, None)
return True
# template ignore_errors
cond = template(play.basedir, task.ignore_errors, task.module_vars, expand_lists=False)
task.ignore_errors = utils.check_conditional(cond , play.basedir, task.module_vars, fail_on_undefined=C.DEFAULT_UNDEFINED_VAR_BEHAVIOR)
# load up an appropriate ansible runner to run the task in parallel
results = self._run_task_internal(task)

Loading…
Cancel
Save