make-deploy/apt.mk

13 lines
280 B
Makefile

MANDATORY = $(shell printenv MANDATORY) APT_PACKAGES
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); \
)