🌱 Enable cri-dockerd service (#9201)

* 🌱 Enable cri-dockerd service

* 🔨 Fix the task name in order to pass the CI tests
This commit is contained in:
Mostafa Ghadimi 2022-08-22 18:47:43 +04:30 committed by GitHub
parent fddff783c8
commit 386c739d5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -1,10 +1,11 @@
--- ---
- name: restart cri-dockerd - name: restart and enable cri-dockerd
command: /bin/true command: /bin/true
notify: notify:
- cri-dockerd | reload systemd - cri-dockerd | reload systemd
- 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
- name: cri-dockerd | reload systemd - name: cri-dockerd | reload systemd
systemd: systemd:
@ -21,3 +22,8 @@
service: service:
name: cri-dockerd.service name: cri-dockerd.service
state: restarted state: restarted
- name: cri-dockerd | enable cri-dockerd service
service:
name: cri-dockerd.service
enabled: yes

View file

@ -11,7 +11,7 @@
mode: 0755 mode: 0755
remote_src: true remote_src: true
notify: notify:
- restart cri-dockerd - restart and enable cri-dockerd
- name: Generate cri-dockerd systemd unit files - name: Generate cri-dockerd systemd unit files
template: template:
@ -22,4 +22,4 @@
- cri-dockerd.service - cri-dockerd.service
- cri-dockerd.socket - cri-dockerd.socket
notify: notify:
- restart cri-dockerd - restart and enable cri-dockerd