cri-dockerd: add restart of docker.service (#9205)
* cri-dockerd: add restart of docker.service * remove enabling of cri-dockerd.socketpull/8923/head
parent
1c75ec9ec1
commit
64daaf1887
|
@ -3,6 +3,7 @@
|
||||||
command: /bin/true
|
command: /bin/true
|
||||||
notify:
|
notify:
|
||||||
- cri-dockerd | reload systemd
|
- cri-dockerd | reload systemd
|
||||||
|
- cri-dockerd | restart docker.service
|
||||||
- cri-dockerd | reload cri-dockerd.socket
|
- cri-dockerd | reload cri-dockerd.socket
|
||||||
- cri-dockerd | reload cri-dockerd.service
|
- cri-dockerd | reload cri-dockerd.service
|
||||||
- cri-dockerd | enable cri-dockerd service
|
- cri-dockerd | enable cri-dockerd service
|
||||||
|
@ -13,6 +14,11 @@
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
masked: no
|
masked: no
|
||||||
|
|
||||||
|
- name: cri-dockerd | restart docker.service
|
||||||
|
service:
|
||||||
|
name: docker.service
|
||||||
|
state: restarted
|
||||||
|
|
||||||
- name: cri-dockerd | reload cri-dockerd.socket
|
- name: cri-dockerd | reload cri-dockerd.socket
|
||||||
service:
|
service:
|
||||||
name: cri-dockerd.socket
|
name: cri-dockerd.socket
|
||||||
|
|
|
@ -23,3 +23,6 @@
|
||||||
- cri-dockerd.socket
|
- cri-dockerd.socket
|
||||||
notify:
|
notify:
|
||||||
- restart and enable cri-dockerd
|
- restart and enable cri-dockerd
|
||||||
|
|
||||||
|
- name: Flush handlers
|
||||||
|
meta: flush_handlers
|
||||||
|
|
Loading…
Reference in New Issue