From 464e10417b28553fce4151ee18f3a82f5fe9c544 Mon Sep 17 00:00:00 2001 From: Konstantin Renner Date: Sat, 11 Jul 2026 21:42:21 +0200 Subject: [PATCH] woodpecker: auto-deploy netbird-proxy-watchdog role changes Both install-netbird-server.yml (VPS-1) and install-netbird-proxy.yml (proxy-1) apply the netbird-proxy-watchdog role, but neither deploy pipeline's path filter watched ansible/roles/netbird-proxy-watchdog/**. So the flood-watchdog (#153) did not auto-deploy on merge and had to be triggered manually. Add the role to both filters so future watchdog changes redeploy both hosts on merge. Co-Authored-By: Claude Opus 4.8 (1M context) --- .woodpecker/deploy-netbird-proxy.yml | 3 +++ .woodpecker/deploy-netbird-server.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.woodpecker/deploy-netbird-proxy.yml b/.woodpecker/deploy-netbird-proxy.yml index ed641379..cbe04532 100644 --- a/.woodpecker/deploy-netbird-proxy.yml +++ b/.woodpecker/deploy-netbird-proxy.yml @@ -4,6 +4,9 @@ when: branch: master path: - "ansible/roles/netbird-proxy/**" + # install-netbird-proxy.yml also applies the netbird-proxy-watchdog role, + # so changes to it must redeploy this host too. + - "ansible/roles/netbird-proxy-watchdog/**" - "ansible/plays/install-netbird-proxy.yml" - ".woodpecker/deploy-netbird-proxy.yml" - event: manual diff --git a/.woodpecker/deploy-netbird-server.yml b/.woodpecker/deploy-netbird-server.yml index 227d8faa..7b92ca01 100644 --- a/.woodpecker/deploy-netbird-server.yml +++ b/.woodpecker/deploy-netbird-server.yml @@ -2,6 +2,9 @@ when: - event: push path: - "ansible/roles/netbird-server/**" + # install-netbird-server.yml also applies the netbird-proxy-watchdog role, + # so changes to it must redeploy this host too. + - "ansible/roles/netbird-proxy-watchdog/**" - "ansible/plays/install-netbird-server.yml" - ".woodpecker/deploy-netbird-server.yml" - event: manual -- 2.54.0