This commit is contained in:
João Gonçalves
2024-01-19 10:56:29 +09:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
name: Test name: Test
on: on:
workflow_call: workflow_call:
workflow_dispatch: {}
jobs: jobs:
molecule: molecule:
name: Molecule name: Molecule

View File

@@ -33,6 +33,14 @@
- raspberry_pi|default(false) - raspberry_pi|default(false)
- ansible_facts.lsb.description|default("") is match("Debian.*buster") - 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 - name: Set detected_distribution_major_version
set_fact: set_fact:
detected_distribution_major_version: "{{ ansible_facts.lsb.major_release }}" detected_distribution_major_version: "{{ ansible_facts.lsb.major_release }}"