From 325299eabc1e237ea4ebb2f4c0736777ea691daf Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Thu, 23 Feb 2023 10:12:17 +0100 Subject: [PATCH] added apt deployment method --- apt.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 apt.mk diff --git a/apt.mk b/apt.mk new file mode 100644 index 0000000..02228f6 --- /dev/null +++ b/apt.mk @@ -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"; \ + )