-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
21 lines (14 loc) · 898 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
help: ## shows this help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_\-\.]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
ANSIBLE_PLAYBOOK_CMD = ansible-playbook -u root -i inventory/home
provision: ## provision home server
$(ANSIBLE_PLAYBOOK_CMD) playbooks/provision.yml
update: ## update home server
$(ANSIBLE_PLAYBOOK_CMD) playbooks/update.yml
connect: ## connect to home server
ssh -l root -p 10022 192.168.178.43
devbox-setup: ## setup devbox
vagrant up
devbox-update: ## update devbox
vagrant provision
.PHONY: provision update devbox-setup devbox-update