make-deploy/apt.mk

13 lines
249 B
Makefile

MANDATORY-apt = APT_PACKAGES
pull-apt:
# nop
start-apt:
@- echo "\n### start"
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
ssh $(SSH_USER)@$(host) "apt install -y $APT_PACKAGES; sh start.sh"; \
sleep $(DEPLOY_START_DELAY); \
)