AuroraDB IT - Error creating EC2 runner instance

Closes #33874

- Use venv to install python dependencies
- Utilise latest ansible version
- Utilise RHEL 9 image to update python versions

Signed-off-by: Ryan Emerson <remerson@redhat.com>
This commit is contained in:
Ryan Emerson
2024-10-15 17:43:37 +01:00
committed by Alexander Schwartz
parent 253ca1d9f7
commit 4af1f7007d
3 changed files with 7 additions and 2 deletions

View File

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

View File

@@ -4,7 +4,8 @@ cluster_size: 1
cidr_ip: "{{ control_host_ip.stdout }}/32"
ami_name: RHEL-8.8.0_HVM-20230503-x86_64-54-Hourly2-GP2
# aws ec2 describe-images --owners 309956199498 --filters "Name=architecture,Values=x86_64" "Name=virtualization-type,Values=hvm" --region eu-west-1 --no-include-deprecated --query 'Images[] | sort_by(@, &CreationDate)[].Name'
ami_name: RHEL-9.4_HVM_GA-20240827-x86_64-0-Hourly2-GP3
instance_type: t3.large
instance_volume_size: 20