2018-12-18 09:39:25 +00:00
|
|
|
---
|
|
|
|
- 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
|
2019-04-21 14:31:43 +00:00
|
|
|
masked: no
|
2018-12-18 09:39:25 +00:00
|
|
|
enabled: yes
|
|
|
|
daemon_reload: yes
|
|
|
|
state: started
|
2019-02-11 22:04:27 +00:00
|
|
|
become: true
|