make-deploy/apt.mk

12 lines
216 B
Makefile
Raw 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)"; \
ssh $(SSH_USER)@$(host) "apt install -y $APT_PACKAGES; sh start.sh"; \
)