make-deploy/apt.mk

13 lines
256 B
Makefile
Raw Permalink Normal View History

2023-03-02 07:50:53 +00:00
MANDATORY-apt = APT_PACKAGES
2023-02-23 09:12:17 +00:00
pull-apt:
# nop
start-apt:
@- echo "\n### start"
@- $(foreach host,$(DEPLOY_HOSTS), \
echo "$(host)"; \
2023-05-19 07:28:14 +00:00
ssh $(SSH_USER)@$(host) "sudo apt install -y $(APT_PACKAGES); sh start.sh"; \
sleep $(DEPLOY_START_DELAY); \
2023-02-23 09:12:17 +00:00
)