code icon indicating copy to clipboard operation
code copied to clipboard

Add playbooks

Open xtao opened this issue 9 years ago • 10 comments

目前使用方法:

  1. vagrant up
  2. vagrant ssh
  3. cd /vagrant
  4. sh playbooks/bootstrap.sh
  5. ansible-playbooks -i playbooks/nodes -s playbooks/site.yaml

xtao avatar Dec 12 '15 15:12 xtao

需要重新做一个 box

xtao avatar Dec 12 '15 15:12 xtao

service ensure 还没有

xtao avatar Dec 12 '15 15:12 xtao

:v:

dongweiming avatar Dec 12 '15 16:12 dongweiming

@xtao 看起来是一个自更新的脚本. vagrant provision还是不支持的?

dongweiming avatar Dec 12 '15 16:12 dongweiming

@xtao 是不是可以加上一个定时提示更新的方式. 类似 https://github.com/robbyrussell/oh-my-zsh/blob/master/tools/check_for_upgrade.sh#L47

oh-my-zsh 每2个礼拜就会在第一次登陆的时候提示一次是否更新

dongweiming avatar Dec 13 '15 01:12 dongweiming

@dongweiming 升级是升级什么呢?我想就是包的升级,代码的升级不能这么干,这涉及到数据的更新。

vagrant provision 我还没加

xtao avatar Dec 13 '15 13:12 xtao

还有很多东西没弄,我再改改

xtao avatar Dec 13 '15 13:12 xtao

@xtao 还差什么 那这个先合了?

dongweiming avatar Jan 07 '16 14:01 dongweiming

Still not working. 主要是跟现有的 box image 不兼容,还需要再改改

xtao avatar Jan 08 '16 02:01 xtao

这个 PR 先暂停更新,稍后我再处理 ansible 的问题。

xtao avatar Jan 24 '16 14:01 xtao