mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 14:36:20 -02:30
feat: add openSUSE MicroOS support (#13449)
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user