added apt deployment method

This commit is contained in:
Andreas Neue 2023-02-23 10:12:17 +01:00
parent bd53b128f1
commit 325299eabc
1 changed files with 9 additions and 0 deletions

9
apt.mk Normal file
View File

@ -0,0 +1,9 @@
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"; \
)