diff --git a/ansible/roles/test/tasks/run_command_with_log_analyzer.yml b/ansible/roles/test/tasks/run_command_with_log_analyzer.yml index 7a2876ba755..f163ef27832 100644 --- a/ansible/roles/test/tasks/run_command_with_log_analyzer.yml +++ b/ansible/roles/test/tasks/run_command_with_log_analyzer.yml @@ -13,6 +13,7 @@ - name: Run command {{ command_to_run }} command: "{{ command_to_run }}" + become: yes - name: Use loganalyzer to check for the error messages {{ testname }} / {{ command_to_run }}. include: roles/test/files/tools/loganalyzer/loganalyzer_analyze.yml