13 lines
290 B
Makefile
13 lines
290 B
Makefile
MANDATORY-apt = DEPLOY_HOSTS SSH_USER APT_PACKAGES DEPLOY_NAME
|
|
|
|
pull-apt:
|
|
# nop
|
|
|
|
start-apt:
|
|
@- echo "\n### start"
|
|
@- $(foreach host,$(DEPLOY_HOSTS), \
|
|
echo "$(host)"; \
|
|
ssh $(SSH_USER)@$(host) "sudo apt install -y $(APT_PACKAGES); sh start.sh"; \
|
|
sleep $(DEPLOY_START_DELAY); \
|
|
)
|