From 153df81836541458937a89e2f058e295d6f27da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jadyn=20Emma=20J=C3=A4ger?= Date: Fri, 18 Oct 2024 14:53:53 +0200 Subject: [PATCH] feat(lego): Detect lego_architecture automatically --- roles/lego/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lego/defaults/main.yml b/roles/lego/defaults/main.yml index ab905ac..15b63fe 100644 --- a/roles/lego/defaults/main.yml +++ b/roles/lego/defaults/main.yml @@ -58,7 +58,7 @@ lego_systemd_timer_name: "lego-{{ lego_instance }}.timer" lego_systemd_timer_template: lego.timer.j2 lego_systemd_timer_calendar: "*-*-* *:00/15:00" -lego_architecture: "amd64" +lego_architecture: "{{ 'arm64' if ansible_architecture == 'aarch64' else 'amd64' }}" lego_os: "linux" lego_binary_allow_net_bind_service: false -- 2.45.2