From 5c3a8e9c9593f0ab5c909a52a82101cbc758d998 Mon Sep 17 00:00:00 2001 From: Alan Boutilly Date: Thu, 27 Jun 2024 15:45:32 +0200 Subject: [PATCH] fix: add loop control for options list task in otelwinreg --- deployments/ansible/roles/collector/tasks/otel_win_reg.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployments/ansible/roles/collector/tasks/otel_win_reg.yml b/deployments/ansible/roles/collector/tasks/otel_win_reg.yml index e240cb51cf..e554398ec0 100644 --- a/deployments/ansible/roles/collector/tasks/otel_win_reg.yml +++ b/deployments/ansible/roles/collector/tasks/otel_win_reg.yml @@ -6,6 +6,8 @@ {{ (splunk_otel_collector_options_list | default([])) + [item.key + '=' + (value | string)] }} loop: > {{ splunk_otel_collector_options | default({}) | combine(splunk_otel_collector_additional_env_vars) | dict2items }} + loop_control: + label: "{{ item.key }}" - name: Set Splunk OpenTelemetry Collector registry value ansible.windows.win_regedit: