remove runtime msg also
parent
4dcc5588f6
commit
02a7e9fb88
|
@ -112,9 +112,6 @@ def load_list_of_tasks(ds, play, block=None, role=None, task_include=None, use_h
|
||||||
task_list.append(t)
|
task_list.append(t)
|
||||||
else:
|
else:
|
||||||
if 'include' in task_ds or 'import_tasks' in task_ds or 'include_tasks' in task_ds:
|
if 'include' in task_ds or 'import_tasks' in task_ds or 'include_tasks' in task_ds:
|
||||||
if 'include' in task_ds:
|
|
||||||
display.deprecated("The use of 'include' for tasks has been deprecated. "
|
|
||||||
"Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions")
|
|
||||||
|
|
||||||
if use_handlers:
|
if use_handlers:
|
||||||
include_class = HandlerTaskInclude
|
include_class = HandlerTaskInclude
|
||||||
|
|
Loading…
Reference in New Issue