diff --git a/lib/ansible/modules/utilities/logic/import_tasks.py b/lib/ansible/modules/utilities/logic/import_tasks.py index d7770eb1fc6..25aa51fffbc 100644 --- a/lib/ansible/modules/utilities/logic/import_tasks.py +++ b/lib/ansible/modules/utilities/logic/import_tasks.py @@ -49,7 +49,7 @@ EXAMPLES = """ - debug: msg: task1 - - include: stuff.yml" + - import_tasks: stuff.yml when: hostvar is defined """