From 870befa422d92ae3782002a471fdd3cc0eb9e8fb Mon Sep 17 00:00:00 2001 From: Ryan Emerson Date: Mon, 19 Feb 2024 15:04:55 +0000 Subject: [PATCH] Specify ansible shell executable as child of args element. Fixes #27133 Signed-off-by: Ryan Emerson --- .github/scripts/ansible/roles/mvn_ec2_runner/tasks/run.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/ansible/roles/mvn_ec2_runner/tasks/run.yml b/.github/scripts/ansible/roles/mvn_ec2_runner/tasks/run.yml index dbeb5e508d..44b2a77c99 100644 --- a/.github/scripts/ansible/roles/mvn_ec2_runner/tasks/run.yml +++ b/.github/scripts/ansible/roles/mvn_ec2_runner/tasks/run.yml @@ -17,7 +17,8 @@ set -o pipefail cd {{ kc_home }} ./mvnw {{ mvn_params }} - executable: /usr/bin/bash + args: + executable: /usr/bin/bash # Tests can run for hours. To prevent the test from failing when the SSH connection breaks, use asynchronous polling. async: 86400 poll: 10