vass c80b593fb6 Rename install-docker to ensure-docker for consistency
The old role will be kept and include ensure-docker for backwards compatability.

Change-Id: Icb76a954b04631c405b09eb54343fd852a511b83
2020-04-04 15:41:29 -04:00

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