Browse Source
cri-dockerd: add restart of docker.service (#9205)
* cri-dockerd: add restart of docker.service
* remove enabling of cri-dockerd.socket
pull/8923/head
Krystian Młynek
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
0 deletions
-
roles/container-engine/cri-dockerd/handlers/main.yml
-
roles/container-engine/cri-dockerd/tasks/main.yml
|
@ -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 |