diff --git a/lib/ansible/playbook/helpers.py b/lib/ansible/playbook/helpers.py index 2cdc26a165..e3e502341b 100644 --- a/lib/ansible/playbook/helpers.py +++ b/lib/ansible/playbook/helpers.py @@ -139,7 +139,7 @@ def load_list_of_tasks(ds, play, block=None, role=None, task_include=None, use_h is_static = True elif t.static is not None: display.deprecated("The use of 'static' has been deprecated. " - "Use 'import_role' for static inclusion, or 'include_role' for dynamic inclusion") + "Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion") is_static = t.static else: is_static = C.DEFAULT_TASK_INCLUDES_STATIC or \