ada5941a70
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.
16 lines
305 B
YAML
16 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
|