Browse Source
CI: more readable loop
Avoids putting whole pod spec in loop label
pull/12295/head
Max Gautier
3 months ago
Failed to extract signature
1 changed files with
2 additions and
0 deletions
-
tests/testcases/030_check-network.yml
|
|
@ -107,6 +107,8 @@ |
|
|
|
with_nested: |
|
|
|
- "{{ pods }}" |
|
|
|
- "{{ pods }}" |
|
|
|
loop_control: |
|
|
|
label: "{{ item[0].metadata.name + ' --> ' + item[1].metadata.name }}" |
|
|
|
rescue: |
|
|
|
- name: List pods cluster-wide |
|
|
|
command: "{{ bin_dir }}/kubectl get pods --all-namespaces -owide" |
|
|
|