docker: remove kernel check

Only CentOS 7 uses Linux 3.10, all other OSs have more recent kernels

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
Etienne Champetier 2021-01-08 16:56:12 -05:00 committed by Kubernetes Prow Robot
parent de6c71a426
commit 7433b70d95
7 changed files with 0 additions and 22 deletions

View file

@ -37,16 +37,6 @@
tags: tags:
- facts - facts
- name: check for minimum kernel version
fail:
msg: >
docker requires a minimum kernel version of
{{ docker_kernel_min_version }} on
{{ ansible_distribution }}-{{ ansible_distribution_version }}
when: (not ansible_os_family in ["Flatcar Container Linux by Kinvolk", "ClearLinux"]) and (ansible_kernel is version(docker_kernel_min_version, "<"))
tags:
- facts
- name: disable unified_cgroup_hierarchy in Fedora 31+ - name: disable unified_cgroup_hierarchy in Fedora 31+
command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" command: grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
when: when:

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '0'
# https://docs.aws.amazon.com/en_us/AmazonECS/latest/developerguide/docker-basics.html # https://docs.aws.amazon.com/en_us/AmazonECS/latest/developerguide/docker-basics.html
docker_versioned_pkg: docker_versioned_pkg:

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '3.10'
# https://download.docker.com/linux/debian/ # https://download.docker.com/linux/debian/
docker_versioned_pkg: docker_versioned_pkg:
'latest': docker-ce 'latest': docker-ce

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '0'
# https://docs.docker.com/install/linux/docker-ce/fedora/ # https://docs.docker.com/install/linux/docker-ce/fedora/
# https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/ # https://download.docker.com/linux/fedora/<fedora-version>/x86_64/stable/Packages/
docker_versioned_pkg: docker_versioned_pkg:

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '0'
# https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package # https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
# https://download.docker.com/linux/centos/<centos_version>>/x86_64/stable/Packages/ # https://download.docker.com/linux/centos/<centos_version>>/x86_64/stable/Packages/
# or do 'yum --showduplicates list docker-engine' # or do 'yum --showduplicates list docker-engine'

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '0'
docker_package_info: docker_package_info:
pkg_mgr: zypper pkg_mgr: zypper
pkgs: pkgs:

View file

@ -1,6 +1,4 @@
--- ---
docker_kernel_min_version: '3.10'
# https://download.docker.com/linux/ubuntu/ # https://download.docker.com/linux/ubuntu/
docker_versioned_pkg: docker_versioned_pkg:
'latest': docker-ce 'latest': docker-ce