fix(lego): get correct image for platforms other than x86_64

This commit is contained in:
Evelyn Alicke 2024-03-28 21:02:40 +01:00
parent 82bca3f758
commit 26451225ec
No known key found for this signature in database
GPG key ID: 6834780BDA479436

View file

@ -7,7 +7,13 @@ lego_certificate_store_mode: "0750"
lego_systemd_path: "/etc/systemd/system"
lego_version: "4.15.0"
lego_system_type: "linux"
lego_system_arch: "amd64"
lego_system_arch: >-2
{{
'amd64' if ansible_architecture == 'x86_64' else
'arm64' if ansible_architecture == 'aarch64' else
ansible_architecture
}}
lego_executable: "{{ lego_base_path }}/lego"
lego_account_base_path: "{{ lego_base_path }}/accounts"
lego_cap_net_bind_service: true