From df0581b4919f3d2afc877c3f28aa1d8c54998aaa Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Sat, 1 Jul 2023 00:31:50 +0200 Subject: [PATCH] tweaking --- installer/install/tpot.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/installer/install/tpot.yml b/installer/install/tpot.yml index 1fcc39f7..819d1466 100644 --- a/installer/install/tpot.yml +++ b/installer/install/tpot.yml @@ -290,10 +290,19 @@ regexp: '^.*DNSStubListener=.*' line: 'DNSStubListener=no' state: present - notify: Restart Resolved + notify: + - Restart Resolved + - Restart Docker when: ansible_distribution in ["Fedora", "Ubuntu"] handlers: + - name: Restart Docker + service: + name: docker + state: restarted + enabled: true + when: ansible_distribution in ["Fedora", "Ubuntu"] + - name: Restart Resolved service: name: systemd-resolved