2018-12-18 17:39:25 +08:00
|
|
|
---
|
2019-04-24 06:46:02 +08:00
|
|
|
# ClearLinux ships with Python installed
|
|
|
|
|
|
|
|
- name: Install basic package to run containers
|
2018-12-18 17:39:25 +08:00
|
|
|
package:
|
2019-04-24 06:46:02 +08:00
|
|
|
name: containers-basic
|
2018-12-18 17:39:25 +08:00
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Make sure docker service is enabled
|
2024-07-26 16:11:39 +08:00
|
|
|
systemd_service:
|
2018-12-18 17:39:25 +08:00
|
|
|
name: docker
|
2019-04-24 06:46:02 +08:00
|
|
|
masked: false
|
|
|
|
enabled: true
|
|
|
|
daemon_reload: true
|
2018-12-18 17:39:25 +08:00
|
|
|
state: started
|
2019-02-12 06:04:27 +08:00
|
|
|
become: true
|