added apt deployment method
This commit is contained in:
parent
bd53b128f1
commit
325299eabc
1 changed files with 9 additions and 0 deletions
9
apt.mk
Normal file
9
apt.mk
Normal 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"; \
|
||||||
|
)
|
Loading…
Add table
Add a link
Reference in a new issue