Ansible/Makefile

15 lines
310 B
Makefile

install: setup wg k3s
setup:
ansible-playbook -i "inventory/hosts.yml" "init.yml"
wg:
ansible-playbook -i "inventory/hosts.yml" "wireguard/wireguard.yml"
k3s:
ansible-playbook -i "inventory/hosts.yml" "k3s-ansible/site.yml"
uninstall:
ansible-playbook -i "inventory/hosts.yml" "k3s-ansible/reset.yml"