From 4ab9af9d0839a8365df01f4c60f0d64f4d5d6a3d Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 28 Apr 2021 14:34:33 +0000 Subject: [PATCH] Run handlers before configuring unbound on dna-gw hosts Unbound doesn't automatically bind to CARP interfaces but network is not restarted at this stage so force running all handlers. --- playbooks/dna-gw.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/dna-gw.yml b/playbooks/dna-gw.yml index 6e5ad24..9d42ff5 100644 --- a/playbooks/dna-gw.yml +++ b/playbooks/dna-gw.yml @@ -33,6 +33,9 @@ - net.inet.ip.forwarding - net.inet6.ip6.forwarding + - name: run handlers to get interfaces configured + meta: flush_handlers + - name: copy dns zone files copy: dest: "/var/unbound/db/{{ item }}"