more stuff to install
This commit is contained in:
14
Makefile
14
Makefile
@@ -4,14 +4,24 @@ C := -c local # connection
|
||||
K := -K # prompt for sudo password
|
||||
O := # additional options
|
||||
P := site.yml # playbook
|
||||
T := # if y, time the process
|
||||
V := -vvv # verbosity
|
||||
|
||||
|
||||
ifeq ($T,y)
|
||||
TIME = /usr/bin/time -v
|
||||
else
|
||||
TIME =
|
||||
endif
|
||||
|
||||
all: deploy
|
||||
|
||||
print-%: ; @echo '$(subst ','\'',$*=$($*))'
|
||||
|
||||
check:
|
||||
ansible-playbook -i $I -l $L $C $K --syntax-check $V $O $P
|
||||
$(TIME) ansible-playbook -i $I -l $L $C $K --syntax-check $V $O $P
|
||||
|
||||
deploy:
|
||||
ansible-playbook -i $I -l $L $C $K $V $O $P
|
||||
$(TIME) ansible-playbook -i $I -l $L $C $K $V $O $P
|
||||
|
||||
.PHONY: all check deploy
|
||||
|
||||
Reference in New Issue
Block a user