Pin Ansible version for Aurora Store IT tests to 9.x.y stream

Closes #30201

Signed-off-by: Ryan Emerson <remerson@redhat.com>
This commit is contained in:
Ryan Emerson 2024-06-13 09:37:44 +01:00 committed by Alexander Schwartz
parent 1b342e4c07
commit 2f11605a5b
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,7 @@ REGION=$2
case $OPERATION in case $OPERATION in
requirements) requirements)
ansible-galaxy collection install -r requirements.yml ansible-galaxy collection install -r requirements.yml
pip3 install --user boto3 botocore pip3 install --user "ansible==9.*" boto3 botocore
;; ;;
create|delete|start|stop) create|delete|start|stop)
if [ -f "env.yml" ]; then ANSIBLE_CUSTOM_VARS_ARG="-e @env.yml"; fi if [ -f "env.yml" ]; then ANSIBLE_CUSTOM_VARS_ARG="-e @env.yml"; fi

View file

@ -424,7 +424,6 @@ jobs:
export CLUSTER_NAME=keycloak_$(git rev-parse --short HEAD) export CLUSTER_NAME=keycloak_$(git rev-parse --short HEAD)
echo "ec2_cluster=${CLUSTER_NAME}" >> $GITHUB_OUTPUT echo "ec2_cluster=${CLUSTER_NAME}" >> $GITHUB_OUTPUT
./aws_ec2.sh requirements ./aws_ec2.sh requirements
pipx inject ansible-core boto3 botocore
./aws_ec2.sh create ${REGION} ./aws_ec2.sh create ${REGION}
./keycloak_ec2_installer.sh ${REGION} /tmp/keycloak.zip ./keycloak_ec2_installer.sh ${REGION} /tmp/keycloak.zip
./mvn_ec2_runner.sh ${REGION} "clean install -B -DskipTests -Pdistribution" ./mvn_ec2_runner.sh ${REGION} "clean install -B -DskipTests -Pdistribution"