fix: refresh DuckDNS during edge deployment

This commit is contained in:
juvenal.diaz 2026-10-26 22:20:28 -06:00
parent a69b7852b6
commit 702ce23be3
1 changed files with 4 additions and 0 deletions

View File

@ -7968,6 +7968,10 @@ edge_apply() {
require_debian_server "edge"
run_tofu_stack "bootstrap/edge"
local edge_host="${TF_VAR_edge_host:-${LAB_EDGE_HOST:-}}"
if [[ -n "${edge_host}" ]] && declare -F update_duckdns_edge_ip >/dev/null 2>&1; then
update_duckdns_edge_ip "${edge_host}"
fi
edge_flush_caches
}