From c28a3c9fcf0626e86f180424fc31914d664a2289 Mon Sep 17 00:00:00 2001 From: Ryan Thorn Date: Wed, 27 Dec 2023 15:31:13 -0800 Subject: [PATCH] chore: Use default AL2 ami --- test/definitions-eu/apm/java/rhl2-jetty.json | 2 +- .../jetty/systemd/install/roles/configure/tasks/main.yml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/test/definitions-eu/apm/java/rhl2-jetty.json b/test/definitions-eu/apm/java/rhl2-jetty.json index de892d952..23ac1e981 100644 --- a/test/definitions-eu/apm/java/rhl2-jetty.json +++ b/test/definitions-eu/apm/java/rhl2-jetty.json @@ -11,7 +11,7 @@ "provider": "aws", "type": "ec2", "size": "t3.micro", - "ami_name": "amzn2-ami-hvm-2.0.????????.?-x86_64-gp2", + "ami_name": "amzn2-ami-kernel-*-hvm-*-x86_64-gp2", "user_name": "ec2-user" } ], diff --git a/test/deploy/linux/jetty/systemd/install/roles/configure/tasks/main.yml b/test/deploy/linux/jetty/systemd/install/roles/configure/tasks/main.yml index 6ed38f471..908f4a227 100644 --- a/test/deploy/linux/jetty/systemd/install/roles/configure/tasks/main.yml +++ b/test/deploy/linux/jetty/systemd/install/roles/configure/tasks/main.yml @@ -2,12 +2,6 @@ - debug: msg: Install Systemd Jetty -- name: Install CA certificates - package: - name: ["ca-certificates-java"] - state: latest - become: true - - name: Install Java for debian package: name: ["default-jdk"]