diff --git a/lib/ansible/modules/utilities/logic/include_role.py b/lib/ansible/modules/utilities/logic/include_role.py index 6b9ccf265cc..cdb29738d43 100644 --- a/lib/ansible/modules/utilities/logic/include_role.py +++ b/lib/ansible/modules/utilities/logic/include_role.py @@ -58,7 +58,7 @@ EXAMPLES = """ - name: Run tasks/other.yml instead of 'main' include_role: - role: myrole + name: myrole tasks_from: other - name: Pass variables to role