2023-04-11 02:55:24 +00:00
|
|
|
I := inventory
|
|
|
|
L := "$(shell hostname -s)"
|
|
|
|
C := -c local
|
|
|
|
K := -K
|
|
|
|
P := site.yml
|
2023-04-11 20:19:58 +00:00
|
|
|
V := -vvv
|
2023-04-11 02:55:24 +00:00
|
|
|
|
|
|
|
all: deploy
|
|
|
|
|
|
|
|
check:
|
2023-04-11 20:19:58 +00:00
|
|
|
ansible-playbook -i $I -l $L $C $K --syntax-check $V $P
|
2023-04-11 02:55:24 +00:00
|
|
|
|
|
|
|
deploy:
|
2023-04-11 20:19:58 +00:00
|
|
|
ansible-playbook -i $I -l $L $C $K $V $P
|
2023-04-11 02:55:24 +00:00
|
|
|
|
|
|
|
.PHONY: all check deploy
|