make-deploy/apt.mk

13 lines
265 B
Makefile

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