c80b593fb6
The old role will be kept and include ensure-docker for backwards compatability. Change-Id: Icb76a954b04631c405b09eb54343fd852a511b83
17 lines
309 B
YAML
17 lines
309 B
YAML
---
|
|
|
|
- name: Assure docker service is running
|
|
become: true
|
|
service:
|
|
name: docker
|
|
enabled: yes
|
|
state: started
|
|
listen: Restart docker
|
|
|
|
- name: Correct group ownership on docker sock
|
|
become: true
|
|
file:
|
|
path: /var/run/docker.sock
|
|
group: "{{ docker_group }}"
|
|
listen: Restart docker
|