fix: cicd

This commit is contained in:
Benjamin Labrecque
2026-07-15 13:38:36 +02:00
parent 29b6eeb1df
commit 5b9eebb213
2 changed files with 12 additions and 0 deletions
@@ -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