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:
Max Gautier 2025-05-19 17:33:21 +02:00
parent b1fc870750
commit f13b80cac0
No known key found for this signature in database
2 changed files with 3 additions and 16 deletions

View File

@ -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

View File

@ -27,6 +27,9 @@ pkgs:
container-selinux:
- "{{ ansible_os_family == 'RedHat' }}"
- "{{ 'k8s_cluster' in group_names }}"
containers-basic:
- "{{ ansible_os_family == 'ClearLinux' }}"
- "{{ 'k8s_cluster' in group_names }}"
curl: []
device-mapper:
- "{{ ansible_os_family == 'Suse' or ansible_distribution == 'openEuler' }}"