diff --git a/ansible/inventories/production/host_vars/git.jthan.io/vars.yaml b/ansible/inventories/production/host_vars/git.jthan.io/vars.yaml index d201ede..bb9dffb 100644 --- a/ansible/inventories/production/host_vars/git.jthan.io/vars.yaml +++ b/ansible/inventories/production/host_vars/git.jthan.io/vars.yaml @@ -16,5 +16,6 @@ olm_override_dns: "false" olm_tunnel_dns: "true" netbird_version: "0.68.3" -netbird_sha256: "a3ba352f2b2bfbcd1bf157257b3b1fbe4c9d21dee2a7cb15e9c36b2a092563d9 " +netbird_arch: "amd64" +netbird_sha256: "596adb7b74c6d9d2104bb517a4fa0353bcb1e889bd89aaf2b52a21ef58285ae9" netbird_setup_key: "{{ lookup('bitwarden.secrets.lookup', '4ba58bbe-e459-4978-894b-b43000561a2f') }}" diff --git a/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml b/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml index a5fe60d..c2d4e4f 100644 --- a/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml +++ b/ansible/inventories/production/host_vars/rpi0.home.jthan.io/vars.yaml @@ -1,4 +1,5 @@ netbird_version: "0.68.3" +netbird_arch: "arm64" netbird_sha256: "a3ba352f2b2bfbcd1bf157257b3b1fbe4c9d21dee2a7cb15e9c36b2a092563d9 " netbird_setup_key: "{{ lookup('bitwarden.secrets.lookup', 'ceda19a5-3efb-4bcf-ac84-b43000086ea4') }}" diff --git a/ansible/roles/netbird_peer/tasks/main.yaml b/ansible/roles/netbird_peer/tasks/main.yaml index e76c370..4895973 100644 --- a/ansible/roles/netbird_peer/tasks/main.yaml +++ b/ansible/roles/netbird_peer/tasks/main.yaml @@ -8,8 +8,8 @@ - name: Download and verify the netbird archive get_url: - url: "https://github.com/netbirdio/netbird/releases/download/v{{ netbird_version }}/netbird_{{ netbird_version }}_linux_arm64.tar.gz" - dest: "/tmp/netbird-{{ netbird_version }}.linux-arm64.tar.gz" + url: "https://github.com/netbirdio/netbird/releases/download/v{{ netbird_version }}/netbird_{{ netbird_version }}_linux_{{ netbird_arch }}.tar.gz" + dest: "/tmp/netbird-{{ netbird_version }}.linux-{{ netbird_arch }}.tar.gz" checksum: "sha256:{{ netbird_sha256 }}" register: download_result