mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-17 20:51:24 -03:30
The docker service provided by the containers-basic bundle is masked in ClearLinux distribution. This is causing errors in the following steps. This commit ensures that the unit is not masked.
17 lines
305 B
YAML
17 lines
305 B
YAML
---
|
|
- name: Install basic packages to run containers
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- containers-basic
|
|
|
|
- name: Make sure docker service is enabled
|
|
systemd:
|
|
name: docker
|
|
masked: no
|
|
enabled: yes
|
|
daemon_reload: yes
|
|
state: started
|
|
become: true
|