feat: add openSUSE MicroOS support (#13449)

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
Kay Yan
2026-09-20 13:45:57 +00:00
committed by GitHub
parent 2af9b1cc94
commit ce6f5fe886
17 changed files with 80 additions and 4 deletions
@@ -89,6 +89,7 @@ supported_os_distributions:
- 'Flatcar'
- 'Suse'
- 'openSUSE Leap'
- 'openSUSE MicroOS'
- 'openSUSE Tumbleweed'
- 'ClearLinux'
- 'OracleLinux'
@@ -10,6 +10,14 @@
tags:
- facts
- name: Normalize ansible_facts for openSUSE MicroOS
set_fact:
ansible_facts: "{{ ansible_facts | combine({'os_family': 'Suse'}) }}"
ansible_os_family: Suse
when: ansible_facts['distribution'] == "openSUSE MicroOS"
tags:
- facts
- name: Check resolvconf
command: which resolvconf
register: resolvconf
@@ -24,6 +24,14 @@
msg: "{{ ansible_facts['distribution'] }} is not a known OS"
when: not ignore_assert_errors
- name: Stop if the container manager is unsupported on openSUSE MicroOS
assert:
that: container_manager == "containerd"
msg: "openSUSE MicroOS only supports containerd"
when:
- not ignore_assert_errors
- ansible_facts['distribution'] == "openSUSE MicroOS"
- name: Stop if memory is too small for control plane nodes
assert:
that: ansible_facts['memtotal_mb'] >= minimal_master_memory_mb