diff --git a/roles/docker/handlers/main.yaml b/roles/docker/handlers/main.yaml new file mode 100644 index 0000000..a038dd7 --- /dev/null +++ b/roles/docker/handlers/main.yaml @@ -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