tf-ubuntu-lineageos/Makefile
2021-07-08 14:15:31 +02:00

17 lines
271 B
Makefile

ap = ansible-playbook
ausr = ansible
privk = ~/.ssh/tf-ansible
pbdir = playbooks
pbname = losbuilder-lab.yml
.PHONY: ans infra destroy
ans:
$(ap) -u $(ausr) --private-key $(privk) -i hosts $(pbdir)/$(pbname)
infra:
cd vms; make infra
destroy:
cd vms; make destroy