diff --git a/lib/ansible/modules/utilities/logic/import_tasks.py b/lib/ansible/modules/utilities/logic/import_tasks.py index d7770eb1fc..25aa51fffb 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 """