20 lines
361 B
YAML
20 lines
361 B
YAML
---
|
|
- import_tasks: install.yml
|
|
|
|
- name: Start and enable docker service
|
|
become: true
|
|
systemd:
|
|
name: docker
|
|
state: started
|
|
enabled: yes
|
|
|
|
- import_tasks: tasks/preprocess-users.yml
|
|
|
|
- name: Add superusers to the docker group
|
|
become: true
|
|
user:
|
|
name: "{{ item.name }}"
|
|
groups: docker
|
|
append: yes
|
|
loop: "{{ _users_local_admin }}"
|