Skip to content

Commit 2b05c0d

Browse files
holserclaude
authored andcommitted
[inherit_parent_scenario] Fix loop variable type for Ansible 2.16
Convert _file_list to YAML to ensure loop receives a list type instead of string. Ansible 2.16+ enforces strict type checking for loop values. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Sergii Golovatiuk <sgolovat@redhat.com>
1 parent 49a008b commit 2b05c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/playbooks/tasks/inherit_parent_scenario.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
- item is exists
2828
ansible.builtin.include_vars:
2929
file: "{{ item }}"
30-
loop: "{{ _file_list }}"
30+
loop: "{{ _file_list | from_yaml }}"

0 commit comments

Comments
 (0)