From dc112a03dd0712a277b68569c3a0de166baa9a4f Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Fri, 1 Dec 2017 11:58:31 +0100 Subject: [PATCH] Small correction to import_role documentation (#33285) * Small correction to import_role documentation * Correct line length - pep8, E501 --- lib/ansible/modules/utilities/logic/import_role.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/utilities/logic/import_role.py b/lib/ansible/modules/utilities/logic/import_role.py index b123f4416b4..99df1f5882e 100644 --- a/lib/ansible/modules/utilities/logic/import_role.py +++ b/lib/ansible/modules/utilities/logic/import_role.py @@ -23,7 +23,8 @@ description: - Much like the `roles:` keyword, this task loads a role, but it allows you to control it when the role tasks run in between other tasks of the play. - Most keywords, loops and conditionals will only be applied to the imported tasks, not to this statement itself. If - you want the opposite behaviour, use M(include_role) instead. + you want the opposite behavior, use M(include_role) instead. To better understand the difference you can read + U(https://docs.ansible.com/ansible/latest/playbooks_reuse_includes.html). version_added: "2.4" options: name: @@ -63,7 +64,7 @@ EXAMPLES = """ - hosts: all tasks: - import_role: - name: myrole + name: myrole - name: Run tasks/other.yaml instead of 'main' import_role: