code
code copied to clipboard
Add playbooks
目前使用方法:
- vagrant up
- vagrant ssh
- cd /vagrant
- sh playbooks/bootstrap.sh
- ansible-playbooks -i playbooks/nodes -s playbooks/site.yaml
需要重新做一个 box
service ensure 还没有
:v:
@xtao 看起来是一个自更新的脚本. vagrant provision
还是不支持的?
@xtao 是不是可以加上一个定时提示更新的方式. 类似 https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/check_for_upgrade.sh#L47
oh-my-zsh 每2个礼拜就会在第一次登陆的时候提示一次是否更新
@dongweiming 升级是升级什么呢?我想就是包的升级,代码的升级不能这么干,这涉及到数据的更新。
vagrant provision
我还没加
还有很多东西没弄,我再改改
@xtao 还差什么 那这个先合了?
Still not working. 主要是跟现有的 box image 不兼容,还需要再改改
这个 PR 先暂停更新,稍后我再处理 ansible 的问题。