From 2f11605a5b6a283e2949a97a157280ebb85a0aaf Mon Sep 17 00:00:00 2001 From: Ryan Emerson Date: Thu, 13 Jun 2024 09:37:44 +0100 Subject: [PATCH] Pin Ansible version for Aurora Store IT tests to 9.x.y stream Closes #30201 Signed-off-by: Ryan Emerson --- .github/scripts/ansible/aws_ec2.sh | 2 +- .github/workflows/ci.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/scripts/ansible/aws_ec2.sh b/.github/scripts/ansible/aws_ec2.sh index 2677461d59..d6ab3c0321 100755 --- a/.github/scripts/ansible/aws_ec2.sh +++ b/.github/scripts/ansible/aws_ec2.sh @@ -12,7 +12,7 @@ REGION=$2 case $OPERATION in requirements) ansible-galaxy collection install -r requirements.yml - pip3 install --user boto3 botocore + pip3 install --user "ansible==9.*" boto3 botocore ;; create|delete|start|stop) if [ -f "env.yml" ]; then ANSIBLE_CUSTOM_VARS_ARG="-e @env.yml"; fi diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd5ec8c80b..6982f6d2fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -424,7 +424,6 @@ jobs: export CLUSTER_NAME=keycloak_$(git rev-parse --short HEAD) echo "ec2_cluster=${CLUSTER_NAME}" >> $GITHUB_OUTPUT ./aws_ec2.sh requirements - pipx inject ansible-core boto3 botocore ./aws_ec2.sh create ${REGION} ./keycloak_ec2_installer.sh ${REGION} /tmp/keycloak.zip ./mvn_ec2_runner.sh ${REGION} "clean install -B -DskipTests -Pdistribution"