fix: cicd
This commit is contained in:
@@ -22,3 +22,6 @@
|
||||
loop: "{{ changed_services_raw.split() }}"
|
||||
loop_control:
|
||||
loop_var: service_name_lower
|
||||
extended: yes
|
||||
debugger: always
|
||||
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
---
|
||||
# TODO: remove
|
||||
- name: "DEBUG: Iteration tracker"
|
||||
ansible.builtin.debug:
|
||||
msg:
|
||||
- "Current Index: {{ ansible_loop.index }}" # 1-based index (e.g., 1, 2, 3)
|
||||
- "Is First: {{ ansible_loop.first }}" # True/False
|
||||
- "Is Last: {{ ansible_loop.last }}" # True/False
|
||||
- "Total Length: {{ ansible_loop.length }}" # Total item count
|
||||
|
||||
- name: Initialize service name
|
||||
ansible.builtin.set_fact:
|
||||
# Uses preferred_service_name_lower if defined in vars, otherwise falls back to the CLI extra-vars
|
||||
|
||||
Reference in New Issue
Block a user