Browse Source
🌱 Enable cri-dockerd service (#9201)
* 🌱 Enable cri-dockerd service
* 🔨 Fix the task name in order to pass the CI tests
pull/9207/head
Mostafa Ghadimi
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
3 deletions
-
roles/container-engine/cri-dockerd/handlers/main.yml
-
roles/container-engine/cri-dockerd/tasks/main.yml
|
|
@ -1,10 +1,11 @@ |
|
|
|
--- |
|
|
|
- name: restart cri-dockerd |
|
|
|
- name: restart and enable cri-dockerd |
|
|
|
command: /bin/true |
|
|
|
notify: |
|
|
|
- cri-dockerd | reload systemd |
|
|
|
- cri-dockerd | reload cri-dockerd.socket |
|
|
|
- cri-dockerd | reload cri-dockerd.service |
|
|
|
- cri-dockerd | enable cri-dockerd service |
|
|
|
|
|
|
|
- name: cri-dockerd | reload systemd |
|
|
|
systemd: |
|
|
@ -21,3 +22,8 @@ |
|
|
|
service: |
|
|
|
name: cri-dockerd.service |
|
|
|
state: restarted |
|
|
|
|
|
|
|
- name: cri-dockerd | enable cri-dockerd service |
|
|
|
service: |
|
|
|
name: cri-dockerd.service |
|
|
|
enabled: yes |
|
|
@ -11,7 +11,7 @@ |
|
|
|
mode: 0755 |
|
|
|
remote_src: true |
|
|
|
notify: |
|
|
|
- restart cri-dockerd |
|
|
|
- restart and enable cri-dockerd |
|
|
|
|
|
|
|
- name: Generate cri-dockerd systemd unit files |
|
|
|
template: |
|
|
@ -22,4 +22,4 @@ |
|
|
|
- cri-dockerd.service |
|
|
|
- cri-dockerd.socket |
|
|
|
notify: |
|
|
|
- restart cri-dockerd |
|
|
|
- restart and enable cri-dockerd |