Skip to content

Commit 7b04257

Browse files
bogdandoopenshift-merge-bot[bot]
authored andcommitted
[reproducer] Remove invalid import_role options
The "Bootstrap environment on controller-0" task was refactored from ansible.builtin.command to ansible.builtin.import_role (712ef7d) but the args/chdir and changed_when directives were left behind. These are only valid for command/shell modules. ansible-core 2.15 now strictly validates import_role options and rejects chdir at parse time. Generated-by: claude-4.6-opus-high Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
1 parent aab919e commit 7b04257

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

roles/reproducer/tasks/reuse_main.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@
144144
ansible_extra_vars:
145145
- "{{ ansible_user_dir }}/ci-framework-data/parameters/reproducer-variables.yml"
146146
- "scenarios/reproducers/networking-definition.yml"
147-
changed_when: false
148-
args:
149-
chdir: "{{ _cifmw_reproducer_framework_location }}"
150147

151148
- name: Install dev tools from install_yamls on controller-0
152149
environment:

0 commit comments

Comments
 (0)