Skip to content

Commit

Permalink
Install libssl1.1 from apt repo on jammy (#614)
Browse files Browse the repository at this point in the history
* Use latest AMI in integration tests
* Use dpkg but stable for libssl on jammy
* Uninstall old libssl1.1
* Force no changes for dpkg package
  • Loading branch information
dincho authored Mar 1, 2024
1 parent 07a4e14 commit 7c07f60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion ansible/tasks/ubuntu_jammy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/terraform/test.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7c07f60

Please sign in to comment.