You can control the info displayed by loops using the loop_control
attribute for your task.
- name: A looped task with controlled label
command: /bin/true
loop: "{{ some_list }}"
loop_control:
label: "Whatever you like, references to {{ item.some_attribute }} possible"
Check the above documentation link for more examples.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…