From 1e25cce032cf78da38081f11d0d686888aa954b2 Mon Sep 17 00:00:00 2001 From: joao-pc-goncalves <30077840+joaopedrocg27@users.noreply.github.com> Date: Thu, 23 Nov 2023 09:34:13 +0000 Subject: [PATCH 1/2] feat(k3s): added support for latest raspberrypi os (debian 12 bookworm) --- roles/raspberrypi/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/raspberrypi/tasks/main.yml b/roles/raspberrypi/tasks/main.yml index 29f824a..f50ab58 100644 --- a/roles/raspberrypi/tasks/main.yml +++ b/roles/raspberrypi/tasks/main.yml @@ -33,6 +33,14 @@ - raspberry_pi|default(false) - ansible_facts.lsb.description|default("") is match("Debian.*buster") +- name: Set detected_distribution to Raspbian (ARM64 on Debian Bookworm) + set_fact: + detected_distribution: Raspbian + when: + - ansible_facts.architecture is search("aarch64") + - raspberry_pi|default(false) + - ansible_facts.lsb.description|default("") is match("Debian.*bookworm") + - name: Set detected_distribution_major_version set_fact: detected_distribution_major_version: "{{ ansible_facts.lsb.major_release }}" From 586434b80dc307e3c241bda9b29a3f8fb6f5039a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Gon=C3=A7alves?= <30077840+joaopedrocg27@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:42:06 +0000 Subject: [PATCH 2/2] Update test.yml --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10b6135..4eec84b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,7 @@ name: Test on: workflow_call: + workflow_dispatch: {} jobs: molecule: name: Molecule