c12s-kubespray/roles/bootstrap-os/tasks/bootstrap-clearlinux.yml
MarkusTeufelberger e2ad6aad5a bootstrap: rework role (#4045)
* bootstrap: rework role

* support being called from a non-root user
* run some commands in check mode
* unify spelling/task names

* bootstrap: fix wording of comments for check_mode: false

* bootstrap: remove setup-pipelining task
2019-02-11 14:04:27 -08:00

15 lines
290 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
enabled: yes
daemon_reload: yes
state: started
become: true