fixing variable usage and deploying to headless machine

This commit is contained in:
2023-04-11 20:19:58 +00:00
parent ce4d2b94a2
commit dacef969e9
6 changed files with 73 additions and 15 deletions

View File

@@ -3,13 +3,14 @@ L := "$(shell hostname -s)"
C := -c local
K := -K
P := site.yml
V := -vvv
all: deploy
check:
ansible-playbook -i $I -l $L $C $K --syntax-check $P
ansible-playbook -i $I -l $L $C $K --syntax-check $V $P
deploy:
ansible-playbook -i $I -l $L $C $K $P
ansible-playbook -i $I -l $L $C $K $V $P
.PHONY: all check deploy