mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Small correction to import_role documentation (#33285)
* Small correction to import_role documentation * Correct line length - pep8, E501
This commit is contained in:
parent
4c29396217
commit
dc112a03dd
1 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue