blob: b3a374821e7531a5c4125034d945eaa52c8433e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
---
# https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#with-flattened
- hosts: localhost
tasks:
- ansible.builtin.debug:
msg: "{{ item }}"
with_list: [] # <-- valid
- ansible.builtin.debug:
msg: "{{ item }}"
with_items: [] # <-- valid
- ansible.builtin.debug:
msg: "{{ item }}"
with_indexed_items: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_together: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_dict: {}
- ansible.builtin.debug:
msg: "{{ item }}"
with_sequence: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_subelements: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_nested: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_random_choice: []
- ansible.builtin.debug:
msg: "{{ item }}"
with_fileglob: []
|