fix(Makefile): Run ansible anytime and updatet IPs for tailscale
This commit is contained in:
parent
d504371cc5
commit
7642b97ccb
4
Makefile
4
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user