list¶
Collection Note
This module is part of the ansible.builtin collection. To install the collection, use:
Added in version2.0.
Synopsis¶
- this is mostly a noop, to be used as a with_list loop when you dont want the content transformed in any way.
Examples¶
- name: unlike with_items you will get 3 items from this loop, the 2nd one being a list
ansible.builtin.debug: var=item
with_list:
- 1
- [2,3]
- 4
Return Values¶
| Key | Data Type | Description | Returned |
|---|---|---|---|
| _list | list | basically the same as you fed in |
Authors¶
- Ansible Core Team