add docker ansible role
This commit is contained in:
16
ansible/roles/docker/handlers/main.yml
Normal file
16
ansible/roles/docker/handlers/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: restart containerd
|
||||
ansible.builtin.systemd:
|
||||
name: containerd
|
||||
state: restarted
|
||||
|
||||
- name: restart docker
|
||||
ansible.builtin.systemd:
|
||||
name: docker
|
||||
state: restarted
|
||||
|
||||
- name: restart multipathd
|
||||
ansible.builtin.systemd:
|
||||
name: multipathd
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user