Michal Ptacek | cc1c010 | 2019-03-27 15:05:44 +0000 | [diff] [blame] | 1 | --- |
2 | - name: Stopping docker systemd service | ||||
3 | systemd: | ||||
4 | name: docker | ||||
5 | state: stopped | ||||
6 | enabled: true | ||||
7 | |||||
8 | # WA for docker bug, see OOM-1735 | ||||
9 | - name: Ensure docker.sock cleaned properly | ||||
10 | file: | ||||
11 | state: absent | ||||
12 | path: /var/run/docker.sock | ||||
13 | |||||
14 | - name: Starting docker systemd service | ||||
15 | systemd: | ||||
16 | name: docker | ||||
17 | state: started | ||||
18 | enabled: true |