sup
デプロイツール
インストール
$ go get -u github.com/pressly/sup/cmd/sup
実行
$ sup production uname
Supfile
version: 0.5
networks:
production:
hosts:
- 10.0.12.21
- 10.0.12.22
- 10.0.12.23
user: root
identityFile: /path/to/private.key
staging:
# fetch dynamic list of hosts
# inventory: curl http://example.com/latest/meta-data/hostname
commands:
uname:
desc: uname -n
run: uname -n
- version 付けたほうが良い
Tips
- -sshconfig ~/.ssh/config は上手く動かない