loop_control ergänzt um sprechenden Output zu erzeugen
@@ -11,11 +11,6 @@
loop_control:
label: "{{ item }}"
- - debug:
- var: {{ item }}
- with_items:
- - "{{ zones }}"
-
- blockinfile:
path: "/opt/semaphore/hosts/{{ item.item }}"
block: |
@@ -23,4 +18,5 @@
create: yes
with_items: "{{ zones_output.results }}"
delegate_to: localhost
+ loop_control:
+ label: "{{ item.stdout_lines }}"