Add docker support for openEuler linux (#9498)
Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
parent
cbf4586c4c
commit
b9a690463d
3 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# OpenEuler
|
# 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
|
**Note:** that OpenEuler Linux is not currently covered in kubespray CI and
|
||||||
support for it is currently considered experimental.
|
support for it is currently considered experimental.
|
||||||
|
|
|
@ -11,6 +11,13 @@
|
||||||
set_fact:
|
set_fact:
|
||||||
is_ostree: "{{ ostree.stat.exists }}"
|
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
|
- name: gather os specific variables
|
||||||
include_vars: "{{ item }}"
|
include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
tags:
|
tags:
|
||||||
- facts
|
- 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:
|
set_fact:
|
||||||
ansible_os_family: "RedHat"
|
ansible_os_family: "RedHat"
|
||||||
ansible_distribution_major_version: "8"
|
ansible_distribution_major_version: "8"
|
||||||
when: ansible_distribution == "Kylin Linux Advanced Server"
|
when: ansible_distribution in ["Kylin Linux Advanced Server", "openEuler"]
|
||||||
tags:
|
tags:
|
||||||
- facts
|
- facts
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue