2024-06-05 07:29:49 +00:00
|
|
|
MANDATORY-apt = DEPLOY_HOSTS SSH_USER APT_PACKAGES DEPLOY_NAME
|
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"; \
|
2023-05-08 09:47:06 +00:00
|
|
|
sleep $(DEPLOY_START_DELAY); \
|
2023-02-23 09:12:17 +00:00
|
|
|
)
|