Skip to content
Snippets Groups Projects
Unverified Commit 13c793fd authored by DRAGON2002's avatar DRAGON2002 Committed by GitHub
Browse files

add flag (#9827)

parent 1555d781
Branches
Tags
No related merge requests found
...@@ -76,3 +76,6 @@ containerd_limit_mem_lock: "infinity" ...@@ -76,3 +76,6 @@ containerd_limit_mem_lock: "infinity"
# If enabled it will use config_path and disable use mirrors config # If enabled it will use config_path and disable use mirrors config
containerd_use_config_path: false containerd_use_config_path: false
# If enabled it will allow kubespray to attempt setup even if the distribution is not supported. For unsupported distributions this can lead to unexpected failures in some cases.
allow_unsupported_distribution_setup: false
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
fail: fail:
msg: "{{ ansible_distribution }} is not supported by containerd." msg: "{{ ansible_distribution }} is not supported by containerd."
when: when:
- ansible_distribution not in ["CentOS", "OracleLinux", "RedHat", "Ubuntu", "Debian", "Fedora", "AlmaLinux", "Rocky", "Amazon", "Flatcar", "Flatcar Container Linux by Kinvolk", "Suse", "openSUSE Leap", "openSUSE Tumbleweed", "Kylin Linux Advanced Server", "UnionTech", "openEuler"] - not (allow_unsupported_distribution_setup | default(false)) and (ansible_distribution not in ["CentOS", "OracleLinux", "RedHat", "Ubuntu", "Debian", "Fedora", "AlmaLinux", "Rocky", "Amazon", "Flatcar", "Flatcar Container Linux by Kinvolk", "Suse", "openSUSE Leap", "openSUSE Tumbleweed", "Kylin Linux Advanced Server", "UnionTech", "openEuler"])
- name: containerd | Remove any package manager controlled containerd package - name: containerd | Remove any package manager controlled containerd package
package: package:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment