From 7642b97ccb16a1e0ac3204a106d3ee18c47bb8da Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 14 Jan 2024 01:36:00 +0100 Subject: [PATCH] fix(Makefile): Run ansible anytime and updatet IPs for tailscale --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8920619..d1e2a52 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +.PHONY: ansible + up: @echo "Checking for Homelab installation..." @vagrant status | grep "not created" > /dev/null; \ @@ -40,7 +42,7 @@ destroy: get_k3s_credentials: @echo "Retrieving k3s credentials locally..." @vagrant ssh -c "sudo cat /home/creator/.kube/config" hb-wide-1 > ~/.kube/config-halia - @sed -i 's/10.20.*:/192.168.56.101:/g' ~/.kube/config-halia + @sed -i 's/100.64.*:/192.168.56.101:/g' ~/.kube/config-halia @kube-merge @kubectl get nodes --context halia