docker: add handlers
This commit is contained in:
parent
22ab3586a1
commit
e7c9f4fa05
12
roles/docker/handlers/main.yaml
Normal file
12
roles/docker/handlers/main.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: reload docker
|
||||
ansible.builtin.service:
|
||||
name: "{{ docker_service_name | default('docker') }}"
|
||||
state: reloaded
|
||||
|
||||
- name: restart docker
|
||||
ansible.builtin.service:
|
||||
name: "{{ docker_service_name | default('docker') }}"
|
||||
state: restarted
|
||||
listen:
|
||||
- restart nftables
|
Loading…
Reference in New Issue
Block a user