Skip to content
Snippets Groups Projects
Unverified Commit b9a69046 authored by ERIK's avatar ERIK Committed by GitHub
Browse files

Add docker support for openEuler linux (#9498)


Signed-off-by: default avatarbo.jiang <bo.jiang@daocloud.io>

Signed-off-by: default avatarbo.jiang <bo.jiang@daocloud.io>
parent cbf4586c
No related branches found
No related tags found
No related merge requests found
# OpenEuler
[OpenEuler](https://www.openeuler.org/en/) Linux currently only supports the containerd runtime.
[OpenEuler](https://www.openeuler.org/en/) Linux is supported with docker and containerd runtimes.
**Note:** that OpenEuler Linux is not currently covered in kubespray CI and
support for it is currently considered experimental.
......
......@@ -11,6 +11,13 @@
set_fact:
is_ostree: "{{ ostree.stat.exists }}"
- name: set docker_version for openEuler
set_fact:
docker_version: '19.03'
when: ansible_distribution == "openEuler"
tags:
- facts
- name: gather os specific variables
include_vars: "{{ item }}"
with_first_found:
......
......@@ -6,11 +6,11 @@
tags:
- facts
- name: Set os_family fact for Kylin Linux Advanced Server
- name: Set os_family fact for Kylin Linux Advanced Server and openEuler
set_fact:
ansible_os_family: "RedHat"
ansible_distribution_major_version: "8"
when: ansible_distribution == "Kylin Linux Advanced Server"
when: ansible_distribution in ["Kylin Linux Advanced Server", "openEuler"]
tags:
- facts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment