Problem
The ansible shell task in ansible_roles/roles/test_generic/tasks/main.yml that executes tests does not set the TERM environment variable. Cloud VMs have bare environments without TERM, causing commands that depend on terminal capabilities to fail.
Impact
Test execution fails on cloud VMs with "TERM not set" errors.
Location
ansible_roles/roles/test_generic/tasks/main.yml — the "execute the test" shell task.
Suggested fix
Prepend TERM=xterm to the shell command:
shell: "TERM=xterm /tmp/{{ test_data.test_name }}.cmd"
Problem
The ansible shell task in
ansible_roles/roles/test_generic/tasks/main.ymlthat executes tests does not set the TERM environment variable. Cloud VMs have bare environments without TERM, causing commands that depend on terminal capabilities to fail.Impact
Test execution fails on cloud VMs with "TERM not set" errors.
Location
ansible_roles/roles/test_generic/tasks/main.yml— the "execute the test" shell task.Suggested fix
Prepend
TERM=xtermto the shell command: