From 7c07f606f7a829e5c9cc89a69cf3956a6a5b9487 Mon Sep 17 00:00:00 2001 From: Dincho Todorov Date: Fri, 1 Mar 2024 16:29:26 +0200 Subject: [PATCH] Install libssl1.1 from apt repo on jammy (#614) * Use latest AMI in integration tests * Use dpkg but stable for libssl on jammy * Uninstall old libssl1.1 * Force no changes for dpkg package --- ansible/tasks/ubuntu_jammy.yml | 12 +++++++++++- test/terraform/test.tf | 4 ++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ansible/tasks/ubuntu_jammy.yml b/ansible/tasks/ubuntu_jammy.yml index 9bf6cdea..0105d40a 100644 --- a/ansible/tasks/ubuntu_jammy.yml +++ b/ansible/tasks/ubuntu_jammy.yml @@ -4,9 +4,19 @@ - libsodium23 - libtinfo5 +# Remove once new AMIs are build +- name: Remove old libssl deb package + apt: + pkg: + - libssl1.1 + state: absent + changed_when: false + - name: Install Ubuntu 22.04 dependency debs apt: - deb: "http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.21_amd64.deb" + deb: "http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb" + # Remove once new AMIs are build + changed_when: false # remove once Vault is updated to support more modern algos - name: Enable legacy CA algos in sshd config diff --git a/test/terraform/test.tf b/test/terraform/test.tf index 1ff9a342..f39bb692 100644 --- a/test/terraform/test.tf +++ b/test/terraform/test.tf @@ -28,7 +28,7 @@ module "test-aenode-2204" { instance_type = "t3.large" instance_types = ["t3.large"] - ami_name = "aeternity-ubuntu-22.04-v1705404634" + ami_name = "aeternity-ubuntu-22.04-v1708524781" additional_storage = true additional_storage_size = 5 @@ -61,7 +61,7 @@ module "test-aemdw-2204" { instance_type = "t3.large" instance_types = ["t3.large"] - ami_name = "aeternity-ubuntu-22.04-v1705404634" + ami_name = "aeternity-ubuntu-22.04-v1708524781" additional_storage = true additional_storage_size = 5