fle-internal/ansible-playbooks — pull request #17 by bcipolli (2014-04-01 05:18:38+00:00)
Title: Code to deploy the new ka-lite-central repo

* First: I have no idea what I'm doing.
* Second: I can't test a deployment of current `ka-lite-central` code, because the file and code structure is vastly different from the current central server code structure.
* But: this is necessary.

Here's what I did:
* Changed all `ka_lite` and `kalite` variable names to `ka_lite_central`, to avoid any confusion / future conflict with `ka-lite` ansible scripts.
* Changed all paths to reflect current directory structure.
* Migrated to `setup` management command, which does all necessary operations (`syncdb`, `collectstatic`, etc.)
* Call `grunt` only after `collectstatic` is called.

@jamalex I haven't tested this on `globe`, but wanted to check with you first--seems like it's possible to really foul up the install, and I'm not sure if it matters on `globe` or not. Let me know--I'd like to get this on `globe` so that I can get the Deployments CMS rolling ASAP.