diff --git a/.github/scripts/ansible/aws_ec2.sh b/.github/scripts/ansible/aws_ec2.sh index 2677461d592..d6ab3c03213 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 cd5ec8c80bd..6982f6d2fd5 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"