c12s-kubespray/roles/bootstrap-os/tasks/bootstrap-clearlinux.yml
Victor Morales ada5941a70 Unmask Docker service in ClearLinux (#4583)
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.
2019-04-21 07:31:43 -07:00

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