mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix small typo
While reading one of the docs I found this small typo.
This commit is contained in:
parent
9e27f62785
commit
2f411557f5
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ Loops and Includes
|
|||
``````````````````
|
||||
|
||||
In 2.0 you are able to use `with_` loops and task includes (but not playbook includes), this adds the ability to loop over the set of tasks in one shot.
|
||||
There are a couple of things that you need to keep in mind, a included task that has it's own `with_` loop will overwrite the value of the special `item` variable.
|
||||
There are a couple of things that you need to keep in mind, a included task that has its own `with_` loop will overwrite the value of the special `item` variable.
|
||||
So if you want access to both the include's `item` and the current task's `item` you should use `set_fact` to create a alias to the outer one.::
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue