summaryrefslogtreecommitdiffstats
path: root/ansible/roles/docker/handlers/docker_restart.yml
blob: 8feb9a958bce38b6c13a6077261f3e72220b1910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
- name: Stopping docker systemd service
  systemd:
    name: docker
    state: stopped
    enabled: true

# WA for docker bug, see OOM-1735
- name: Ensure docker.sock cleaned properly
  file:
    state: absent
    path: /var/run/docker.sock

- name: Starting docker systemd service
  systemd:
    name: docker
    state: started
    enabled: true