add notes about what should happen in the db migration bits

This commit is contained in:
Seth Vidal 2013-05-17 16:21:23 +00:00
parent 5372f26f07
commit a395c4fd0c

View file

@ -215,9 +215,12 @@
owner=root group=root mode=0600
# FIXME - should these commands either be set conditional to a check
# FIXME - or should they at least pass a creates= to avoid running everytime?
# Sync databases
# FIXME the db migrations should happen no matter when the pkgs are updated
# so really this should be run once
# and then stored in a yun-post-transaction-action on the system(s)
# so no matter when it is run the right thing happens
- name: run django syncdb
command: /usr/bin/django-admin syncdb --pythonpath=/etc/$item/sites/default --settings=settings
with_items: