mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-10 02:47:38 -02:30
ClearLinux: remove special casing
- put package install in system_packages - docker should be handled by the approriate roles if used as container engine
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
# ClearLinux ships with Python installed
|
|
||||||
|
|
||||||
- name: Install basic package to run containers
|
|
||||||
package:
|
|
||||||
name: containers-basic
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Make sure docker service is enabled
|
|
||||||
systemd_service:
|
|
||||||
name: docker
|
|
||||||
masked: false
|
|
||||||
enabled: true
|
|
||||||
daemon_reload: true
|
|
||||||
state: started
|
|
||||||
become: true
|
|
||||||
@@ -27,6 +27,9 @@ pkgs:
|
|||||||
container-selinux:
|
container-selinux:
|
||||||
- "{{ ansible_os_family == 'RedHat' }}"
|
- "{{ ansible_os_family == 'RedHat' }}"
|
||||||
- "{{ 'k8s_cluster' in group_names }}"
|
- "{{ 'k8s_cluster' in group_names }}"
|
||||||
|
containers-basic:
|
||||||
|
- "{{ ansible_os_family == 'ClearLinux' }}"
|
||||||
|
- "{{ 'k8s_cluster' in group_names }}"
|
||||||
curl: []
|
curl: []
|
||||||
device-mapper:
|
device-mapper:
|
||||||
- "{{ ansible_os_family == 'Suse' or ansible_distribution == 'openEuler' }}"
|
- "{{ ansible_os_family == 'Suse' or ansible_distribution == 'openEuler' }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user