make-deploy/apt.mk

13 lines
280 B
Makefile
Raw Normal View History

2024-07-08 07:31:28 +00:00
MANDATORY = $(shell printenv MANDATORY) APT_PACKAGES
2023-03-02 07:50:53 +00:00
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
)