0.0.5 • Published 6 years ago

stuart v0.0.5

Weekly downloads
25
License
MIT
Repository
github
Last release
6 years ago

stuart

nodejs 开发的ansible 快速部署工具。

guide

npm i start or npm i stuart -g

stuart --help

stuart run deploy/demo.js ping

config

  • playbook

    • vars extra-vars
    • node ansible-playbook host group
    • hosts hosts string or file path
    • tasks ansible-playbook available tags
    • debug show debug info
    • file playbook yaml file
    • user ssh users
    • port ssh port
  • scripts array command run before deploy. For example "scripts": ["npm run build"]

  • git if set true, it will checkout to current git tag
  • slack
    • project project name
    • webhook slack hook uri
    • channel slack channel
    • username username

demo