Initial qwen3 run with opencode
This commit is contained in:
21
loops.md
Normal file
21
loops.md
Normal file
@@ -0,0 +1,21 @@
|
||||
## Loops
|
||||
|
||||
Iterate over lists or dictionaries:
|
||||
|
||||
```yaml
|
||||
tasks:
|
||||
- name: Print items
|
||||
debug:
|
||||
msg: "Item: {{ item }}"
|
||||
loop:
|
||||
- item1
|
||||
- item2
|
||||
- item3
|
||||
|
||||
- name: Iterate over dictionary
|
||||
debug:
|
||||
msg: "Key: {{ item.key }}, Value: {{ item.value }}"
|
||||
loop:
|
||||
- key: value1
|
||||
- key: value2
|
||||
```
|
||||
Reference in New Issue
Block a user