Skip to content

Commit

Permalink
fix: add loop control for options list task in otelwinreg
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbty committed Jul 29, 2024
1 parent 844ca5f commit c285092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployments/ansible/roles/collector/tasks/otel_win_reg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c285092

Please sign in to comment.