gen_nodes: fix breakage from "Split ltp set-up from gen_nodes"
PATCH 1/1 gen_nodes: fix breakage from "Split ltp set-up from gen_nodes"
Commit ee1e9d2 inserted a new task in the middle of the "Initialize the enabled nodes list for ltp" task, effectively getting rid of that task's when clause, causing it to run for non-LTP workloads.
Fixes ee1e9d2 ("gen_nodes: Split ltp set-up from gen_nodes")
Signed-off-by Scott Mayhew <[email protected]>
--- playbooks/roles/gen_nodes/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+)
playbooks/roles/gen_nodes/tasks/main.yml +5 -0
@@ -171,6 +171,11 @@ set_fact: is_ltp: True ltp_enabled_nodes: "{{ ltp_enabled_test_groups|ansible.builtin.split }}" + when: + - kdevops_workflows_dedicated_workflow + - kdevops_workflow_enable_ltp + - ansible_nodes_template.stat.exists + - name: Generate a kdevops nodes file for the ltp workflow tags: hosts ansible.builtin.include_role:
Signature · 1 line
2.44.0
Quoted 32 lines · Scott Mayhew
Commit ee1e9d2 inserted a new task in the middle of the "Initialize the enabled nodes list for ltp" task, effectively getting rid of that task's when clause, causing it to run for non-LTP workloads.
Fixes ee1e9d2 ("gen_nodes: Split ltp set-up from gen_nodes")Signed-off-by Scott Mayhew <[email protected]>---
playbooks/roles/gen_nodes/tasks/main.yml| 5 +++++1 file changed, 5 insertions(+)playbooks/roles/gen_nodes/tasks/main.yml +5
-1@@ -171,6 +171,11 @@ set_fact: is_ltp: True ltp_enabled_nodes: "{{ ltp_enabled_test_groups|ansible.builtin.split }}" + when: + - kdevops_workflows_dedicated_workflow + - kdevops_workflow_enable_ltp + - ansible_nodes_template.stat.exists + - name: Generate a kdevops nodes file for the ltp workflow tags: hosts ansible.builtin.include_role:Signature · 1 line
2.44.0
This is a turd left over from incorrect conflict resolution. The "Initialize the enabled nodes list for ltp" task needs to be deleted. I'll push a proper fix. Thanks!
--
Chuck Lever